ClassRadScrollBar
Represents a horizontal or vertical scroll bar in a scrollable control. Provides consistent look and feel with many styling and customization options.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadScrollBar : ScrollBarContentView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewScrollBarContentViewRadScrollBar
Implements:
Inherited Members
Constructors
RadScrollBar()
Initializes a new instance of the RadScrollBar class.
Declaration
public RadScrollBar()
Fields
AreScrollButtonsVisibleProperty
Identifies the AreScrollButtonsVisible property.
Declaration
public static readonly BindableProperty AreScrollButtonsVisibleProperty
Field Value
BindableProperty
DecrementButtonStyleProperty
Identifies the DecrementButtonStyle property.
Declaration
public static readonly BindableProperty DecrementButtonStyleProperty
Field Value
BindableProperty
DecrementButtonTemplateProperty
Identifies the DecrementButtonTemplate property.
Declaration
public static readonly BindableProperty DecrementButtonTemplateProperty
Field Value
BindableProperty
IncrementButtonStyleProperty
Identifies the IncrementButtonStyle property.
Declaration
public static readonly BindableProperty IncrementButtonStyleProperty
Field Value
BindableProperty
IncrementButtonTemplateProperty
Identifies the IncrementButtonTemplate property.
Declaration
public static readonly BindableProperty IncrementButtonTemplateProperty
Field Value
BindableProperty
LargeChangeProperty
Identifies the LargeChange property.
Declaration
public static readonly BindableProperty LargeChangeProperty
Field Value
BindableProperty
MaximumProperty
Identifies the Maximum property.
Declaration
public static readonly BindableProperty MaximumProperty
Field Value
BindableProperty
MinimumProperty
Identifies the Minimum property.
Declaration
public static readonly BindableProperty MinimumProperty
Field Value
BindableProperty
SmallChangeProperty
Identifies the SmallChange property.
Declaration
public static readonly BindableProperty SmallChangeProperty
Field Value
BindableProperty
ThumbStyleProperty
Identifies the ThumbStyle property.
Declaration
public static readonly BindableProperty ThumbStyleProperty
Field Value
BindableProperty
ThumbTemplateProperty
Identifies the ThumbTemplate property.
Declaration
public static readonly BindableProperty ThumbTemplateProperty
Field Value
BindableProperty
TrackStyleProperty
Identifies the TrackStyle property.
Declaration
public static readonly BindableProperty TrackStyleProperty
Field Value
BindableProperty
TrackTemplateProperty
Identifies the TrackTemplate property.
Declaration
public static readonly BindableProperty TrackTemplateProperty
Field Value
BindableProperty
ValueProperty
Identifies the Value property.
Declaration
public static readonly BindableProperty ValueProperty
Field Value
BindableProperty
ViewportSizeProperty
Identifies the ViewportSize property.
Declaration
public static readonly BindableProperty ViewportSizeProperty
Field Value
BindableProperty
Properties
AreScrollButtonsVisible
Gets or sets a value indicating whether the scroll buttons are currently visible.
DecrementButtonStyle
Gets or sets the Style of the decrement button. The target type of this Style is ScrollBarDecrementButtonView.
Declaration
public Style DecrementButtonStyle { get; set; }
Property Value
Style
DecrementButtonTemplate
Gets or sets the ControlTemplate of the decrement button. The target type of this ControlTemplate is ScrollBarDecrementButtonView.
Declaration
public ControlTemplate DecrementButtonTemplate { get; set; }
Property Value
ControlTemplate
IncrementButtonStyle
Gets or sets the Style of the increment button. The target type of this Style is ScrollBarIncrementButtonView.
Declaration
public Style IncrementButtonStyle { get; set; }
Property Value
Style
IncrementButtonTemplate
Gets or sets the ControlTemplate of the increment button. The target type of this ControlTemplate is ScrollBarIncrementButtonView.
Declaration
public ControlTemplate IncrementButtonTemplate { get; set; }
Property Value
ControlTemplate
LargeChange
Gets or sets the large change step of the scroll bar.
LargeDecrementCommand
Gets a command that decrements the current value with the large change step.
Declaration
public ICommand LargeDecrementCommand { get; }
Property Value
LargeIncrementCommand
Gets a command that increments the current value with the large change step.
Declaration
public ICommand LargeIncrementCommand { get; }
Property Value
Maximum
Gets or sets the maximum value of the scroll bar.
Minimum
Gets or sets the minimum value of the scroll bar.
SmallChange
Gets or sets the small change step of the scroll bar.
SmallDecrementCommand
Gets a command that decrements the current value with the small change step.
Declaration
public ICommand SmallDecrementCommand { get; }
Property Value
SmallIncrementCommand
Gets a command that increments the current value with the small change step.
Declaration
public ICommand SmallIncrementCommand { get; }
Property Value
ThumbStyle
Gets or sets the Style of the thumb. The target type of this Style is ScrollBarThumbView.
Declaration
public Style ThumbStyle { get; set; }
Property Value
Style
ThumbTemplate
Gets or sets the ControlTemplate of the thumb. The target type of this ControlTemplate is ScrollBarThumbView.
Declaration
public ControlTemplate ThumbTemplate { get; set; }
Property Value
ControlTemplate
TrackStyle
Gets or sets the Style of the track area. The target type of this Style is ScrollBarTrackView.
Declaration
public Style TrackStyle { get; set; }
Property Value
Style
TrackTemplate
Gets or sets the ControlTemplate of the track area. The target type of this ControlTemplate is ScrollBarTrackView.
Declaration
public ControlTemplate TrackTemplate { get; set; }
Property Value
ControlTemplate
Value
Gets or sets the current value of the scroll bar.
ViewportSize
Gets or sets the viewport size of the scroll bar.
Methods
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Overrides
Events
ValueChanged
Raised when the Value property has changed.
Declaration
public event EventHandler<ValueChangedEventArgs<double>> ValueChanged
Event Value