diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/Entry.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Entry.cs | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Entry.cs b/Xamarin.Forms.Platform.Tizen/Native/Entry.cs index 808155c5..003a298b 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Entry.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Entry.cs @@ -1,4 +1,4 @@ -using System; +using System; using ElmSharp; using EEntry = ElmSharp.Entry; using EColor = ElmSharp.Color; @@ -180,6 +180,30 @@ namespace Xamarin.Forms.Platform.Tizen.Native } /// <summary> + /// Gets or sets the font weight for the text. + /// </summary> + /// <value>The weight of the font.</value> + public FontWeight FontWeight + { + get + { + return _span.FontWeight; + } + + set + { + if (value != _span.FontWeight) + { + _span.FontWeight = value; + ApplyTextAndStyle(); + + _placeholderSpan.FontWeight = value; + ApplyPlaceholderAndStyle(); + } + } + } + + /// <summary> /// Gets or sets the horizontal text alignment of both text and placeholder. /// </summary> /// <value>The horizontal text alignment of both text and placeholder.</value> |