|
void | SetColors (Color defaultColor, float hoverScale=1.5f, float pressedScale=1.25f, float disabledScale=0.75f) |
|
| Control () |
|
TControl | CreateChildControl< TControl > () |
| Creates a new Entity as a child of this one with an instance of the given Control type attached to it, which is returned. More...
|
|
Control | CreateChildControl (Type type) |
| Creates a new Entity as a child of this one with an instance of the given Control type attached to it, which is returned. More...
|
|
Control | CreateChildControl (ResourceName resName) |
| Creates a new Entity as a child of this one with a Control attached to it, as defined by the control layout resource specified by the given resource name. More...
|
|
Bounds | GetChildBounds () |
|
delegate void | PointerEventHandler (Control sender, PointerEventArgs e) |
|
void | SetTextSubstitution (string key, string value) |
|
string | GetTextSubstitution (string key) |
|
new ControlTransform | Transform => (ControlTransform) base.Transform |
| The transformation of the entity this instance is attached to. More...
|
|
override bool | IncludeSelfInBounds => true |
|
virtual bool | IncludeSelfInBounds => false |
|
bool | CanClick [get, set] |
| If set to true, the button responds to pointers hovering over or pressing it. More...
|
|
Color | DefaultColor [get, set] |
| Default color of the button when no pointers are hovering over it. More...
|
|
Color | PressedColor [get, set] |
| Color of the button when a wand pointer is hovering over it with the trigger pressed. More...
|
|
Color | HoverColor [get, set] |
| Color of the button when a wand pointer is hovering over it. More...
|
|
Color | DisabledColor [get, set] |
| Color of the button when CanClick is false. More...
|
|
string | ToolTipTitle [get, set] |
|
string | ToolTipDescription [get, set] |
|
bool | IsPointerOver [get] |
| If true, at least one wand is pointing at this button. More...
|
|
bool | IsPointerPressed [get] |
| If true, at least one wand is pointing at this button with the trigger pressed. More...
|
|
Color | Color [get, set] |
| Color of the Panel. More...
|
|
ImageType | Type [get, set] |
|
bool | PreserveAspect [get, set] |
|
Graphics.Texture | Texture [get, set] |
|
Graphics.Sprite | Sprite [get, set] |
|
MenuPanel | MenuPanel [get, set] |
|
PointerEventHandler | PointerEntered |
|
PointerEventHandler | PointerLeft |
|
PointerEventHandler | PointerClicked |
|
PointerEventHandler | PointerPressed |
|
PointerEventHandler | PointerReleased |
|
PointerEventHandler | PointerBeginDragging |
|
PointerEventHandler | PointerEndDragging |
|
PointerEventHandler | PointerDragging |
|
PointerEventHandler | PointerScrolling |
|
PointerEventHandler | Clicked |
|