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)
16var attribute = new DependsOnAttribute(name); 23var attribute = new DependsOnAttribute("name");
System\Xaml\XamlMemberTests.cs (7)
582GetCustomAttributesAction = (attributeType, inherit) => new object[] { new DependsOnAttribute(nameof(DataClass.Property))!, new DependsOnAttribute(""), new DependsOnAttribute(nameof(DataClass.Event)) } 604GetCustomAttributesAction = (attributeType, inherit) => new object[] { new DependsOnAttribute(nameof(DataClass.Property))!, new DependsOnAttribute(""), new DependsOnAttribute(nameof(DataClass.Event)) } 684GetCustomAttributesAction = (attributeType, inherit) => new object[] { new DependsOnAttribute(null!) }