Share via


ImageButton.GetShadowOffset Method

Definition

Overloads

Name Description
GetShadowOffset(BindableObject)

Gets the shadow offset on Android.

GetShadowOffset(IPlatformElementConfiguration<Android,ImageButton>)

Gets the shadow offset on Android.

GetShadowOffset(BindableObject)

Source:
ImageButton.cs
Source:
ImageButton.cs
Source:
ImageButton.cs
Source:
ImageButton.cs

Gets the shadow offset on Android.

public:
 static Microsoft::Maui::Graphics::Size GetShadowOffset(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Graphics.Size GetShadowOffset(Microsoft.Maui.Controls.BindableObject element);
static member GetShadowOffset : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Size
Public Function GetShadowOffset (element As BindableObject) As Size

Parameters

element
BindableObject

The image button element.

Returns

The shadow offset as a Size.

Applies to

GetShadowOffset(IPlatformElementConfiguration<Android,ImageButton>)

Source:
ImageButton.cs
Source:
ImageButton.cs
Source:
ImageButton.cs
Source:
ImageButton.cs

Gets the shadow offset on Android.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Graphics::Size GetShadowOffset(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::ImageButton ^> ^ config);
public static Microsoft.Maui.Graphics.Size GetShadowOffset(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.ImageButton> config);
static member GetShadowOffset : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.ImageButton> -> Microsoft.Maui.Graphics.Size
<Extension()>
Public Function GetShadowOffset (config As IPlatformElementConfiguration(Of Android, ImageButton)) As Size

Parameters

config
IPlatformElementConfiguration<Android,ImageButton>

The platform configuration.

Returns

The shadow offset as a Size.

Applies to