Creates the predefined brushes used to paint linear gauge bars.
Definition
Namespace:Telerik.WinControls.UI.Gauges
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class LinearGaugeBrushFactory : IBrushFactory
Inheritance: objectLinearGaugeBrushFactory
Implements:
Constructors
C#
public LinearGaugeBrushFactory()
Methods
Creates a brush for a linear gauge bar and requested style.
C#
public Brush CreateBrush(GaugeVisualElement owner, GaugeBrushType type)
The gauge visual to paint.
typeGaugeBrushTypeThe requested brush style.
Returns:A solid or gradient brush for a LinearGaugeBar, or null when the visual or style is unsupported. The rainbow styles use the same palette. The built-in bar renderer does not guard against a null brush, so unsupported styles cannot be used with it.
Implements: