Goblin - A Platform for 3D AR and VR Applications

EditBox Members

EditBox overview

Public Static Fields

LeftBorder 
LowerBorder 
LowerLeftBorder 
LowerRightBorder 
RightBorder 
TextLayer 
TopBorder 
TopLeftBorder 
TopRightBorder 

Protected Static Fields

isHidingCaret 

Public Instance Constructors

EditBox Constructor Creates a new edit box control

Public Instance Fields

index (inherited from Control) 
isDefault (inherited from Control) 

Public Instance Properties

CanHaveFocusCan 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
TextGet or sets the text
UserData (inherited from Control)User specified data

Public Instance Methods

ClearClears 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.
GetCopyTextGets 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.
HandleKeyboardHandle keyboard input to the edit box
HandleMouseHandle mouse messages
MsgProcHandle all other messages
OnFocusInUpdate 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
RenderRender the control
SetBorderWidthUpdate the border
SetCaretColorUpdate the caret color
SetLocation (inherited from Control)Called to set control's location
SetSelectedBackColorUpdate the selected background color
SetSelectedTextColorUpdate the text selected color
SetSize (inherited from Control)Called to set control's size
SetSpacingUpdate the spacing
SetTextSets the text for the control
SetTextColorUpdate the text color
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

Changed 
Enter 

Protected Instance Fields

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) 

Protected Instance Methods

CopyToClipboardCopy the selected text to the clipboard
DeleteSelectionTextDeletes 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.
PasteFromClipboardPaste the clipboard data to the control
PlaceCaretSet the caret to a character position, and adjust the scrolling if necessary
RaiseChangedEventRaises the changed event
RaiseEnterEventRaises the Enter event
ResetCaretBlinkReset's the caret blink time
UpdateRectanglesUpdates the rectangles used by the control

See Also

EditBox Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace