UltrachartScrollbar

StockSharp.Xaml.Charting.Visuals

A scrollbar which allows to scroll IAxis content

Inherits: Control

Constructors

UltrachartScrollbar
public UltrachartScrollbar()
ultrachartScrollbar = UltrachartScrollbar()

Default constructor

Properties

Axis
public IAxis Axis { get; set; }
value = ultrachartScrollbar.Axis
ultrachartScrollbar.Axis = value

Gets or sets Axis which this scrollbar control is bound to

GripsLength
public double GripsLength { get; set; }
value = ultrachartScrollbar.GripsLength
ultrachartScrollbar.GripsLength = value

Gets or sets length of resizing grips

GripsStyle
public Style GripsStyle { get; set; }
value = ultrachartScrollbar.GripsStyle
ultrachartScrollbar.GripsStyle = value

Gets or sets style for grips

GripsThickness
public double GripsThickness { get; set; }
value = ultrachartScrollbar.GripsThickness
ultrachartScrollbar.GripsThickness = value

Gets or sets thickness of grips

NonSelectedAreaStyle
public Style NonSelectedAreaStyle { get; set; }
value = ultrachartScrollbar.NonSelectedAreaStyle
ultrachartScrollbar.NonSelectedAreaStyle = value

Gets or sets style for non selected area of scrollbar

Orientation
public Orientation Orientation { get; set; }
value = ultrachartScrollbar.Orientation
ultrachartScrollbar.Orientation = value

Get or set whether UltrachartScrollbar is displayed horizontally or vertically

SelectedRange
public IRange SelectedRange { get; set; }
value = ultrachartScrollbar.SelectedRange
ultrachartScrollbar.SelectedRange = value

Selected range of the horizontal range slider

ViewportStyle
public Style ViewportStyle { get; set; }
value = ultrachartScrollbar.ViewportStyle
ultrachartScrollbar.ViewportStyle = value

Gets or sets style for viewport area of scrollbar which contains SelectedRange

ZoomLimit
public double ZoomLimit { get; set; }
value = ultrachartScrollbar.ZoomLimit
ultrachartScrollbar.ZoomLimit = value

Gets or sets minimal size of viewport in pixels

Methods

AnimateSelectedRangeTo
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
OnApplyTemplate
public override void OnApplyTemplate()
ultrachartScrollbar.OnApplyTemplate()

Overide to get the visuals from the control template

Events

SelectedRangeChanged
public event EventHandler<SelectedRangeChangedEventArgs> SelectedRangeChanged
ultrachartScrollbar.SelectedRangeChanged += handler

Raised when the SelectedRange changes

Fields

AxisProperty
public static readonly DependencyProperty AxisProperty
value = UltrachartScrollbar.AxisProperty

Provides the Axis which this scrollbar control is associated with

GripsLengthProperty
public static readonly DependencyProperty GripsLengthProperty
value = UltrachartScrollbar.GripsLengthProperty

Defines the GripsLength DependencyProperty

GripsStyleProperty
public static readonly DependencyProperty GripsStyleProperty
value = UltrachartScrollbar.GripsStyleProperty

Defines the GripsStyle DependencyProperty

GripsThicknessProperty
public static readonly DependencyProperty GripsThicknessProperty
value = UltrachartScrollbar.GripsThicknessProperty

Defines the GripsThickness DependencyProperty

NonSelectedAreaStyleProperty
public static readonly DependencyProperty NonSelectedAreaStyleProperty
value = UltrachartScrollbar.NonSelectedAreaStyleProperty

Defines the NonSelectedArea DependencyProperty

OrientationProperty
public static readonly DependencyProperty OrientationProperty
value = UltrachartScrollbar.OrientationProperty

Defines The Orientation DependencyProperty

SelectedRangePointProperty
public static readonly DependencyProperty SelectedRangePointProperty
value = UltrachartScrollbar.SelectedRangePointProperty

Defines the SelectedRangePoint DependencyProperty, used internally for animations

SelectedRangeProperty
public static readonly DependencyProperty SelectedRangeProperty
value = UltrachartScrollbar.SelectedRangeProperty

Selected range of the range slider

ViewportStyleProperty
public static readonly DependencyProperty ViewportStyleProperty
value = UltrachartScrollbar.ViewportStyleProperty

Defines the ViewportStyle DependencyProperty

ZoomLimitProperty
public static readonly DependencyProperty ZoomLimitProperty
value = UltrachartScrollbar.ZoomLimitProperty

Defines the ZoomLimit DependencyProperty