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.
Applies to
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기