Class
RadButtonHandler

Provides a handler for IRadButton controls that extends the base functionality.

Definition

Namespace:Telerik.Maui.Handlers

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class RadButtonHandler : ButtonHandler, IRadButtonHandler, IButtonHandler, IViewHandler, IElementHandler

Inheritance: objectRadButtonHandler

Implements: IButtonHandlerIElementHandlerIRadButtonHandlerIViewHandler

Constructors

RadButtonHandler()

Initializes a new instance of the RadButtonHandler class with the default property mapper.

Declaration

cs-api-definition
public RadButtonHandler()

RadButtonHandler(IPropertyMapper)

Initializes a new instance of the RadButtonHandler class with the specified property mapper.

Declaration

cs-api-definition
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

cs-api-definition
public static readonly IPropertyMapper<IRadButton, IRadButtonHandler> RadButtonMapper

Field Value

IPropertyMapper<IRadButton, IRadButtonHandler>

Properties

BackgroundImage

Declaration

cs-api-definition
public Drawable BackgroundImage { get; }

Property Value

Drawable

Implements IRadButtonHandler.BackgroundImage

BackgroundImageSourceLoader

Gets the background image source loader for the button.

Declaration

cs-api-definition
public ImageSourcePartLoader BackgroundImageSourceLoader { get; }

Property Value

ImageSourcePartLoader

Implements IRadButtonHandler.BackgroundImageSourceLoader

VirtualView

Gets the virtual view as an IRadButton.

Declaration

cs-api-definition
public IRadButton VirtualView { get; }

Property Value

IRadButton

Methods

ConnectHandler(MaterialButton)

Declaration

cs-api-definition
protected override void ConnectHandler(MaterialButton platformView)

Parameters

platformView

MaterialButton

CreatePlatformView()

Declaration

cs-api-definition
protected override MaterialButton CreatePlatformView()

Returns

MaterialButton

DisconnectHandler(MaterialButton)

Declaration

cs-api-definition
protected override void DisconnectHandler(MaterialButton platformView)

Parameters

platformView

MaterialButton

MapBackground(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapBackground(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapBackgroundImage(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapBackgroundImage(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapCornerRadius(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapCornerRadius(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapHorizontalContentAlignment(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapHorizontalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapPadding(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapPadding(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapStrokeColor(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapStrokeColor(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapStrokeThickness(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapStrokeThickness(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapTextColor(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapTextColor(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton

MapVerticalContentAlignment(IRadButtonHandler, IRadButton)

Declaration

cs-api-definition
public static void MapVerticalContentAlignment(IRadButtonHandler handler, IRadButton virtualView)

Parameters

handler

IRadButtonHandler

virtualView

IRadButton