| UIControl Properties |
The UIControl type exposes the following members.
| Name | Description | |
|---|---|---|
| ActualBounds |
Gets the actual bounding rectangle of the control (defined by ActualX,
ActualY, ActualWidth and ActualHeight).
| |
| ActualHeight |
Gets the actual height of the control (computed in
Arrange(Vector2F, Vector2F)).
| |
| ActualIsEnabled |
Gets a value indicating whether this control is actually enabled, taking into account the
IsEnabled flag and the state of the VisualParent.
| |
| ActualIsVisible |
Gets a value indicating whether this control is actually visible, taking into account the
IsVisible flag and the state of the VisualParent.
| |
| ActualWidth |
Gets the actual width of the control (computed in
Arrange(Vector2F, Vector2F)).
| |
| ActualX |
Gets the actual X position of the top left corner of the control's bounds in screen
coordinates (computed in Arrange(Vector2F, Vector2F)).
| |
| ActualY |
Gets the actual Y position of the top left corner of the control's bounds in screen
coordinates (computed in Arrange(Vector2F, Vector2F)).
| |
| AllowedPlayer |
Gets or sets the LogicalPlayerIndex from which input is accepted.
| |
| AutoUnfocus |
Gets or sets a value indicating whether this control clears the focus when the mouse clicks
another control than the currently focused control. This is a game object property.
| |
| Background |
Gets or sets the background color.
This is a game object property.
| |
| ContextMenu |
Gets or sets the context menu that should pop up when the control is right-clicked
(tap-and-hold on Windows Phone 7).
| |
| Cursor |
Gets or sets the mouse cursor that should be displayed when the mouse is over this control.
| |
| DesiredHeight |
Gets the desired height (including Margin) (which is computed in
Measure(Vector2F)).
| |
| DesiredWidth |
Gets the desired width (including Margin) (which is computed in
Measure(Vector2F)).
| |
| Events |
Gets the game object events.
(Inherited from GameObject.) | |
| Focusable |
Gets or sets a value indicating whether this UIControl can receive the input
focus. This is a game object property.
| |
| FocusWhenMouseOver |
Gets or sets a value indicating whether the control automatically receives focus when the
mouse is over the control (without being clicked). This is a game object property.
| |
| Font |
Gets or sets the font that is used if the control renders text.
This is a game object property.
| |
| Foreground |
Gets or sets the foreground color.
This is a game object property.
| |
| HasRenderTransform |
Gets a value indicating whether this control has a render transform that is not the
identity transformation.
| |
| Height |
Gets or sets the user-defined height.
This is a game object property.
| |
| HorizontalAlignment |
Gets or sets the horizontal alignment of this control.
This is a game object property.
| |
| InputService |
Gets the IInputService.
| |
| IsArrangeValid |
Gets a value indicating whether the Arrange(Vector2F, Vector2F) results are
up-to-date.
| |
| IsEnabled |
Gets or sets a value indicating whether this control is enabled.
This is a game object property.
| |
| IsFocused |
Gets a value indicating whether this control has the input focus.
This is a game object property.
| |
| IsFocusScope |
Gets or sets a value indicating whether this control is a focus scope.
This is a game object property.
| |
| IsFocusWithin |
Gets (or sets) a value indicating whether the focus is on this control or on any of
the visual children.
| |
| IsLoaded |
Gets a value indicating whether the content of this object was loaded.
(Inherited from GameObject.) | |
| IsMeasureValid |
Gets a value indicating whether the Measure(Vector2F) results
(DesiredWidth and DesiredHeight) are up-to-date.
| |
| IsMouseDirectlyOver |
Gets a value indicating whether the mouse is over this control and not over a visual child
control.
| |
| IsMouseOver |
Gets or sets a value indicating whether the mouse is over this control or over a visual
child. This is a game object property.
| |
| IsVisible |
Gets or sets a value indicating whether this control is visible.
This is a game object property.
| |
| IsVisualValid |
Gets a value indicating whether the cached RenderData is up-to-date.
| |
| Margin |
Gets or sets the margin.
This is a game object property.
| |
| MaxHeight |
Gets or sets the maximal height of the control.
This is a game object property.
| |
| MaxWidth |
Gets or sets the maximal width of the control.
This is a game object property.
| |
| MinHeight |
Gets or sets the minimal height of the control.
This is a game object property.
| |
| MinWidth |
Gets or sets the minimal width of the control.
This is a game object property.
| |
| Name |
Gets or sets the name.
(Inherited from GameObject.) | |
| Opacity |
Gets or sets the opacity.
This is a game object property.
| |
| Padding |
Gets or sets the padding.
This is a game object property.
| |
| Properties |
Gets the game object properties.
(Inherited from GameObject.) | |
| RenderData |
Gets or sets the cached renderer data.
| |
| RendererInfo | Obsolete.
Gets or sets the cached renderer data.
| |
| RenderRotation |
Gets or sets the rotation of the RenderTransform.
This is a game object property.
| |
| RenderScale |
Gets or sets the scale of the RenderTransform.
This is a game object property.
| |
| RenderTransform |
Gets the render transformation.
| |
| RenderTransformOrigin |
Gets or sets the relative origin of the RenderTransform.
This is a game object property.
| |
| RenderTranslation |
Gets or sets the translation of the RenderTransform.
This is a game object property.
| |
| Screen |
Gets the UIScreen.
| |
| Style |
Gets or sets the style.
| |
| Tag | Obsolete.
Gets or sets a user-defined tag.
| |
| Template |
Gets or sets the template.
(Inherited from GameObject.) | |
| ToolTip |
Gets or sets the tool tip.
This is a game object property.
| |
| UIService |
Gets the IUIService.
| |
| UserData |
Gets or sets user-defined data.
| |
| VerticalAlignment |
Gets or sets the vertical alignment of this control.
This is a game object property.
| |
| VisualChildren |
Gets the visual children.
| |
| VisualParent |
Gets the visual parent.
| |
| VisualState |
Gets the visual state of the control as string.
| |
| Width |
Gets or sets the user-defined width.
This is a game object property.
| |
| X | ||
| Y |