The LevelToGradientBrushConverter type exposes the following members.

Constructors

Methods

  NameDescription
Convert
Picks a color from an array of colors according to the given integer. A SolidColourBrush with the picked color is then returned.
(Inherited from LevelToBrushConverterBase.)
ConvertBack
Converts a value from a binding target for writing to a binding source.
(Inherited from LevelToBrushConverterBase.)
ConvertLevelToBrush
Gets the gradient brush for nodes of the specified level.
(Overrides LevelToBrushConverterBase..::.ConvertLevelToBrush(Int32).)

Properties

  NameDescription
ColorFactor
Gets or sets the factor that is used to derive the two gradient colors. This value should typically be between 0-1, and the smaller the value, the larger the distance between the two colors.
Colors
Gets the list of colors to be used for drawing the nodes, in level order.
EndPoint
Gets or sets the ending point of the gradient.
StartPoint
Gets or sets the starting point of the gradient.

See Also