ImageButton.SetShadowOffset 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
| Name | Description |
|---|---|
| SetShadowOffset(BindableObject, Size) |
Sets the shadow offset on Android. |
| SetShadowOffset(IPlatformElementConfiguration<Android,ImageButton>, Size) |
Sets the shadow offset on Android. |
SetShadowOffset(BindableObject, Size)
- Source:
- ImageButton.cs
- Source:
- ImageButton.cs
- Source:
- ImageButton.cs
- Source:
- ImageButton.cs
Sets the shadow offset on Android.
public:
static void SetShadowOffset(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Graphics::Size value);
public static void SetShadowOffset(Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Graphics.Size value);
static member SetShadowOffset : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Size -> unit
Public Sub SetShadowOffset (element As BindableObject, value As Size)
Parameters
- element
- BindableObject
The image button element.
- value
- Size
The shadow offset as a Size.
Applies to
SetShadowOffset(IPlatformElementConfiguration<Android,ImageButton>, Size)
- Source:
- ImageButton.cs
- Source:
- ImageButton.cs
- Source:
- ImageButton.cs
- Source:
- ImageButton.cs
Sets the shadow offset on Android.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::ImageButton ^> ^ SetShadowOffset(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::ImageButton ^> ^ config, Microsoft::Maui::Graphics::Size value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.ImageButton> SetShadowOffset(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.ImageButton> config, Microsoft.Maui.Graphics.Size value);
static member SetShadowOffset : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.ImageButton> * Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.ImageButton>
<Extension()>
Public Function SetShadowOffset (config As IPlatformElementConfiguration(Of Android, ImageButton), value As Size) As IPlatformElementConfiguration(Of Android, ImageButton)
Parameters
The platform configuration.
- value
- Size
The shadow offset as a Size.
Returns
The platform configuration for fluent API chaining.