[]
        
(Showing Draft Content)

C1.WPF.Chart.Interaction.C1AxisScrollbar

C1AxisScrollbar Class

Represents a FlexChart range slider control supporting additional visual styles.

Namespace: C1.WPF.Chart.Interaction
Assembly: C1.WPF.FlexChart.4.6.2.dll
Syntax
[TemplatePart(Name = "DecreaseButton", Type = typeof(RepeatButton))]
[TemplatePart(Name = "IncreaseButton", Type = typeof(RepeatButton))]
[TemplatePart(Name = "VerticalDecreaseButton", Type = typeof(RepeatButton))]
[TemplatePart(Name = "VerticalIncreaseButton", Type = typeof(RepeatButton))]
public class C1AxisScrollbar : C1RangeSlider, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1AxisScrollbar()

Create an instance of AxisScrollbar.

Fields

Name Description
ScrollButtonsVisibleProperty

Identifies the ScrollButtonVisible dependency property.

SelectedAreaBrushProperty

Identifies the SelectedAreaBrush dependency property.

Properties

Name Description
ScrollButtonsVisible

Gets or sets the decrease button and increase button is visible or not.

SelectedAreaBrush

Gets or sets the brush of selected area.

Methods

Name Description
OnApplyTemplate()

Builds the visual tree for the C1AxisScrollbar control when a new template is applied.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property has been updated.

OnValueChanged(EventArgs)

Raises the C1.Silverlight.C1RangeSlider.ValueChanged event.

PixelsToUnits(double)

Converts pixels to it´s corresponding unit value in the range slider

UpdateTrackLayout()

This method will take the current min, max, and value to calculate and layout the current control measurements.