C# Class Microsoft.Maui.Handlers.ButtonHandler

Inheritance: ViewHandler
Mostra file Open project: jsuarezruiz/maui-linux Class Usage Examples

Public Methods

Method Description
MapCharacterSpacing ( IButtonHandler handler, ITextStyle button ) : void
MapCornerRadius ( IButtonHandler handler, IButtonStroke buttonStroke ) : void
MapFont ( IButtonHandler handler, ITextStyle button ) : void
MapFormatting ( IButtonHandler handler, IText button ) : void
MapImageSource ( IButtonHandler handler, IImageButton image ) : void
MapImageSourceAsync ( IButtonHandler handler, IImageButton image ) : Task
MapPadding ( IButtonHandler handler, button ) : void
MapStrokeColor ( IButtonHandler handler, IButtonStroke buttonStroke ) : void
MapStrokeThickness ( IButtonHandler handler, IButtonStroke buttonStroke ) : void
MapText ( IButtonHandler handler, IText button ) : void
MapTextColor ( IButtonHandler handler, ITextStyle button ) : void

Protected Methods

Method Description
ConnectHandler ( nativeView ) : void
CreateNativeView ( ) : UIButton
DisconnectHandler ( nativeView ) : void

Private Methods

Method Description
OnButtonTouchDown ( object? sender, EventArgs e ) : void
OnButtonTouchUpInside ( object? sender, EventArgs e ) : void
OnButtonTouchUpOutside ( object? sender, EventArgs e ) : void
OnSetImageSource ( UIImage? image ) : void
SetControlPropertiesFromProxy ( nativeView ) : void
SetupDefaults ( nativeView ) : void

Method Details

ConnectHandler() protected method

protected ConnectHandler ( nativeView ) : void
return void

CreateNativeView() protected method

protected CreateNativeView ( ) : UIButton
return UIButton

DisconnectHandler() protected method

protected DisconnectHandler ( nativeView ) : void
return void

MapCharacterSpacing() public static method

public static MapCharacterSpacing ( IButtonHandler handler, ITextStyle button ) : void
handler IButtonHandler
button ITextStyle
return void

MapCornerRadius() public static method

public static MapCornerRadius ( IButtonHandler handler, IButtonStroke buttonStroke ) : void
handler IButtonHandler
buttonStroke IButtonStroke
return void

MapFont() public static method

public static MapFont ( IButtonHandler handler, ITextStyle button ) : void
handler IButtonHandler
button ITextStyle
return void

MapFormatting() public static method

public static MapFormatting ( IButtonHandler handler, IText button ) : void
handler IButtonHandler
button IText
return void

MapImageSource() public static method

public static MapImageSource ( IButtonHandler handler, IImageButton image ) : void
handler IButtonHandler
image IImageButton
return void

MapImageSourceAsync() public static method

public static MapImageSourceAsync ( IButtonHandler handler, IImageButton image ) : Task
handler IButtonHandler
image IImageButton
return Task

MapPadding() public static method

public static MapPadding ( IButtonHandler handler, button ) : void
handler IButtonHandler
return void

MapStrokeColor() public static method

public static MapStrokeColor ( IButtonHandler handler, IButtonStroke buttonStroke ) : void
handler IButtonHandler
buttonStroke IButtonStroke
return void

MapStrokeThickness() public static method

public static MapStrokeThickness ( IButtonHandler handler, IButtonStroke buttonStroke ) : void
handler IButtonHandler
buttonStroke IButtonStroke
return void

MapText() public static method

public static MapText ( IButtonHandler handler, IText button ) : void
handler IButtonHandler
button IText
return void

MapTextColor() public static method

public static MapTextColor ( IButtonHandler handler, ITextStyle button ) : void
handler IButtonHandler
button ITextStyle
return void