/// <value>The vertical text alignment.</value>
public TextAlignment VerticalTextAlignment
{
- get
- {
- return _span.VerticalTextAlignment;
- }
-
- set
- {
- if (value != _span.VerticalTextAlignment)
- {
- _span.VerticalTextAlignment = value;
- ApplyTextAndStyle();
- }
- }
+ // TODO. need to EFL new API
+ get;
+ set;
}
/// <summary>
public TextAlignment HorizontalTextAlignment { get; set; }
/// <summary>
- /// Gets or sets the vertical alignment mode for the text.
- /// See <see cref="TextAlignment"/> for information about TextAlignment.
- /// </summary>
- public TextAlignment VerticalTextAlignment { get; set; }
-
- /// <summary>
/// Gets or sets the value that indicates whether the text has underline.
/// </summary>
public bool Underline { get; set; }
ForegroundColor = EColor.Default;
BackgroundColor = EColor.Default;
HorizontalTextAlignment = TextAlignment.None;
- VerticalTextAlignment = TextAlignment.None;
LineBreakMode = LineBreakMode.None;
Underline = false;
Strikethrough = false;
break;
}
- switch (VerticalTextAlignment)
- {
- case TextAlignment.Auto:
- case TextAlignment.Start:
- _formattingString.Append("valign=top ");
- break;
-
- case TextAlignment.End:
- _formattingString.Append("valign=bottom ");
- break;
-
- case TextAlignment.Center:
- _formattingString.Append("valign=middle ");
- break;
-
- case TextAlignment.None:
- break;
- }
-
switch (LineBreakMode)
{
case LineBreakMode.NoWrap: