Class
ScrollBarButtonView

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:

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

ScrollBarButtonView()

Initializes a new instance of the ScrollBarButtonView class.

Declaration

cs-api-definition
public ScrollBarButtonView()

Fields

CommandParameterProperty

Identifies the CommandParameter property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandParameterProperty

Field Value

BindableProperty

CommandProperty

Identifies the Command property.

Declaration

cs-api-definition
public static readonly BindableProperty CommandProperty

Field Value

BindableProperty

ImageAspectProperty

Identifies the ImageAspect property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageAspectProperty

Field Value

BindableProperty

ImageSourceProperty

Identifies the ImageSource property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageSourceProperty

Field Value

BindableProperty

Properties

Command

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

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

CommandParameter

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

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

ImageAspect

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

Declaration

cs-api-definition
public Aspect ImageAspect { get; set; }

Property Value

Aspect

ImageSource

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

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

Methods

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

Overrides ScrollBarContentView.ChangeVisualState()

Events

Clicked

Raised when the button is clicked.

Declaration

cs-api-definition
public event EventHandler Clicked

Event Value

EventHandler