Class ChartTypeTemplateSelector
Represents the ChartTypeTemplateSelector class
Inheritance
System.Object
ChartTypeTemplateSelector
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartTypeTemplateSelector : DataTemplateSelector
Remarks
Selects the Template required for the chart types
Constructors
ChartTypeTemplateSelector()
Declaration
public ChartTypeTemplateSelector()
Properties
Default
Gets the default.
Declaration
public static ChartTypeTemplateSelector Default { get; }
Property Value
Type | Description |
---|---|
ChartTypeTemplateSelector | The default. |
Methods
SelectTemplate(Object, DependencyObject)
Overrides System.Windows.Controls.DataTemplateSelector.SelectTemplate(System.Object,System.Windows.DependencyObject) method.
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. |