Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / Series Class / Template Property
Example


In This Topic
    Template Property
    In This Topic
    Gets or sets the DataTemplate that will be used for the Series.
    Syntax
    'Declaration
     
    
    Public Property Template As DataTemplate
    'Usage
     
    
    Dim instance As Series
    Dim value As DataTemplate
     
    instance.Template = value
     
    value = instance.Template
    public DataTemplate Template {get; set;}
    Example
    In the following example, the line connecting the DataPoints is stylized & still maintains its connective purpose through the binding.
    <xctk:Series.Template>
      <DataTemplate>
        <Polyline Points="{Binding Points}"
                  Stroke="Orange"
                  StrokeThickness="5"/>
      </DataTemplate>
    </xctk:Series.Template>
    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