14 references to ContentWrapperAttribute
PresentationFramework (2)
System\Windows\Documents\InlineCollection.cs (2)
19
[
ContentWrapper
(typeof(Run))]
20
[
ContentWrapper
(typeof(InlineUIContainer))]
System.Xaml.Tests (12)
System\Windows\Markup\ContentWrapperAttributeTests.cs (12)
16
var attribute = new
ContentWrapperAttribute
(contentWrapper!);
22
var attribute = new
ContentWrapperAttribute
(typeof(int));
24
yield return new object?[] { attribute, new
ContentWrapperAttribute
(typeof(int)), true };
25
yield return new object?[] { attribute, new
ContentWrapperAttribute
(typeof(string)), false };
26
yield return new object?[] { attribute, new
ContentWrapperAttribute
(null!), false };
27
yield return new object?[] { new
ContentWrapperAttribute
(null!), new
ContentWrapperAttribute
(null!), true };
28
yield return new object?[] { new
ContentWrapperAttribute
(null!), new
ContentWrapperAttribute
(typeof(int)), false };
44
var attribute = new
ContentWrapperAttribute
(typeof(int));
51
var attribute = new
ContentWrapperAttribute
(null!);
58
var attribute = new
ContentWrapperAttribute
(typeof(int));