MobileForms Toolkit Documentation

AdvancedTree.GetBrush Method 

Get the SolidBrush of the given Color.

public static SolidBrush GetBrush(
Color c
);

Parameters

c
Color of the SolidBrush.

Return Value

The SolidBrush to be used for painting.

Remarks

The method is used as an optimalization, that caches the brush for drawing. It is not thread safe.

See Also

AdvancedTree Class | Resco.Controls.AdvancedTree Namespace