Condividi tramite


Button.ButtonContentLayout Class

Definition

Represents the layout of the button content whenever an image is shown.

public: ref class Button::ButtonContentLayout sealed
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.Button+ButtonContentTypeConverter))]
public sealed class Button.ButtonContentLayout
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.Button+ButtonContentTypeConverter))>]
type Button.ButtonContentLayout = class
Public NotInheritable Class Button.ButtonContentLayout
Inheritance
Button.ButtonContentLayout
Attributes

Constructors

Button.ButtonContentLayout(Button+ButtonContentLayout+ImagePosition, Double)

Initializes a new instance of the this class.

Properties

Position

Gets the position of the image on the button.

Spacing

Gets the spacing for the button content.

Methods

ToString()

Gets the string representation of this object.

Applies to