Share via


Button.UseDefaultShadow Method

Definition

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

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

Parameters

config
IPlatformElementConfiguration<Android,Button>

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

Returns

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

Applies to