Goblin - A Platform for 3D AR and VR Applications

Slider Members

Slider overview

Public Static Fields

ButtonLayer 
TrackLayer 

Public Instance Constructors

Slider Constructor Create new button instance

Public Instance Fields

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

Public Instance Properties

CanHaveFocusSlider's can always 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
UserData (inherited from Control)User specified data
ValueCurrent value of the slider

Public Instance Methods

ContainsPointDoes the control contain this point?
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
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
HandleMouseHandle mouse input input
MsgProc (inherited from Control)Message Handler
OnFocusIn (inherited from Control)Called when control gets focus
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 slider
SetLocation (inherited from Control)Called to set control's location
SetRangeSets the range of the slider
SetSize (inherited from Control)Called to set control's size
ToString (inherited from Object) Returns a String that represents the current Object.
ValueFromPositionGets a value from a position

Public Instance Events

ValueChanged 

Protected Instance Fields

boundingBox (inherited from Control) 
buttonRect 
buttonX 
controlId (inherited from Control) 
controlType (inherited from Control) 
controlX (inherited from Control) 
controlY (inherited from Control) 
currentValue 
dragOffset 
dragX 
elementList (inherited from Control) 
enabled (inherited from Control) 
hasFocus (inherited from Control) 
height (inherited from Control) 
hotKey (inherited from Control) 
isMouseOver (inherited from Control) 
isPressed 
localUserData (inherited from Control) 
maxValue 
minValue 
parentDialog (inherited from Control) 
visible (inherited from Control) 
width (inherited from Control) 

Protected Instance Methods

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.
RaiseValueChangedCurrent value of the slider
SetValueInternalSets the value internally and fires the event if needed
UpdateRectanglesUpdate the rectangles for the control

See Also

Slider Class | Microsoft.Samples.DirectX.UtilityToolkit Namespace