次の方法で共有


Label.GetFontWeight Method

Definition

Overloads

GetFontWeight(BindableObject)

Returns the font weight for the label text.

GetFontWeight(IPlatformElementConfiguration<Tizen,Label>)

Returns a string representation of the font weight for the label text.

GetFontWeight(BindableObject)

Source:
Label.cs
Source:
Label.cs

Returns the font weight for the label text.

public:
 static System::String ^ GetFontWeight(Microsoft::Maui::Controls::BindableObject ^ element);
public static string GetFontWeight (Microsoft.Maui.Controls.BindableObject element);
static member GetFontWeight : Microsoft.Maui.Controls.BindableObject -> string
Public Function GetFontWeight (element As BindableObject) As String

Parameters

element
BindableObject

The label element on the Tizen platform whose font weight icon to get.

Returns

The font weight for the label text.

Applies to

GetFontWeight(IPlatformElementConfiguration<Tizen,Label>)

Source:
Label.cs
Source:
Label.cs

Returns a string representation of the font weight for the label text.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetFontWeight(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Label ^> ^ config);
public static string GetFontWeight (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Label> config);
static member GetFontWeight : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Label> -> string
<Extension()>
Public Function GetFontWeight (config As IPlatformElementConfiguration(Of Tizen, Label)) As String

Parameters

config
IPlatformElementConfiguration<Tizen,Label>

The platform configuration for the label element on the Tizen platform whose font weight icon to get.

Returns

A string representation of the font weight for the label text.

Applies to