VisualElement.GetShadowOffset 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
GetShadowOffset(BindableObject) |
Gets the current shadow offset. |
GetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>) |
Gets the current shadow offset. |
GetShadowOffset(BindableObject)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Gets the current shadow offset.
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 platform specific element on which to perform the operation.
Returns
The current shadow offset.
Applies to
GetShadowOffset(IPlatformElementConfiguration<iOS,VisualElement>)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Gets the current shadow offset.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Graphics::Size GetShadowOffset(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ config);
public static Microsoft.Maui.Graphics.Size GetShadowOffset (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> config);
static member GetShadowOffset : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement> -> Microsoft.Maui.Graphics.Size
<Extension()>
Public Function GetShadowOffset (config As IPlatformElementConfiguration(Of iOS, VisualElement)) As Size
Parameters
The platform specific configuration that contains the element on which to perform the operation.
Returns
The current shadow offset.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.