New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class RadScrollBar : ScrollBarContentView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewScrollBarContentViewRadScrollBar...

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIViewIVisualTreeElement...

Inherited Members ScrollBarContentView.OrientationPropertyScrollBarContentView.IsActivePropertyScrollBarContentView.ChangeVisualState()ScrollBarContentView.OrientationScrollBarContentView.IsActiveRadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()...

Constructors

Initializes a new instance of the RadScrollBar class.

C#
public RadScrollBar()

Fields

Identifies the AreScrollButtonsVisible property.

C#
public static readonly BindableProperty AreScrollButtonsVisibleProperty

Identifies the DecrementButtonStyle property.

C#
public static readonly BindableProperty DecrementButtonStyleProperty

Identifies the DecrementButtonTemplate property.

C#
public static readonly BindableProperty DecrementButtonTemplateProperty

Identifies the IncrementButtonStyle property.

C#
public static readonly BindableProperty IncrementButtonStyleProperty

Identifies the IncrementButtonTemplate property.

C#
public static readonly BindableProperty IncrementButtonTemplateProperty

LargeChangeProperty

BindableProperty

Identifies the LargeChange property.

C#
public static readonly BindableProperty LargeChangeProperty

MaximumProperty

BindableProperty

Identifies the Maximum property.

C#
public static readonly BindableProperty MaximumProperty

MinimumProperty

BindableProperty

Identifies the Minimum property.

C#
public static readonly BindableProperty MinimumProperty

SmallChangeProperty

BindableProperty

Identifies the SmallChange property.

C#
public static readonly BindableProperty SmallChangeProperty

ThumbStyleProperty

BindableProperty

Identifies the ThumbStyle property.

C#
public static readonly BindableProperty ThumbStyleProperty

ThumbTemplateProperty

BindableProperty

Identifies the ThumbTemplate property.

C#
public static readonly BindableProperty ThumbTemplateProperty

TrackStyleProperty

BindableProperty

Identifies the TrackStyle property.

C#
public static readonly BindableProperty TrackStyleProperty

TrackTemplateProperty

BindableProperty

Identifies the TrackTemplate property.

C#
public static readonly BindableProperty TrackTemplateProperty

ValueProperty

BindableProperty

Identifies the Value property.

C#
public static readonly BindableProperty ValueProperty

ViewportSizeProperty

BindableProperty

Identifies the ViewportSize property.

C#
public static readonly BindableProperty ViewportSizeProperty

Properties

Gets or sets a value indicating whether the scroll buttons are currently visible.

C#
public bool AreScrollButtonsVisible { get; set; }

Gets or sets the Style of the decrement button. The target type of this Style is ScrollBarDecrementButtonView.

C#
public Style DecrementButtonStyle { get; set; }

Gets or sets the ControlTemplate of the decrement button. The target type of this ControlTemplate is ScrollBarDecrementButtonView.

C#
public ControlTemplate DecrementButtonTemplate { get; set; }

Gets or sets the Style of the increment button. The target type of this Style is ScrollBarIncrementButtonView.

C#
public Style IncrementButtonStyle { get; set; }

Gets or sets the ControlTemplate of the increment button. The target type of this ControlTemplate is ScrollBarIncrementButtonView.

C#
public ControlTemplate IncrementButtonTemplate { get; set; }

Gets or sets the large change step of the scroll bar.

C#
public double LargeChange { get; set; }

Gets a command that decrements the current value with the large change step.

C#
public ICommand LargeDecrementCommand { get; }

Gets a command that increments the current value with the large change step.

C#
public ICommand LargeIncrementCommand { get; }

Gets or sets the maximum value of the scroll bar.

C#
public double Maximum { get; set; }

Gets or sets the minimum value of the scroll bar.

C#
public double Minimum { get; set; }

Gets or sets the small change step of the scroll bar.

C#
public double SmallChange { get; set; }

Gets a command that decrements the current value with the small change step.

C#
public ICommand SmallDecrementCommand { get; }

Gets a command that increments the current value with the small change step.

C#
public ICommand SmallIncrementCommand { get; }

Gets or sets the Style of the thumb. The target type of this Style is ScrollBarThumbView.

C#
public Style ThumbStyle { get; set; }

ThumbTemplate

ControlTemplate

Gets or sets the ControlTemplate of the thumb. The target type of this ControlTemplate is ScrollBarThumbView.

C#
public ControlTemplate ThumbTemplate { get; set; }

Gets or sets the Style of the track area. The target type of this Style is ScrollBarTrackView.

C#
public Style TrackStyle { get; set; }

TrackTemplate

ControlTemplate

Gets or sets the ControlTemplate of the track area. The target type of this ControlTemplate is ScrollBarTrackView.

C#
public ControlTemplate TrackTemplate { get; set; }

Gets or sets the current value of the scroll bar.

C#
public double Value { get; set; }

Gets or sets the viewport size of the scroll bar.

C#
public double ViewportSize { get; set; }

Methods

C#
protected override void OnApplyTemplate()

Overrides: RadCompositeContentView.OnApplyTemplate()

Events

Raised when the Value property has changed.

C#
public event EventHandler<ValueChangedEventArgs<double>> ValueChanged