Converts the level value of a star diagram node into a LinearGradientBrush. The level value indicates what color will be used in the brush.

Namespace:  Mindscape.WpfDiagramming.StarDiagrams
Assembly:  Mindscape.WpfDiagramming.StarDiagrams (in Mindscape.WpfDiagramming.StarDiagrams.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
[ValueConversionAttribute(typeof(int), typeof(Brush))]
[ContentPropertyAttribute("Colors")]
public class LevelToGradientBrushConverter : LevelToBrushConverterBase
Visual Basic (Declaration)
<ValueConversionAttribute(GetType(Integer), GetType(Brush))> _
<ContentPropertyAttribute("Colors")> _
Public Class LevelToGradientBrushConverter _
	Inherits LevelToBrushConverterBase

Inheritance Hierarchy

System..::.Object
  Mindscape.WpfDiagramming.StarDiagrams..::.LevelToBrushConverterBase
    Mindscape.WpfDiagramming.StarDiagrams..::.LevelToGradientBrushConverter

See Also