Search
SliderComponent Members
Constructors Properties Methods Events
 


Represents a slider component, which allows users to select a single value or a range of values.

The following tables list the members exposed by the SliderComponent type.

 Public Constructors

  Name Description

SliderComponent

Initializes a new instance of the SliderComponent class.

 Public Properties

  Name Description

ActiveBrush

Gets or sets the brush used to fill the portion of the rail between StartValue and EndValue.

AutoProperty

Gets or sets a value indicating whether the component is defined as a property on the client side. (Inherited from ComponentBase.)

Background

Gets or sets the brush used to fill the background of the slider.

Border

Gets or sets the pen used to draw the border of the slider.

Bounds

Gets or sets the calculated bounds of this component relative to its parent. (Inherited from ComponentBase.)

ButtonBrush

Gets or sets the brush of the slider's buttons and thumbs.

ButtonBrushHovered

Gets or sets the background brush of the slider's buttons when they are pointed with the mouse.

ButtonBrushPressed

Gets or sets the background brush of the slider's buttons when they are pressed.

ButtonContentColor

Gets or sets the color of the content of the slider's buttons.

ButtonPen

Gets or sets the border pen of the slider's buttons and thumbs.

ButtonPenHovered

Gets or sets the border pen of the slider's buttons when they are pointed with the mouse.

ButtonPenPressed

Gets or sets the border pen of the slider's buttons when they are pressed.

ChildCount

ComponentBase.ChildCount override. (Inherited from ContentComponent.)

Content

Gets or sets the content of this component. (Inherited from ContentComponent.)

EndValue

Gets or sets the end value of the slider.

Focusable

Gets or sets a value indicating whether the component can receive the input focus. (Inherited from ComponentBase.)

GridColumn

Gets or sets the index of the grid column this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

GridRow

Gets or sets the index of the grid row this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

Height

Gets or sets the explicit height of this component or double.NaN to auto-size the component. (Inherited from ComponentBase.)

HorizontalAlignment

Gets or sets the horizontal alignment of this component relative to its parent. (Inherited from ComponentBase.)

IsEnabled

Gets or sets a value indicating whether the component is enabled. (Inherited from ComponentBase.)

IsFocused

Gets or sets a value indicating whether this component currently holds the input focus. (Inherited from ComponentBase.)

IsHitTestVisible

Gets or sets a value indicating whether this component and all its children are subject to hit-testing operations. (Inherited from ComponentBase.)

IsInteractive

Gets or sets a value indicating whether this component can be interacted with. (Inherited from ComponentBase.)

Maximum

Gets or sets the maximum value of the slider.

Minimum

Gets or sets the minimum value of the slider.

Name

Gets or sets the name of the component. (Inherited from ComponentBase.)

Padding

Gets or sets the padding around this component's content. (Inherited from ContentComponent.)

Parent

Gets the parent component, if the current component is hosted. (Inherited from ComponentBase.)

RailBrush

Gets or sets the background of the slider rail.

RailPen

Gets or sets the border pen of the slider rail.

StartValue

Gets or sets the start value of the slider.

Type

Gets or sets the type of this slider component.

Value

Gets or sets the value of the slider.

VerticalAlignment

Gets or sets the vertical alignment of this component relative to its parent. (Inherited from ComponentBase.)

Visible

Gets or sets a value indicating whether the component is visible. (Inherited from ComponentBase.)

Width

Gets or sets the explicit width of this component or double.NaN to auto-size the component. (Inherited from ComponentBase.)

 Protected Properties

  Name Description

ParentHost

Gets the host containing this component, if any. (Inherited from ComponentBase.)

 Public Methods

  Name Description

ArrangeComponents

ComponentBase.ArrangeComponents override. (Inherited from ContentComponent.)

Contains

Checks if the specified component is contained in the hierarchy defined by the current component. (Inherited from ComponentBase.)

Draw

ComponentBase.Draw override. (Inherited from ContentComponent.)

