Table of Contents

Class FrameworkElement

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides a framework-level set of properties, events, and methods for AlterNET UI elements. This class represents the provided framework-level implementation that is built on the core-level APIs that are defined by UIElement.

public class FrameworkElement : UIElement, IBaseObject, IDisposableObject, IDisposable
Inheritance
FrameworkElement
Implements
Derived

Properties

DataContext

DataContext Property

Name

Gets or sets the identifying name of the control. The name provides a reference so that code-behind, such as event handler code, can refer to a markup control 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.