Class ScrollBarButtonView
Represents a button that can be clicked by the user in the RadScrollBar control.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls.ScrollBar
Assembly: Telerik.Maui.Controls.dll
Syntax
public class ScrollBarButtonView : ScrollBarContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
ScrollBarButtonView()
Initializes a new instance of the ScrollBarButtonView class.
Declaration
public ScrollBarButtonView()
Fields
CommandParameterProperty
Identifies the CommandParameter property.
Declaration
public static readonly BindableProperty CommandParameterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
CommandProperty
Identifies the Command property.
Declaration
public static readonly BindableProperty CommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ImageAspectProperty
Identifies the ImageAspect property.
Declaration
public static readonly BindableProperty ImageAspectProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ImageSourceProperty
Identifies the ImageSource property.
Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
Command
Gets or sets the command to execute when the button is clicked.
Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
|
CommandParameter
Gets or sets the parameter of the command, which is executed when the button is clicked.
Declaration
public object CommandParameter { get; set; }
Property Value
System.Object
|
ImageAspect
Gets or sets the aspect ratio of the image to display in the button. For more information see the Microsoft.Maui.Aspect type.
Declaration
public Aspect ImageAspect { get; set; }
Property Value
Microsoft.Maui.Aspect
|
ImageSource
Gets or sets the source of the image to display in the button. For more information see the ImageSource type.
Declaration
public ImageSource ImageSource { get; set; }
Property Value
Microsoft.Maui.Controls.ImageSource
|
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
Overrides
Events
Clicked
Raised when the button is clicked.
Declaration
public event EventHandler Clicked
Event Type
System.EventHandler
|