Xceed Toolkit for Maui v2.0 Documentation
TitleLabelTemplate Property
Example 


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > Axis Class : TitleLabelTemplate Property
Gets or sets the DataTemplate that will be used when displaying the AxisTitle.
Syntax
'Declaration
 
Public Property TitleLabelTemplate As DataTemplate
'Usage
 
Dim instance As Axis
Dim value As DataTemplate
 
instance.TitleLabelTemplate = value
 
value = instance.TitleLabelTemplate
public DataTemplate TitleLabelTemplate {get; set;}
Example
<xctk:Chart.HorizontalAxis>
  <xctk:Axis Title="My Axis title">
    <xctk:Axis.TitleLabelTemplate>
      <DataTemplate>
        <xctk:Border Margin="5"
                     BorderThickness="2"
                     BorderBrush="Green"
                     CornerRadius="3"
                     HorizontalOptions="Center"
                     VerticalOptions="Center">
          <Label FontAttributes="Italic"
                 FontSize="12"
                 Text="{Binding Text}"
                 TextColor="Green"/>
        </xctk:Border>
      </DataTemplate>
    </xctk:Axis.TitleLabelTemplate>
  </xctk.Axis>
</xctk:Chart.HorizontalAxis>
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Axis Class
Axis Members