14 references to ContentWrapperAttribute
PresentationFramework (2)
System\Windows\Documents\InlineCollection.cs (2)
20
[
ContentWrapper
(typeof(Run))]
21
[
ContentWrapper
(typeof(InlineUIContainer))]
System.Xaml.Tests (12)
System\Windows\Markup\ContentWrapperAttributeTests.cs (12)
17
var attribute = new
ContentWrapperAttribute
(contentWrapper!);
23
var attribute = new
ContentWrapperAttribute
(typeof(int));
25
yield return new object?[] { attribute, new
ContentWrapperAttribute
(typeof(int)), true };
26
yield return new object?[] { attribute, new
ContentWrapperAttribute
(typeof(string)), false };
27
yield return new object?[] { attribute, new
ContentWrapperAttribute
(null!), false };
28
yield return new object?[] { new
ContentWrapperAttribute
(null!), new
ContentWrapperAttribute
(null!), true };
29
yield return new object?[] { new
ContentWrapperAttribute
(null!), new
ContentWrapperAttribute
(typeof(int)), false };
45
var attribute = new
ContentWrapperAttribute
(typeof(int));
52
var attribute = new
ContentWrapperAttribute
(null!);
59
var attribute = new
ContentWrapperAttribute
(typeof(int));