Compartilhar via


Button.UseDefaultPadding Method

Definition

Returns true if the button will use the default padding. Otherwise, returns false.

public:
[System::Runtime::CompilerServices::Extension]
 static bool UseDefaultPadding(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::Button ^> ^ config);
public static bool UseDefaultPadding (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.Button> config);
static member UseDefaultPadding : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.Button> -> bool
<Extension()>
Public Function UseDefaultPadding (config As IPlatformElementConfiguration(Of Android, Button)) As Boolean

Parameters

config
IPlatformElementConfiguration<Android,Button>

The configuration for the Android button whose padding behavior to check.

Returns

true if the button will use the default padding. Otherwise, false.

Applies to