RadButtonHandler
Class
Provides a handler for IRadButton controls that extends the base functionality.
Definition
Namespace:Telerik.Maui.Handlers
Assembly:Telerik.Maui.Core.dll
Syntax:
C#
public class RadButtonHandler : ButtonHandler, IRadButtonHandler, IButtonHandler, IViewHandler, IElementHandler
Inheritance: objectRadButtonHandler
Implements:
Constructors
Initializes a new instance of the RadButtonHandler class with the default property mapper.
C#
public RadButtonHandler()
Initializes a new instance of the RadButtonHandler class with the specified property mapper.
C#
public RadButtonHandler(IPropertyMapper mapper)
The property mapper to use, or null to use the default mapper.
Fields
RadButtonMapper
IPropertyMapper<IRadButton, IRadButtonHandler>
Gets the property mapper that defines the mapping between IRadButton properties and handler methods.
C#
public static readonly IPropertyMapper<IRadButton, IRadButtonHandler> RadButtonMapper
Properties
BackgroundImage
Drawable
C#
public Drawable BackgroundImage { get; }
Implements:
BackgroundImageSourceLoader
ImageSourcePartLoader
Gets the background image source loader for the button.
C#
public ImageSourcePartLoader BackgroundImageSourceLoader { get; }
Implements:
Gets the virtual view as an IRadButton.
C#
public IRadButton VirtualView { get; }
Methods
C#
protected override void ConnectHandler(MaterialButton platformView)
C#
protected override MaterialButton CreatePlatformView()
MaterialButton
C#
protected override void DisconnectHandler(MaterialButton platformView)
C#
public static void MapBackground(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapBackgroundImage(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapCornerRadius(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapHorizontalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapPadding(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapStrokeColor(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapStrokeThickness(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapTextColor(IRadButtonHandler handler, IRadButton virtualView)
C#
public static void MapVerticalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)