ComponentOne Gauges for WPF and Silverlight
GetPresenter Method (C1GaugeDecorator)

C1.WPF.Gauge Namespace > C1GaugeDecorator Class : GetPresenter Method
The context.
The value.
Create ControlPresenter for a value or get it from the cache.
Syntax
'Declaration
 
Protected Function GetPresenter( _
   ByVal context As GaugeDrawingContext, _
   ByVal value As System.Double _
) As System.Windows.Controls.ContentPresenter
protected System.Windows.Controls.ContentPresenter GetPresenter( 
   GaugeDrawingContext context,
   System.double value
)

Parameters

context
The context.
value
The value.
See Also

Reference

C1GaugeDecorator Class
C1GaugeDecorator Members