VisualElement.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
SetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>, Size) |
Sets the shadow offset. |
SetShadowOffset(BindableObject, Size) |
Sets the shadow offset. |
SetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>, Size)
Sets the shadow offset.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetShadowOffset(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, Microsoft::Maui::Graphics::Size value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> SetShadowOffset (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> config, Microsoft.Maui.Graphics.Size value);
static member SetShadowOffset : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement> * Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetShadowOffset (config As IPlatformElementConfiguration(Of iOS, VisualElement), value As Size) As IPlatformElementConfiguration(Of iOS, VisualElement)
Parameters
The platform specific configuration that contains the element on which to perform the operation.
- value
- Size
The new shadow offset value.
Returns
The updated configuration object on which developers can make successive method calls.
Applies to
SetShadowOffset(BindableObject, Size)
Sets the shadow offset.
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 platform specific element on which to perform the operation.
- value
- Size
The new shadow offset value.