UltrachartScrollbar
A scrollbar which allows to scroll IAxis content
Inherits: Control
Constructors
public UltrachartScrollbar()
ultrachartScrollbar = UltrachartScrollbar()
Default constructor
Properties
public IAxis Axis { get; set; }
value = ultrachartScrollbar.Axis
ultrachartScrollbar.Axis = value
Gets or sets Axis which this scrollbar control is bound to
public double GripsLength { get; set; }
value = ultrachartScrollbar.GripsLength
ultrachartScrollbar.GripsLength = value
Gets or sets length of resizing grips
public Style GripsStyle { get; set; }
value = ultrachartScrollbar.GripsStyle
ultrachartScrollbar.GripsStyle = value
Gets or sets style for grips
public double GripsThickness { get; set; }
value = ultrachartScrollbar.GripsThickness
ultrachartScrollbar.GripsThickness = value
Gets or sets thickness of grips
public Style NonSelectedAreaStyle { get; set; }
value = ultrachartScrollbar.NonSelectedAreaStyle
ultrachartScrollbar.NonSelectedAreaStyle = value
Gets or sets style for non selected area of scrollbar
public Orientation Orientation { get; set; }
value = ultrachartScrollbar.Orientation
ultrachartScrollbar.Orientation = value
Get or set whether UltrachartScrollbar is displayed horizontally or vertically
public IRange SelectedRange { get; set; }
value = ultrachartScrollbar.SelectedRange
ultrachartScrollbar.SelectedRange = value
Selected range of the horizontal range slider
public Style ViewportStyle { get; set; }
value = ultrachartScrollbar.ViewportStyle
ultrachartScrollbar.ViewportStyle = value
Gets or sets style for viewport area of scrollbar which contains SelectedRange
public double ZoomLimit { get; set; }
value = ultrachartScrollbar.ZoomLimit
ultrachartScrollbar.ZoomLimit = value
Gets or sets minimal size of viewport in pixels
Methods
public void AnimateSelectedRangeTo(IRange to, TimeSpan duration)
ultrachartScrollbar.AnimateSelectedRangeTo(to, duration)
Animates the SelectedRange property from its current start position to the destination over the specified duration. Use this to get a smooth animated effect from one position to the next
- to
- duration
public override void OnApplyTemplate()
ultrachartScrollbar.OnApplyTemplate()
Overide to get the visuals from the control template
Events
public event EventHandler<SelectedRangeChangedEventArgs> SelectedRangeChanged
ultrachartScrollbar.SelectedRangeChanged += handler
Raised when the SelectedRange changes
Fields
public static readonly DependencyProperty AxisProperty
value = UltrachartScrollbar.AxisProperty
Provides the Axis which this scrollbar control is associated with
public static readonly DependencyProperty GripsLengthProperty
value = UltrachartScrollbar.GripsLengthProperty
Defines the GripsLength DependencyProperty
public static readonly DependencyProperty GripsStyleProperty
value = UltrachartScrollbar.GripsStyleProperty
Defines the GripsStyle DependencyProperty
public static readonly DependencyProperty GripsThicknessProperty
value = UltrachartScrollbar.GripsThicknessProperty
Defines the GripsThickness DependencyProperty
public static readonly DependencyProperty NonSelectedAreaStyleProperty
value = UltrachartScrollbar.NonSelectedAreaStyleProperty
Defines the NonSelectedArea DependencyProperty
public static readonly DependencyProperty OrientationProperty
value = UltrachartScrollbar.OrientationProperty
Defines The Orientation DependencyProperty
public static readonly DependencyProperty SelectedRangePointProperty
value = UltrachartScrollbar.SelectedRangePointProperty
Defines the SelectedRangePoint DependencyProperty, used internally for animations
public static readonly DependencyProperty SelectedRangeProperty
value = UltrachartScrollbar.SelectedRangeProperty
Selected range of the range slider
public static readonly DependencyProperty ViewportStyleProperty
value = UltrachartScrollbar.ViewportStyleProperty
Defines the ViewportStyle DependencyProperty
public static readonly DependencyProperty ZoomLimitProperty
value = UltrachartScrollbar.ZoomLimitProperty
Defines the ZoomLimit DependencyProperty