共用方式為


VisualElement.GetIsShadowEnabled 方法

定義

多載

GetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

取得布林值,指出是否已啟用陰影效果。

GetIsShadowEnabled(BindableObject)

取得布林值,指出是否已啟用陰影效果。

GetIsShadowEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

取得布林值,指出是否已啟用陰影效果。

public static bool GetIsShadowEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config);
static member GetIsShadowEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> -> bool

參數

config
IPlatformElementConfiguration<iOS,VisualElement>

平台特定組態,包含要對其執行作業的項目。

傳回

System.Boolean

如果已啟用陰影效果,則為 true。 否則為 false

適用於

GetIsShadowEnabled(BindableObject)

取得布林值,指出是否已啟用陰影效果。

public static bool GetIsShadowEnabled (Xamarin.Forms.BindableObject element);
static member GetIsShadowEnabled : Xamarin.Forms.BindableObject -> bool

參數

element
BindableObject

要對其執行作業的平台特定項目。

傳回

System.Boolean

如果已啟用陰影效果,則為 true。 否則為 false

適用於