Class
RadScrollBar

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:

cs-api-definition
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

RadScrollBar()

Initializes a new instance of the RadScrollBar class.

Declaration

cs-api-definition
public RadScrollBar()

Fields

AreScrollButtonsVisibleProperty

Identifies the AreScrollButtonsVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty AreScrollButtonsVisibleProperty

Field Value

BindableProperty

DecrementButtonStyleProperty

Identifies the DecrementButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty DecrementButtonStyleProperty

Field Value

BindableProperty

DecrementButtonTemplateProperty

Identifies the DecrementButtonTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty DecrementButtonTemplateProperty

Field Value

BindableProperty

IncrementButtonStyleProperty

Identifies the IncrementButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty IncrementButtonStyleProperty

Field Value

BindableProperty

IncrementButtonTemplateProperty

Identifies the IncrementButtonTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty IncrementButtonTemplateProperty

Field Value

BindableProperty

LargeChangeProperty

Identifies the LargeChange property.

Declaration

cs-api-definition
public static readonly BindableProperty LargeChangeProperty

Field Value

BindableProperty

MaximumProperty

Identifies the Maximum property.

Declaration

cs-api-definition
public static readonly BindableProperty MaximumProperty

Field Value

BindableProperty

MinimumProperty

Identifies the Minimum property.

Declaration

cs-api-definition
public static readonly BindableProperty MinimumProperty

Field Value

BindableProperty

SmallChangeProperty

Identifies the SmallChange property.

Declaration

cs-api-definition
public static readonly BindableProperty SmallChangeProperty

Field Value

BindableProperty

ThumbStyleProperty

Identifies the ThumbStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ThumbStyleProperty

Field Value

BindableProperty

ThumbTemplateProperty

Identifies the ThumbTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ThumbTemplateProperty

Field Value

BindableProperty

TrackStyleProperty

Identifies the TrackStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty TrackStyleProperty

Field Value

BindableProperty

TrackTemplateProperty

Identifies the TrackTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty TrackTemplateProperty

Field Value

BindableProperty

ValueProperty

Identifies the Value property.

Declaration

cs-api-definition
public static readonly BindableProperty ValueProperty

Field Value

BindableProperty

ViewportSizeProperty

Identifies the ViewportSize property.

Declaration

cs-api-definition
public static readonly BindableProperty ViewportSizeProperty

Field Value

BindableProperty

Properties

AreScrollButtonsVisible

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

Declaration

cs-api-definition
public bool AreScrollButtonsVisible { get; set; }

Property Value

bool

DecrementButtonStyle

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

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public ControlTemplate IncrementButtonTemplate { get; set; }

Property Value

ControlTemplate

LargeChange

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

Declaration

cs-api-definition
public double LargeChange { get; set; }

Property Value

double

LargeDecrementCommand

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

Declaration

cs-api-definition
public ICommand LargeDecrementCommand { get; }

Property Value

ICommand

LargeIncrementCommand

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

Declaration

cs-api-definition
public ICommand LargeIncrementCommand { get; }

Property Value

ICommand

Maximum

Gets or sets the maximum value of the scroll bar.

Declaration

cs-api-definition
public double Maximum { get; set; }

Property Value

double

Minimum

Gets or sets the minimum value of the scroll bar.

Declaration

cs-api-definition
public double Minimum { get; set; }

Property Value

double

SmallChange

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

Declaration

cs-api-definition
public double SmallChange { get; set; }

Property Value

double

SmallDecrementCommand

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

Declaration

cs-api-definition
public ICommand SmallDecrementCommand { get; }

Property Value

ICommand

SmallIncrementCommand

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

Declaration

cs-api-definition
public ICommand SmallIncrementCommand { get; }

Property Value

ICommand

ThumbStyle

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

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public ControlTemplate TrackTemplate { get; set; }

Property Value

ControlTemplate

Value

Gets or sets the current value of the scroll bar.

Declaration

cs-api-definition
public double Value { get; set; }

Property Value

double

ViewportSize

Gets or sets the viewport size of the scroll bar.

Declaration

cs-api-definition
public double ViewportSize { get; set; }

Property Value

double

Methods

OnApplyTemplate()

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadCompositeContentView.OnApplyTemplate()

Events

ValueChanged

Raised when the Value property has changed.

Declaration

cs-api-definition
public event EventHandler<ValueChangedEventArgs<double>> ValueChanged

Event Value

EventHandler<ValueChangedEventArgs<double>>