Class ResizableScrollBar
Represents the ResizableScrollBar class.
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class ResizableScrollBar : ContentControl
Constructors
ResizableScrollBar()
Initializes a new instance of the ResizableScrollBar class.
Declaration
public ResizableScrollBar()
Fields
EnableTouchModeProperty
The DependencyProperty for EnableTouchMode property.
Declaration
public static readonly DependencyProperty EnableTouchModeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
isFarDragged
Declaration
public bool isFarDragged
Field Value
Type |
---|
System.Boolean |
isNearDragged
Declaration
public bool isNearDragged
Field Value
Type |
---|
System.Boolean |
LargeChangeProperty
The DependencyProperty for LargeChange property.
Declaration
public static readonly DependencyProperty LargeChangeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MaximumProperty
The DependencyProperty for Maximum property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
MinimumProperty
The DependencyProperty for Minimum property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
OrientationProperty
The DependencyProperty for Orientation property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
RangeEndProperty
The DependencyProperty for RangeEnd property.
Declaration
public static readonly DependencyProperty RangeEndProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
RangeStartProperty
The DependencyProperty for RangeStart property.
Declaration
public static readonly DependencyProperty RangeStartProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ScaleProperty
The DependencyProperty for Scale property.
Declaration
public static readonly DependencyProperty ScaleProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ScrollButtonVisibilityProperty
The DependencyProperty for ScrollButtonVisibility property.
Declaration
public static readonly DependencyProperty ScrollButtonVisibilityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SmallChangeProperty
The DependencyProperty for SmallChange property.
Declaration
public static readonly DependencyProperty SmallChangeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ViewSizePortProperty
The DependencyProperty for ViewSizePort property.
Declaration
public static readonly DependencyProperty ViewSizePortProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
EnableTouchMode
Gets or sets a value indicating whether to EnableTouchMode.
Declaration
public bool EnableTouchMode { get; set; }
Property Value
Type |
---|
System.Boolean |
FarHand
Gets or sets the far hand.
Declaration
protected Thumb FarHand { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.Thumb |
IsValueChangedTrigger
Gets or sets a value indicating whether the value changed is triggered.
Declaration
protected bool IsValueChangedTrigger { get; set; }
Property Value
Type |
---|
System.Boolean |
LargeChange
Gets or sets LargeChange Value for Scroll Bar Thumb Change When the Large Increase and Decrease Button is Clicked.
Declaration
public double LargeChange { get; set; }
Property Value
Type |
---|
System.Double |
LargeDecrease
Gets or sets the large decrease.
Declaration
protected RepeatButton LargeDecrease { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.RepeatButton |
LargeIncrease
Gets or sets the large increase.
Declaration
protected RepeatButton LargeIncrease { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.RepeatButton |
Maximum
Gets or sets Maximum Value for Scroll Bar
Declaration
public double Maximum { get; set; }
Property Value
Type |
---|
System.Double |
MiddleThumb
Gets or sets the middle thumb.
Declaration
protected Thumb MiddleThumb { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.Thumb |
Minimum
Gets or sets Minimum Value for Scroll Bar
Declaration
public double Minimum { get; set; }
Property Value
Type |
---|
System.Double |
NearHand
Gets or sets the near hand.
Declaration
protected Thumb NearHand { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.Thumb |
Orientation
Gets or sets the Orientation for the Scroll Bar
Declaration
public Orientation Orientation { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Orientation |
RangeEnd
Gets or sets RangeEnd Value for Scroll Bar.
Declaration
public double RangeEnd { get; set; }
Property Value
Type |
---|
System.Double |
RangeStart
Gets or sets RangeStart Value for Scroll Bar.
Declaration
public double RangeStart { get; set; }
Property Value
Type |
---|
System.Double |
ResizableThumbSize
Gets the resizable thumb size.
Declaration
public double ResizableThumbSize { get; }
Property Value
Type |
---|
System.Double |
Scale
Gets or sets a value that determines how far the scroll content is scaled.
Declaration
public double Scale { get; set; }
Property Value
Type |
---|
System.Double |
ScrollButtonVisibility
Gets or sets the visibility of scroll buttons.
Declaration
public Visibility ScrollButtonVisibility { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Visibility |
SmallChange
Gets or sets SmallChange Value for Scroll Bar Thumb Change When the Small Increase and Decrease Button is Clicked.
Declaration
public double SmallChange { get; set; }
Property Value
Type |
---|
System.Double |
SmallDecrease
Gets or sets the small decrease.
Declaration
protected RepeatButton SmallDecrease { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.RepeatButton |
SmallIncrease
Gets or sets the small increase.
Declaration
protected RepeatButton SmallIncrease { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Controls.Primitives.RepeatButton |
ViewSizePort
Gets or sets ViewSizePort Value for Scroll Bar
Declaration
public double ViewSizePort { get; set; }
Property Value
Type |
---|
System.Double |
Methods
ArrangeOverride(Size)
Arranges the elements in the control.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize | The Final Size |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns the arrange size. |
MeasureOverride(Size)
Measures the control.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | The Available Size |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | Returns the measure size. |
OnApplyTemplate()
Applied the required templates for the control.
Declaration
protected override void OnApplyTemplate()
OnFarHandDragged(Object, DragDeltaEventArgs)
Updates the scroll bar on far hand dragged.
Declaration
protected virtual void OnFarHandDragged(object sender, DragDeltaEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The Sender Object |
Windows.UI.Xaml.Controls.Primitives.DragDeltaEventArgs | e | The Event Arguments |
OnNearHandDragged(Object, DragDeltaEventArgs)
Updates the scroll bar on near hand dragged.
Declaration
protected virtual void OnNearHandDragged(object sender, DragDeltaEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The Sender Object |
Windows.UI.Xaml.Controls.Primitives.DragDeltaEventArgs | e | The Event Arguments |
OnOrientationChanged(DependencyPropertyChangedEventArgs)
Applies the required orientation template on orientation changed.
Declaration
protected virtual void OnOrientationChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | e | The Event Arguments |
OnRangeValueChanged()
Updates the Syncfusion.UI.Xaml.Charts.ResizableScrollBar.ResizableBarSize on range value changed.
Declaration
protected virtual void OnRangeValueChanged()
OnThumbDragged(Object, DragDeltaEventArgs)
Updates the scroll bar when the thumb is dragged.
Declaration
protected virtual void OnThumbDragged(object sender, DragDeltaEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The Sender |
Windows.UI.Xaml.Controls.Primitives.DragDeltaEventArgs | e | The Event Arguments |
OnValueChanged()
Updates the ResizableScrollBar on it's value change.
Declaration
protected virtual void OnValueChanged()
Events
ValueChanged
Declaration
public event EventHandler ValueChanged
Event Type
Type |
---|
System.EventHandler |