Find

Returns the component with the specified name within the hierarchy defined by the current component. (Inherited from ComponentBase.)

GetCursor

ComponentBase.GetCursor override.

GetDesiredSize

ComponentBase.GetDesiredSize override. (Inherited from ContentComponent.)

Invalidate

Invalidates the visual appearance of the component. (Inherited from ComponentBase.)

InvalidateLayout

Invalidates the layout of this component and all its children. (Inherited from ComponentBase.)

OnKeyDown

Called when a key is pressed when this component has the input focus. (Inherited from ComponentBase.)

OnKeyPress

Called when a character key is pressed when this component has the input focus. (Inherited from ComponentBase.)

OnKeyUp

Called when a key is released when this component has the input focus. (Inherited from ComponentBase.)

OnMouseDown

Called when the left mouse button is pressed while the pointer is over this component. (Inherited from ComponentBase.)

OnMouseMove

Called when the mouse is moved while this component tracks the mouse events. (Inherited from ComponentBase.)

OnMouseUp

Called when the left mouse button is released while this component tracks the mouse events. (Inherited from ComponentBase.)

ToDocument

Converts a point from local to document coordinates. (Inherited from ComponentBase.)

ToLocal

Converts a point from document to local coordinates. (Inherited from ComponentBase.)

ToParent

Converts a point from local coordinates to the specified parent's coordinates. (Inherited from ComponentBase.)

 Protected Methods

  Name Description

GetThickness

Gets the space around the component's content. This space includes padding by default but can be subsequently adjusted as necessary by the deriving classes. (Inherited from ContentComponent.)

LoadFromJson

ContentComponent.LoadFromJson override.

LoadFromXml

ContentComponent.LoadFromXml override.

OnAddedToParent

Invoked when the component is added to a parent component. (Inherited from ComponentBase.)

OnBatchValueChanged

Raises the BatchValueChanged event.

OnEndValueChanged

Raises the EndValueChanged event.

OnGotFocus

Invokes when the component gains the input focus. (Inherited from ComponentBase.)

OnGotFocus

Raises the GotFocus event. (Inherited from ComponentBase.)

OnLostFocus

Raises the LostFocus event. (Inherited from ComponentBase.)

OnLostFocus

Invokes when the component loses the input focus. (Inherited from ComponentBase.)

OnMouseMove

Raises the MouseMove event. (Inherited from ComponentBase.)

OnRemovedFromParent

Invoked when the component is removed from a parent component. (Inherited from ComponentBase.)

OnStartValueChanged

Raises the StartValueChanged event.

OnUnitChanged

Invoked when the measure unit of the document containing the component has changed. (Inherited from ComponentBase.)

OnValidated

Raises the Validated event. (Inherited from ComponentBase.)

OnValidating

Raises the Validating event. (Inherited from ComponentBase.)

OnValueChanged

Raises the ValueChanged event.

OnZoomChanged

Invoked when the zoom factor of the document containing the component has changed. (Inherited from ComponentBase.)

SaveToJson

ContentComponent.SaveToJson override.

SaveToXml

ContentComponent.SaveToXml override.

SerializeSubcomponents

ComponentBase.SerializeSubcomponents override.

 Public Events

  Name Description

BatchValueChanged

Raised when the slider value has been changed after a sequence of similar changes.

EndValueChanged

Raised when the selected end value has been changed interactively.

GotFocus

Raised when the component receives the input focus. (Inherited from ComponentBase.)

LostFocus

Raised when the component loses the input focus. (Inherited from ComponentBase.)

MouseMove

Raised when the mouse moves over the component. (Inherited from ComponentBase.)

StartValueChanged

Raised when the selected start value has been changed interactively.

Validated

Raised after the component has lost input focus. (Inherited from ComponentBase.)

Validating

Raised when the component is about to lose input focus in order to validate it. (Inherited from ComponentBase.)

ValueChanged

Raised when the selected value has been changed interactively.

 See Also