ComponentOne Gauges for WPF and Silverlight
OnDetectMarkTemplate Method (C1GaugeMark)

C1.WPF.Gauge Namespace > C1GaugeMark Class : OnDetectMarkTemplate Method
Finds the DataTemplate to use when the Template property is not directly set in the C1GaugeMark.
Syntax
'Declaration
 
Protected Overridable Function OnDetectMarkTemplate() As System.Windows.DataTemplate
protected virtual System.Windows.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

Reference

C1GaugeMark Class
C1GaugeMark Members