Click or drag to resize

UserInterfaceSlider Properties

The UserInterfaceSlider type exposes the following members.

Properties
  NameDescription
Public propertyAllowValueAfterRangeEnd
Set to true if you want to allow dragging of the slider grip after the end of the defined range.
Public propertyAllowValueBeforeRangeStart
Set to true if you want to allow dragging of the slider grip before the start of the defined range.
Public propertyBoundToActiveView (Inherited from UserInterfaceObjectBase.)
Public propertyDigitPrecision
Number of digits of precision for the slider. If you want the slider to only represent integer values, set the Digits value to 0.
Public propertyDisplayValue
Should the slider display the current value as text on the screen
Public propertyHasKeyboardFocus
Does this object have keyboard focus? An object with keyboard focus gets first refusal on what is typed in a viewport; what it does not use carries on to the command line as usual.
(Inherited from UserInterfaceObjectBase.)
Public propertyHorizontalAlignment (Inherited from UserInterfaceControl.)
Public propertyHorizontalOrientation
Public propertyLocation (Inherited from UserInterfaceControl.)
Public propertyRange
The range of acceptable values for the slider
Public propertySize (Inherited from UserInterfaceControl.)
Public propertyText (Inherited from UserInterfaceControl.)
Public propertyTextColor
Color used to draw the text. Color.Empty, the default, means use the standard text color for the theme that is in use.
(Inherited from UserInterfaceControl.)
Public propertyTextHeight
Height of the text in logical pixels. A value of 0, the default, means use the standard control font height. Controls that draw no text ignore this setting.
(Inherited from UserInterfaceControl.)
Public propertyTextHorizontalAlignment
Where the text sits inside the control's rectangle. This is not the same as HorizontalAlignment, which is where the control sits inside its parent.
(Inherited from UserInterfaceControl.)
Public propertyTextVerticalAlignment
Where the text sits inside the control's rectangle. This is not the same as VerticalAlignment, which is where the control sits inside its parent.
(Inherited from UserInterfaceControl.)
Public propertyTooltip
Text shown in a tooltip when the mouse rests over this object. Null or an empty string means no tooltip, which is what an object starts with. One tooltip is on screen at a time; whichever object the mouse is over owns it.
(Inherited from UserInterfaceObjectBase.)
Public propertyTrackingPoint
3d location that control "sticks" to if not null
(Inherited from UserInterfaceControl.)
Public propertyValue
Current value that the slider represents
Public propertyVerticalAlignment (Inherited from UserInterfaceControl.)
Public propertyVisible
Is the user interface object visible? Objects that are not visible will not be drawn and will not receive mouse events
(Inherited from UserInterfaceObjectBase.)
Top
See Also