UIControl Methods |
The UIControl type exposes the following members.
Name | Description | |
---|---|---|
Arrange |
Positions child elements and determines a size for a control.
| |
BringIntoView |
Attempts to bring this element into view, within any scrollable regions it is contained
within.
| |
CreateEventT |
Creates a game object event for a UIControl. (This method replaces
CreateEventT(String, String, String, T) of the GameObject class.)
| |
CreatePropertyT |
Creates a game object property for a UIControl. (This method replaces
CreatePropertyT(String, String, String, T) of the GameObject class.)
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Focus |
Moves the input focus to this control.
| |
GetControl |
Gets a control by name from the visual subtree of this control.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPropertyOptions |
Gets the UIPropertyOptions of game object property.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValueT(Int32) |
Gets the value of the property with the given ID.
(Inherited from GameObject.) | |
GetValueT(String) |
Gets the value of the property with the given name.
(Inherited from GameObject.) | |
GetValueT(GamePropertyMetadataT) |
Gets the value of the property with the given metadata.
(Inherited from GameObject.) | |
HitTest |
Tests if a position is over a control.
| |
InvalidateArrange |
Invalidates the arrange state (layout) for the control.
| |
InvalidateMeasure |
Invalidates the measurement state (layout) for the control.
| |
InvalidateVisual |
Invalidates the cached RenderData.
| |
Load |
Loads the content of the game object.
(Inherited from GameObject.) | |
Measure |
Updates the DesiredWidth and DesiredHeight of the control.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NewFrame |
Tells the game object to prepare itself for the next time step.
(Inherited from GameObject.) | |
OnArrange |
Called by Arrange(Vector2F, Vector2F) to arrange the visual children.
| |
OnHandleInput |
Called when the control should handle device input.
| |
OnLoad |
Called when the game object should load its content.
(Overrides GameObjectOnLoad.) | |
OnMeasure |
Called by Measure(Vector2F) to compute the control-specific desired size.
| |
OnPropertyChanged(PropertyChangedEventArgs) |
Raises the PropertyChanged event.
(Inherited from GameObject.) | |
OnPropertyChangedT(GamePropertyT, T, T) |
Is called after a game object property was changed.
(Inherited from GameObject.) | |
OnPropertyChangedT(GamePropertyT, T, T) |
Is called after a game object property was changed.
(Overrides GameObjectOnPropertyChangedT(GamePropertyT, T, T).) | |
OnRender |
Called when the control and its visual children should be rendered.
| |
OnTemplateChanged |
Raises the TemplateChanged event.
(Inherited from GameObject.) | |
OnUnload |
Called when the game object should unload its content.
(Overrides GameObjectOnUnload.) | |
OnUpdate |
Called when the game object should be updated.
(Overrides GameObjectOnUpdate(TimeSpan).) | |
OverrideDefaultValueT |
Overrides the default value of a game object property for a specific class.
| |
Render |
Renders the control (including visual children).
| |
SetPropertyOptions |
Sets the UIPropertyOptions of a game object property.
| |
SetValueT(Int32, T) |
Sets the value of the property with the given ID.
(Inherited from GameObject.) | |
SetValueT(String, T) |
Sets the value of the property with the given name.
(Inherited from GameObject.) | |
SetValueT(GamePropertyMetadataT, T) |
Set the value of the property for the given metadata.
(Inherited from GameObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unload |
Unloads the content of the game object.
(Inherited from GameObject.) | |
Update |
Updates this game object.
(Inherited from GameObject.) | |
UpdateLayout |
Ensures that all visual child controls of this element are properly updated for layout.
|
Name | Description | |
---|---|---|
GetAncestors |
Gets the ancestors of the control in the visual tree.
(Defined by UIHelper.) | |
GetDescendants | Overloaded.
Gets the descendants of the control in the visual tree using a depth-first search.
(Defined by UIHelper.) | |
GetDescendants(Boolean) | Overloaded.
Gets the descendants of the control in the visual tree using either a depth-first or a
breadth-first search.
(Defined by UIHelper.) | |
GetLeaves |
Gets the leaves of the control in the visual tree.
(Defined by UIHelper.) | |
GetRoot |
Returns the root control of the visual tree.
(Defined by UIHelper.) | |
GetSelfAndAncestors |
Gets the control and its ancestors in the visual tree.
(Defined by UIHelper.) | |
GetSubtree | Overloaded.
Gets the subtree (the given control and all of its descendants in the visual tree) using a
depth-first search.
(Defined by UIHelper.) | |
GetSubtree(Boolean) | Overloaded.
Gets the subtree (the given control and all of its descendants in the visual tree) using
either a depth-first or a breadth-first search.
(Defined by UIHelper.) |
Name | Description | |
---|---|---|
IAnimatableObjectGetAnimatablePropertyT |
Gets the property with given name and type which can be animated.
(Inherited from GameObject.) | |
IAnimatableObjectGetAnimatedProperties |
Gets either the properties which are currently animated, or all properties which can be
animated. (See remarks.)
(Inherited from GameObject.) |