18 references to DependsOnAttribute
PresentationFramework (9)
System\Windows\ControlTemplate.cs (2)
100
[
DependsOn
("VisualTree")]
101
[
DependsOn
("Template")]
System\Windows\DataTemplate.cs (2)
86
[
DependsOn
("VisualTree")]
87
[
DependsOn
("Template")]
System\Windows\DataTrigger.cs (1)
54
[
DependsOn
("Binding")]
System\Windows\Setter.cs (2)
150
[System.Windows.Markup.
DependsOn
("Property")]
151
[System.Windows.Markup.
DependsOn
("TargetName")]
System\Windows\Trigger.cs (2)
49
[
DependsOn
("Property")]
50
[
DependsOn
("SourceName")]
System.Xaml.Tests (9)
System\Windows\Markup\DependsOnAttributeTests.cs (2)
16
var attribute = new
DependsOnAttribute
(name);
23
var attribute = new
DependsOnAttribute
("name");
System\Xaml\XamlMemberTests.cs (7)
582
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
DependsOnAttribute
(nameof(DataClass.Property))!, new
DependsOnAttribute
(""), new
DependsOnAttribute
(nameof(DataClass.Event)) }
604
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
DependsOnAttribute
(nameof(DataClass.Property))!, new
DependsOnAttribute
(""), new
DependsOnAttribute
(nameof(DataClass.Event)) }
684
GetCustomAttributesAction = (attributeType, inherit) => new object[] { new
DependsOnAttribute
(null!) }