Label.SetFontWeight 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
SetFontWeight(BindableObject, String) |
Sets the font weight on the label text. |
SetFontWeight(IPlatformElementConfiguration<Tizen,Label>, String) |
Sets the font weight on the label text. |
SetFontWeight(BindableObject, String)
- Source:
- Label.cs
- Source:
- Label.cs
Sets the font weight on the label text.
public:
static void SetFontWeight(Microsoft::Maui::Controls::BindableObject ^ element, System::String ^ weight);
public static void SetFontWeight (Microsoft.Maui.Controls.BindableObject element, string weight);
static member SetFontWeight : Microsoft.Maui.Controls.BindableObject * string -> unit
Public Sub SetFontWeight (element As BindableObject, weight As String)
Parameters
- element
- BindableObject
The label element on the Tizen platform whose font weight icon to set.
- weight
- String
The new font weight value.
Applies to
SetFontWeight(IPlatformElementConfiguration<Tizen,Label>, String)
- Source:
- Label.cs
- Source:
- Label.cs
Sets the font weight on the label text.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Label ^> ^ SetFontWeight(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Label ^> ^ config, System::String ^ weight);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Label> SetFontWeight (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Label> config, string weight);
static member SetFontWeight : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Label> * string -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Label>
<Extension()>
Public Function SetFontWeight (config As IPlatformElementConfiguration(Of Tizen, Label), weight As String) As IPlatformElementConfiguration(Of Tizen, Label)
Parameters
- config
- IPlatformElementConfiguration<Tizen,Label>
The platform configuration for the label element on the Tizen platform whose font weight icon to set.
- weight
- String
The new font weight value.
Returns
A fluent object on which the developer may make further method calls.