Entry.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 entry text. |
SetFontWeight(IPlatformElementConfiguration<Tizen,Entry>, String) |
Sets the font weight on the entry text. |
SetFontWeight(BindableObject, String)
- Source:
- Entry.cs
- Source:
- Entry.cs
Sets the font weight on the entry 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 entry element on the Tizen platform whose font weight icon to set.
- weight
- String
The new font weight value.
Applies to
SetFontWeight(IPlatformElementConfiguration<Tizen,Entry>, String)
- Source:
- Entry.cs
- Source:
- Entry.cs
Sets the font weight on the entry text.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Entry ^> ^ SetFontWeight(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::Entry ^> ^ config, System::String ^ weight);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Entry> SetFontWeight (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.Entry> config, string weight);
static member SetFontWeight : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Entry> * string -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.Entry>
<Extension()>
Public Function SetFontWeight (config As IPlatformElementConfiguration(Of Tizen, Entry), weight As String) As IPlatformElementConfiguration(Of Tizen, Entry)
Parameters
- config
- IPlatformElementConfiguration<Tizen,Entry>
The platform configuration for the entry 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