ComponentOne Gauge for UWP
C1.UWP.Gauge Assembly / C1.Xaml.Gauge Namespace / C1GaugeMark Class / OnDetectMarkTemplate Method

In This Topic
    OnDetectMarkTemplate Method
    In This Topic
    Finds the DataTemplate to use when the Template property is not directly set in the C1GaugeMark.
    Syntax
    'Declaration
     
    Protected Overridable Function OnDetectMarkTemplate() As Windows.UI.Xaml.DataTemplate
    protected virtual Windows.UI.Xaml.DataTemplate OnDetectMarkTemplate()

    Return Value

    Returns: C1Gauge.DefaultBigMarkTemplate for the first untemplated mark, (in appearance order in the C1Gauge.Decorators), C1Gauge.DefaultMiddleMarkTemplate for the second untemplated mark and C1Gauge.DefaultSmallMarkTemplate for any other untemplated mark.
    See Also