Class TemplateSelector
Represents the TemplateSelector class.
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public class TemplateSelector : DependencyObject
Constructors
TemplateSelector()
Initializes a new instance of theTemplateSelector class.
Declaration
public TemplateSelector()
Properties
DataCount
Gets the data count.
Declaration
public int DataCount { get; }
Property Value
Type |
---|
System.Int32 |
MaximumY
Gets the maximum Y axis value.
Declaration
public double MaximumY { get; }
Property Value
Type |
---|
System.Double |
MinimumX
Gets the minimum X axis value.
Declaration
public double MinimumX { get; }
Property Value
Type |
---|
System.Double |
MinimumY
Gets the minimum Y axis value.
Declaration
public double MinimumY { get; }
Property Value
Type |
---|
System.Double |
Sparkline
Gets the sparkline.
Declaration
public SparklineBase Sparkline { get; }
Property Value
Type |
---|
SparklineBase |
Methods
SelectTemplate(Double, Double)
Selects the required template.
Declaration
protected virtual DataTemplate SelectTemplate(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x value. |
System.Double | y | The y value |
Returns
Type | Description |
---|---|
System.Windows.DataTemplate | Returns the selected template. |