summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Native/Label.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-01-24 14:09:11 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-04-24 13:36:52 +0900
commitb4d15c3fa75dd0bdf2600f80c7623adf06ba84e0 (patch)
tree7fb6e1e6c53122dfd5953d3dad0646e713ffdca7 /Xamarin.Forms.Platform.Tizen/Native/Label.cs
parentbb9c8517a890e4a9d1a96e1f99bc9123dcc8a0a6 (diff)
downloadxamarin-forms-b4d15c3fa75dd0bdf2600f80c7623adf06ba84e0.tar.gz
xamarin-forms-b4d15c3fa75dd0bdf2600f80c7623adf06ba84e0.tar.bz2
xamarin-forms-b4d15c3fa75dd0bdf2600f80c7623adf06ba84e0.zip
Add FontWeight for Label and Entry
- This change is for the referernce application (Clock) to follow UX guideline. (Internal only). - We will improve design and implementation of this APIs in the next release, if requred. Change-Id: Ifac91174a5859adecc9ec6bff1a1d568512ee70b
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/Label.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/Label.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Label.cs b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
index 9d52cde2..231127c2 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/Label.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/Label.cs
@@ -175,6 +175,27 @@ 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();
+ }
+ }
+ }
+
+ /// <summary>
/// Gets or sets the line wrap option.
/// </summary>
/// <value>The line break mode.</value>