Class FrameworkElement
Base class for components that can be loaded from uixml.
public class FrameworkElement : DisposableObject, IBaseObjectWithId, IDisposableObject, IBaseObject, IComponent, IDisposable
- Inheritance
-
FrameworkElement
- Implements
- Derived
Properties
- ContentElements
Returns a collection of content elements which is used by the UIXML loader to find content items by index.
- DataContext
Gets or sets data context to use in the element. Only some elements use this property.
- DataContextProperty
Gets or sets property of the DataContext to use in the element. Only some elements use this property.
- LogicalChildrenCollection
Returns a collection of elements which can be treated as "logical children" of this element.
- Name
Gets or sets the identifying name of the object. The name provides a reference so that code-behind, such as event handler code, can refer to a markup object after it is constructed during processing by a UIXML processor.
Methods
- FindElement(string)
Recursively searches all LogicalChildrenCollection for a control with the specified name, and throws an exception if the requested control is not found.
- TryFindElement(string)
Recursively searches all LogicalChildrenCollection for a control with the specified name, and returns that control if found.