Button.SetUseDefaultShadow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetUseDefaultShadow(BindableObject, Boolean) |
Sets a Boolean value that controls whether the button will use the default shadow. |
SetUseDefaultShadow(IPlatformElementConfiguration<Android,Button>, Boolean) |
Sets a Boolean value that controls whether the button will use the default shadow. |
SetUseDefaultShadow(BindableObject, Boolean)
- Source:
- Button.cs
- Source:
- Button.cs
Sets a Boolean value that controls whether the button will use the default shadow.
public:
static void SetUseDefaultShadow(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetUseDefaultShadow (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetUseDefaultShadow : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetUseDefaultShadow (element As BindableObject, value As Boolean)
Parameters
- element
- BindableObject
The Android button whose shadow behavior to set.
- value
- Boolean
true
to use the default shadow. Otherwise, false
Applies to
SetUseDefaultShadow(IPlatformElementConfiguration<Android,Button>, Boolean)
- Source:
- Button.cs
- Source:
- Button.cs
Sets a Boolean value that controls whether the button will use the default shadow.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::Button ^> ^ SetUseDefaultShadow(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::Button ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.Button> SetUseDefaultShadow (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.Button> config, bool value);
static member SetUseDefaultShadow : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.Button> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.Button>
<Extension()>
Public Function SetUseDefaultShadow (config As IPlatformElementConfiguration(Of Android, Button), value As Boolean) As IPlatformElementConfiguration(Of Android, Button)
Parameters
The configuration for the Android button whose shadow behavior to set.
- value
- Boolean
true
to use the default shadow. Otherwise, false
Returns
A fluent object on which the developer may make further method calls.