VisualElement.GetStyle 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
GetStyle(BindableObject) |
Returns the style for the element. |
GetStyle(IPlatformElementConfiguration<Tizen,VisualElement>) |
The platform configuration for the visual element whose style to get. |
GetStyle(BindableObject)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
Returns the style for the element.
public:
static System::String ^ GetStyle(Microsoft::Maui::Controls::BindableObject ^ element);
public static string GetStyle(Microsoft.Maui.Controls.BindableObject element);
static member GetStyle : Microsoft.Maui.Controls.BindableObject -> string
Public Function GetStyle (element As BindableObject) As String
Parameters
- element
- BindableObject
The visual element whose style to get.
Returns
The style for the element.
Applies to
GetStyle(IPlatformElementConfiguration<Tizen,VisualElement>)
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
- Source:
- VisualElement.cs
The platform configuration for the visual element whose style to get.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ GetStyle(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::VisualElement ^> ^ config);
public static string GetStyle(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.VisualElement> config);
static member GetStyle : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.VisualElement> -> string
<Extension()>
Public Function GetStyle (config As IPlatformElementConfiguration(Of Tizen, VisualElement)) As String
Parameters
The platform configuration for the visual element whose style to get.
Returns
The style for the element.