BaselineAlignment: Top : Span « Windows Presentation Foundation « VB.Net






BaselineAlignment: Top

BaselineAlignment: Top
     
<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="Top">Top</Span>
    </TextBlock>
    
</Page>

   
    
    
    
    
  








Related examples in the same category

1.BaselineAlignment: BaselineBaselineAlignment: Baseline
2.BaselineAlignment: CenterBaselineAlignment: Center
3.BaselineAlignment: SuperscriptBaselineAlignment: Superscript
4.BaselineAlignment: BottomBaselineAlignment: Bottom
5.BaselineAlignment: SubscriptBaselineAlignment: Subscript
6.BaselineAlignment: TextTopBaselineAlignment: TextTop
7.BaselineAlignment: TextBottomBaselineAlignment: TextBottom
8.Enabling discretionary ligaturesEnabling discretionary ligatures