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:
public class ScrollBarButtonView : ScrollBarContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewScrollBarContentViewScrollBarButtonView...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ScrollBarButtonView class.
public ScrollBarButtonView()
Fields
CommandParameterProperty
BindableProperty
Identifies the CommandParameter property.
public static readonly BindableProperty CommandParameterProperty
CommandProperty
BindableProperty
Identifies the Command property.
public static readonly BindableProperty CommandProperty
ImageAspectProperty
BindableProperty
Identifies the ImageAspect property.
public static readonly BindableProperty ImageAspectProperty
ImageSourceProperty
BindableProperty
Identifies the ImageSource property.
public static readonly BindableProperty ImageSourceProperty
Properties
Gets or sets the command to execute when the button is clicked.
public ICommand Command { get; set; }
Gets or sets the parameter of the command, which is executed when the button is clicked.
public object CommandParameter { get; set; }
ImageAspect
Aspect
Gets or sets the aspect ratio of the image to display in the button. For more information see the Aspect type.
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.
public ImageSource ImageSource { get; set; }
Methods
protected override void ChangeVisualState()
Overrides:
Events
Raised when the button is clicked.
public event EventHandler Clicked