An IValueConverter that selects a SolidColorBrush based on the given integer value.

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

Syntax

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

Inheritance Hierarchy

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

See Also