Class ChartAreaTemplateSelector
Class is used for template selection during changing axes type.
Inheritance
System.Object
ChartAreaTemplateSelector
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartAreaTemplateSelector : DataTemplateSelector
Constructors
ChartAreaTemplateSelector()
Declaration
public ChartAreaTemplateSelector()
Properties
CartesianTemplate
Gets or sets the Cartesian template.
Declaration
public DataTemplate CartesianTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The Cartesian template. |
NoneTemplate
Gets or sets the none template.
Declaration
public DataTemplate NoneTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The none template. |
PolarTemplate
Gets or sets the polar template.
Declaration
public DataTemplate PolarTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.DataTemplate | The polar template. |
Methods
SelectTemplate(Object, DependencyObject)
When overridden in a derived class, returns a System.Windows.DataTemplate based on custom logic.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | item | The data object for which to select the template. |
| System.Windows.DependencyObject | container | The data-bound object. |
Returns
| Type | Description |
|---|---|
| System.Windows.DataTemplate | Returns a System.Windows.DataTemplate or null. The default value is null. |