Xceed Toolkit for Maui v2.0 Documentation
DataPointLabelLineTemplate Property
Example 


Xceed.Maui.Toolkit Assembly > Xceed.Maui.Toolkit Namespace > Series Class : DataPointLabelLineTemplate Property
Gets or sets the DataTemplate that will be used for the line connecting the DataPointMarker to its label.
Syntax
'Declaration
 
Public Property DataPointLabelLineTemplate As DataTemplate
'Usage
 
Dim instance As Series
Dim value As DataTemplate
 
instance.DataPointLabelLineTemplate = value
 
value = instance.DataPointLabelLineTemplate
public DataTemplate DataPointLabelLineTemplate {get; set;}
Remarks
Note that the ShowDataPointLabel property needs to be set to true in order to make said label visible.
Example
<xctk:Series.DataPointLabelLineTemplate>
  <DataTemplate>
    <Polyline Points="{Binding Points}"
              Stroke="Red"
              StrokeThickness="2"/>
  </DataTemplate>
<xctk:Series.DataPointLabelLineTemplate>
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

Series Class
Series Members