Skip to content

Advanced Slider Control Documentation

Circular Slider

doc

  1. StepSize: The step size of the slider, which controls the distance the slider moves each time.
  2. Starting Point: The initial position of the slider (default is at the bottom).
  3. BoxWidth: The diameter of the slider container.
  4. BtnWidth: The size of the sliding button.
  5. AllBtnBrush: The brush for the buttons (multiple brushes can be set, and the number of brushes determines the number and style of buttons).
  6. AllBtnValue: The current values of all buttons (range from 0 to 1, default is 0).
  7. Background: The background style of the slider container.
  8. AllBtnHoverBrush: The brush style for the button when hovered (if not set, the default brush is used).
  9. Margins: Margins

Rectangular Slider

doc

  1. BoxSize: The size of the slider container.
  2. BtnSize: The size of the sliding button.
  3. AllBtnBrush: The brush for the buttons (multiple brushes can be set, and the number of brushes determines the number and style of buttons).
  4. AllBtnValue: The current values of all buttons (range from 0 to 1, default is 0).
  5. Background: The background style of the slider container.
  6. AllBtnHoverBrush: The brush style for the button when hovered (if not set, the default brush is used).
  7. SliderMarginX: The margin on both sides of the slider, used to control the overflow part of the slider (default is no overflow).
  8. Steps: The total number of steps for the slider (for example, setting to 5 allows the slider to move 5 times from start to end).