RadButtonHandler
Provides a handler for IRadButton controls that extends the base functionality.
Definition
Namespace:Telerik.Maui.Handlers
Assembly:Telerik.Maui.Core.dll
Syntax:
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.
public RadButtonHandler()
Initializes a new instance of the RadButtonHandler class with the specified property mapper.
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.
public static readonly IPropertyMapper<IRadButton, IRadButtonHandler> RadButtonMapper
Properties
BackgroundImage
Drawable
public Drawable BackgroundImage { get; }
Implements:
BackgroundImageSourceLoader
ImageSourcePartLoader
Gets the background image source loader for the button.
public ImageSourcePartLoader BackgroundImageSourceLoader { get; }
Implements:
Gets the virtual view as an IRadButton.
public IRadButton VirtualView { get; }
Methods
protected override void ConnectHandler(MaterialButton platformView)
CreatePlatformView()
MaterialButton
protected override MaterialButton CreatePlatformView()
MaterialButton
protected override void DisconnectHandler(MaterialButton platformView)
public static void MapBackground(IRadButtonHandler handler, IRadButton virtualView)
public static void MapBackgroundImage(IRadButtonHandler handler, IRadButton virtualView)
public static void MapCornerRadius(IRadButtonHandler handler, IRadButton virtualView)
public static void MapHorizontalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)
public static void MapPadding(IRadButtonHandler handler, IRadButton virtualView)
public static void MapStrokeColor(IRadButtonHandler handler, IRadButton virtualView)
public static void MapStrokeThickness(IRadButtonHandler handler, IRadButton virtualView)
public static void MapTextColor(IRadButtonHandler handler, IRadButton virtualView)
public static void MapVerticalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)