menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TemplateSelector - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TemplateSelector

    Represents the TemplateSelector class.

    Inheritance
    System.Object
    TemplateSelector
    SegmentTemplateSelector
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.UWP.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
    Windows.UI.Xaml.DataTemplate

    Returns the selected template.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved