Share via


VisualElement.GetIsShadowEnabled Method

Definition

Overloads

GetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Gets whether or not the shadow effect is enabled.

GetIsShadowEnabled(BindableObject)

Gets whether or not the shadow effect is enabled.

GetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets whether or not the shadow effect is enabled.

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

Parameters

config
IPlatformElementConfiguration<iOS,VisualElement>

The platform specific configuration that contains the element on which to perform the operation.

Returns

true if the shadow effect is enabled. Otherwise, false.

Applies to

GetIsShadowEnabled(BindableObject)

Source:
VisualElement.cs
Source:
VisualElement.cs

Gets whether or not the shadow effect is enabled.

public:
 static bool GetIsShadowEnabled(Microsoft::Maui::Controls::BindableObject ^ element);
public static bool GetIsShadowEnabled (Microsoft.Maui.Controls.BindableObject element);
static member GetIsShadowEnabled : Microsoft.Maui.Controls.BindableObject -> bool
Public Function GetIsShadowEnabled (element As BindableObject) As Boolean

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

Returns

true if the shadow effect is enabled. Otherwise, false.

Applies to