ColorUtilities.GetBrushFromCache(Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a brush that corresponds to a color. The brushes are stored in a cache.
public static System.Windows.Media.SolidColorBrush GetBrushFromCache (System.Windows.Media.Color color);
static member GetBrushFromCache : System.Windows.Media.Color -> System.Windows.Media.SolidColorBrush
Public Function GetBrushFromCache (color As Color) As SolidColorBrush
Parameters
- color
- Color
The color used to get the brush
Returns
The brush that corresponds to the color