ClassRadButtonHandler
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
RadButtonHandler()
Initializes a new instance of the RadButtonHandler class with the default property mapper.
Declaration
public RadButtonHandler()
RadButtonHandler(IPropertyMapper)
Initializes a new instance of the RadButtonHandler class with the specified property mapper.
Declaration
public RadButtonHandler(IPropertyMapper mapper)
Parameters
mapper
IPropertyMapper
The property mapper to use, or null to use the default mapper.
Fields
RadButtonMapper
Gets the property mapper that defines the mapping between IRadButton properties and handler methods.
Declaration
public static readonly IPropertyMapper<IRadButton, IRadButtonHandler> RadButtonMapper
Field Value
IPropertyMapper<IRadButton, IRadButtonHandler>
Properties
BackgroundImage
Declaration
public Drawable BackgroundImage { get; }
Property Value
Drawable
Implements
BackgroundImageSourceLoader
Gets the background image source loader for the button.
Declaration
public ImageSourcePartLoader BackgroundImageSourceLoader { get; }
Property Value
ImageSourcePartLoader
Implements
VirtualView
Gets the virtual view as an IRadButton.
Methods
ConnectHandler(MaterialButton)
Declaration
protected override void ConnectHandler(MaterialButton platformView)
Parameters
platformView
MaterialButton
CreatePlatformView()
Declaration
protected override MaterialButton CreatePlatformView()
Returns
MaterialButton
DisconnectHandler(MaterialButton)
Declaration
protected override void DisconnectHandler(MaterialButton platformView)
Parameters
platformView
MaterialButton
MapBackground(IRadButtonHandler, IRadButton)
Declaration
public static void MapBackground(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapBackgroundImage(IRadButtonHandler, IRadButton)
Declaration
public static void MapBackgroundImage(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapCornerRadius(IRadButtonHandler, IRadButton)
Declaration
public static void MapCornerRadius(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapHorizontalContentAlignment(IRadButtonHandler, IRadButton)
Declaration
public static void MapHorizontalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapPadding(IRadButtonHandler, IRadButton)
Declaration
public static void MapPadding(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapStrokeColor(IRadButtonHandler, IRadButton)
Declaration
public static void MapStrokeColor(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapStrokeThickness(IRadButtonHandler, IRadButton)
Declaration
public static void MapStrokeThickness(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapTextColor(IRadButtonHandler, IRadButton)
Declaration
public static void MapTextColor(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView
MapVerticalContentAlignment(IRadButtonHandler, IRadButton)
Declaration
public static void MapVerticalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)
Parameters
handler
virtualView