ComponentOne Gauges for WPF and Silverlight
C1.WPF.Gauge Namespace / C1GaugeMark Class / OnDetectMarkTemplate Method

In This Topic
    OnDetectMarkTemplate Method (C1GaugeMark)
    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 DataTemplate
    protected virtual 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