![]() LeftBorder | |
![]() LowerBorder | |
![]() LowerLeftBorder | |
![]() LowerRightBorder | |
![]() RightBorder | |
![]() TextLayer | |
![]() TopBorder | |
![]() TopLeftBorder | |
![]() TopRightBorder |
EditBox Constructor
|
Creates a new edit box control |
CanHaveFocus | Can the edit box have focus |
ControlType (inherited from Control) | Type of the control |
Hotkey (inherited from Control) | The controls hotkey |
ID (inherited from Control) | Unique ID of the control |
IsEnabled (inherited from Control) | Is the control enabled |
IsVisible (inherited from Control) | Is the control visible |
Item (inherited from Control) | Index for the elements this control has access to |
Parent (inherited from Control) | The parent dialog of this control |
Text | Get or sets the text |
UserData (inherited from Control) | User specified data |
Clear | Clears the edit box |
ContainsPoint (inherited from Control) | Does the control contain this point |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetCopyText | Gets a copy of the text |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
HandleKeyboard | Handle keyboard input to the edit box |
HandleMouse | Handle mouse messages |
MsgProc | Handle all other messages |
OnFocusIn | Update the caret when focus is in |
OnFocusOut (inherited from Control) | Called when control loses focus |
OnHotKey (inherited from Control) | Called when the control's hotkey is hit |
OnInitialize (inherited from Control) | Initialize the control |
OnMouseEnter (inherited from Control) | Called when mouse goes over the control |
OnMouseExit (inherited from Control) | Called when mouse leaves the control |
Refresh (inherited from Control) | Refreshes the control |
Render | Render the control |
SetBorderWidth | Update the border |
SetCaretColor | Update the caret color |
SetLocation (inherited from Control) | Called to set control's location |
SetSelectedBackColor | Update the selected background color |
SetSelectedTextColor | Update the text selected color |
SetSize (inherited from Control) | Called to set control's size |
SetSpacing | Update the spacing |
SetText | Sets the text for the control |
SetTextColor | Update the text color |
ToString (inherited from Object) | Returns a String that represents the current Object. |
blinkTime | |
border | |
boundingBox (inherited from Control) | |
caretColor | |
caretPosition | |
controlId (inherited from Control) | |
controlType (inherited from Control) | |
controlX (inherited from Control) | |
controlY (inherited from Control) | |
elementList (inherited from Control) | |
elementRects | |
enabled (inherited from Control) | |
firstVisible | |
hasFocus (inherited from Control) | |
height (inherited from Control) | |
hotKey (inherited from Control) | |
isCaretOn | |
isInsertMode | |
isMouseDragging | |
isMouseOver (inherited from Control) | |
lastBlink | |
localUserData (inherited from Control) | |
parentDialog (inherited from Control) | |
selectedBackColor | |
selectedTextColor | |
spacing | |
textColor | |
textData | |
textRect | |
visible (inherited from Control) | |
width (inherited from Control) |
CopyToClipboard | Copy the selected text to the clipboard |
DeleteSelectionText | Deletes the text that is currently selected |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
PasteFromClipboard | Paste the clipboard data to the control |
PlaceCaret | Set the caret to a character position, and adjust the scrolling if necessary |
RaiseChangedEvent | Raises the changed event |
RaiseEnterEvent | Raises the Enter event |
ResetCaretBlink | Reset's the caret blink time |
UpdateRectangles | Updates the rectangles used by the control |
EditBox Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace