BaselineAlignment: Center : 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">
      Alignment:
      <Span BaselineAlignment="Center">Center</Span>
    </TextBlock>
    
</Page>
WPF Baseline Alignment Center








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