BaselineAlignment: TextBottom : Span « Windows Presentation Foundation « VB.Net Tutorial






<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">


<TextBlock Background="LightGreen"
           LineStackingStrategy="BlockLineHeight" LineHeight="40">
  Alignment:
  <Span FontSize="20" BaselineAlignment="Baseline">Baseline</Span>
  <Span BaselineAlignment="TextTop">TextTop</Span>
  <Span BaselineAlignment="TextBottom">TextBottom</Span>

</TextBlock>

</Page>
WPF Baseline Alignment Text Bottom








16.3.Span
16.3.1.BaselineAlignment: BaselineBaselineAlignment: Baseline
16.3.2.BaselineAlignment: CenterBaselineAlignment: Center
16.3.3.BaselineAlignment: TopBaselineAlignment: Top
16.3.4.BaselineAlignment: SuperscriptBaselineAlignment: Superscript
16.3.5.BaselineAlignment: BottomBaselineAlignment: Bottom
16.3.6.BaselineAlignment: SubscriptBaselineAlignment: Subscript
16.3.7.BaselineAlignment: TextTopBaselineAlignment: TextTop
16.3.8.BaselineAlignment: TextBottomBaselineAlignment: TextBottom
16.3.9.Enabling discretionary ligaturesEnabling discretionary ligatures