diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/ITextable.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/ITextable.cs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/ITextable.cs b/Xamarin.Forms.Platform.Tizen/Native/ITextable.cs new file mode 100644 index 00000000..876646eb --- /dev/null +++ b/Xamarin.Forms.Platform.Tizen/Native/ITextable.cs @@ -0,0 +1,68 @@ +using EColor = ElmSharp.Color; + +namespace Xamarin.Forms.Platform.Tizen.Native +{ + /// <summary> + /// Interface defining properties of formattable text. + /// </summary> + public interface ITextable + { + /// <summary> + /// Get or sets the formatted text. + /// </summary> + FormattedString FormattedText { get; set; } + + /// <summary> + /// Gets or sets the text. + /// </summary> + string Text { get; set; } + + /// <summary> + /// Gets or sets the color for the text. + /// </summary> + EColor TextColor { get; set; } + + /// <summary> + /// Gets or sets the background color for the text. + /// </summary> + EColor TextBackgroundColor { get; set; } + + /// <summary> + /// Gets or sets the font family for the text. + /// </summary> + string FontFamily { get; set; } + + /// <summary> + /// Gets or sets the font attributes for the text. + /// See <see cref="FontAttributes"/> for information about FontAttributes. + /// </summary> + FontAttributes FontAttributes { get; set; } + + /// <summary> + /// Gets or sets the font size for the text. + /// </summary> + double FontSize { get; set; } + + /// <summary> + /// Gets or sets the horizontal alignment mode for the text. + /// See <see cref="TextAlignment"/> for information about TextAlignment. + /// </summary> + TextAlignment HorizontalTextAlignment { get; set; } + + /// <summary> + /// Gets or sets the vertical alignment mode for the text. + /// See <see cref="TextAlignment"/> for information about TextAlignment. + /// </summary> + TextAlignment VerticalTextAlignment { get; set; } + + /// <summary> + /// Gets or sets the value that indicates whether the text has underline. + /// </summary> + bool Underline { get; set; } + + /// <summary> + /// Gets or sets the value that indicates whether the text has strike line though it. + /// </summary> + bool Strikethrough { get; set; } + } +} |