Xceed Toolkit for Maui v2.0 Documentation
TickTemplate Property
Example 


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > Axis Class : TickTemplate Property
Gets or sets the DataTemplate that will be used when displaying the ticks on the Axis.
Syntax
'Declaration
 
Public Property TickTemplate As DataTemplate
'Usage
 
Dim instance As Axis
Dim value As DataTemplate
 
instance.TickTemplate = value
 
value = instance.TickTemplate
public DataTemplate TickTemplate {get; set;}
Remarks
Note that ticks are usually lines.
Example
<xctk:Chart.HorizontalAxis>
  <xctk:Axis>
    <xctk:Axis.TickTemplate>
      <DataTemplate>
        <Grid>
          <Polyline Points="{Binding Points}"
                    Stroke="Red"
                    StrokeThickness="2"/>
        </Grid>
      </DataTemplate>
    </xctk:Axis.TickTemplate>
  </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