DependencyObjectExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides attached dependency properties for the Windows.UI.Xaml.DependencyObject type.
public static class DependencyObjectExtensions
type DependencyObjectExtensions = class
Public Module DependencyObjectExtensions
- Inheritance
-
DependencyObjectExtensions
Methods
FindAscendant(DependencyObject, String, StringComparison) |
Find the first ascendant of type Windows.UI.Xaml.FrameworkElement with a given name. |
FindAscendant(DependencyObject, Type) |
Find the first ascendant element of a given type. |
FindAscendant<T,TState>(DependencyObject, TState, Func<T,TState,Boolean>) |
Find the first ascendant element matching a given predicate. |
FindAscendant<T>(DependencyObject, Func<T,Boolean>) |
Find the first ascendant element matching a given predicate. |
FindAscendant<T>(DependencyObject) |
Find the first ascendant element of a given type. |
FindAscendantOrSelf(DependencyObject, String, StringComparison) |
Find the first ascendant (or self) of type Windows.UI.Xaml.FrameworkElement with a given name. |
FindAscendantOrSelf(DependencyObject, Type) |
Find the first ascendant (or self) element of a given type. |
FindAscendantOrSelf<T,TState>(DependencyObject, TState, Func<T,TState,Boolean>) |
Find the first ascendant (or self) element matching a given predicate. |
FindAscendantOrSelf<T>(DependencyObject, Func<T,Boolean>) |
Find the first ascendant (or self) element matching a given predicate. |
FindAscendantOrSelf<T>(DependencyObject) |
Find the first ascendant (or self) element of a given type. |
FindAscendants(DependencyObject) |
Find all ascendant elements of the specified element. This method can be chained with LINQ calls to add additional filters or projections on top of the returned results. This method is meant to provide extra flexibility in specific scenarios and it should not be used when only the first item is being looked for. In those cases, use one of the available FindAscendant<T>(DependencyObject) overloads instead, which will offer a more compact syntax as well as better performance in those cases. |
FindDescendant(DependencyObject, String, StringComparison) |
Find the first descendant of type Windows.UI.Xaml.FrameworkElement with a given name, using a depth-first search. |
FindDescendant(DependencyObject, Type) |
Find the first descendant element of a given type, using a depth-first search. |
FindDescendant<T,TState>(DependencyObject, TState, Func<T,TState,Boolean>) |
Find the first descendant element matching a given predicate, using a depth-first search. |
FindDescendant<T>(DependencyObject, Func<T,Boolean>) |
Find the first descendant element matching a given predicate, using a depth-first search. |
FindDescendant<T>(DependencyObject) |
Find the first descendant element of a given type, using a depth-first search. |
FindDescendantOrSelf(DependencyObject, String, StringComparison) |
Find the first descendant (or self) of type Windows.UI.Xaml.FrameworkElement with a given name, using a depth-first search. |
FindDescendantOrSelf(DependencyObject, Type) |
Find the first descendant (or self) element of a given type, using a depth-first search. |
FindDescendantOrSelf<T,TState>(DependencyObject, TState, Func<T,TState,Boolean>) |
Find the first descendant (or self) element matching a given predicate, using a depth-first search. |
FindDescendantOrSelf<T>(DependencyObject, Func<T,Boolean>) |
Find the first descendant (or self) element matching a given predicate, using a depth-first search. |
FindDescendantOrSelf<T>(DependencyObject) |
Find the first descendant (or self) element of a given type, using a depth-first search. |
FindDescendants(DependencyObject) |
Find all descendant elements of the specified element. This method can be chained with LINQ calls to add additional filters or projections on top of the returned results. This method is meant to provide extra flexibility in specific scenarios and it should not be used when only the first item is being looked for. In those cases, use one of the available FindDescendant<T>(DependencyObject) overloads instead, which will offer a more compact syntax as well as better performance in those cases. |