Version

UIElement Class

Abstraction of a rectangular UI element within the scene graph.
Syntax
'Declaration
 
Public MustInherit Class UIElement 
public abstract class UIElement 
Remarks

UI elements are abstractions of the control surfaces comprising a web element.

Each such control surfaces may have a certain style of appearance, it may offer a certain degree of user interactivity through receiving focus and/or handling client-side events, and it may expose other appearance-impacting properties.

They may be related to a Target object that is meaningful in the context of more specialized UIElement subclasses.

Every UI element also has the specialized knowledge of how to render itself, frequently driven by the settings of its properties and the Target its been associated with. This target is meaningful within the context of more specialized UIElement subclasses. These subclasses may further override the Render method to customize the appearance or build off of a template established by its base classes.

UI elements are maintained in a hierarchical tree structure starting with the most expansive rectangular region at the root of this tree, and subsequent UI elements in progressively deeper child collections that cover decreasingly-sized regions. When rendered this tree (the scene graph) gets flattened such that deeper children within this tree take precedence over and cover regions of their parents.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also