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

Represents a button that can be clicked by the user in the RadScrollBar control.

Definition

Namespace:Telerik.Maui.Controls.ScrollBar

Assembly:Telerik.Maui.Controls.dll

Syntax:

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

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewScrollBarContentViewScrollBarButtonView...

Derived Classes: ScrollBarDecrementButtonViewScrollBarIncrementButtonView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

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

Constructors

Initializes a new instance of the ScrollBarButtonView class.

C#
public ScrollBarButtonView()

Fields

CommandParameterProperty

BindableProperty

Identifies the CommandParameter property.

C#
public static readonly BindableProperty CommandParameterProperty

CommandProperty

BindableProperty

Identifies the Command property.

C#
public static readonly BindableProperty CommandProperty

ImageAspectProperty

BindableProperty

Identifies the ImageAspect property.

C#
public static readonly BindableProperty ImageAspectProperty

ImageSourceProperty

BindableProperty

Identifies the ImageSource property.

C#
public static readonly BindableProperty ImageSourceProperty

Properties

Gets or sets the command to execute when the button is clicked.

C#
public ICommand Command { get; set; }

Gets or sets the parameter of the command, which is executed when the button is clicked.

C#
public object CommandParameter { get; set; }

Gets or sets the aspect ratio of the image to display in the button. For more information see the Aspect type.

C#
public Aspect ImageAspect { get; set; }

ImageSource

ImageSource

Gets or sets the source of the image to display in the button. For more information see the ImageSource type.

C#
public ImageSource ImageSource { get; set; }

Methods

C#
protected override void ChangeVisualState()

Overrides: ScrollBarContentView.ChangeVisualState()

Events

Raised when the button is clicked.

C#
public event EventHandler Clicked