BrushTypeConverter Class

Definition

A TypeConverter that converts strings, colors, and paints to Brush objects.

public ref class BrushTypeConverter : System::ComponentModel::TypeConverter
public class BrushTypeConverter : System.ComponentModel.TypeConverter
type BrushTypeConverter = class
    inherit TypeConverter
Public Class BrushTypeConverter
Inherits TypeConverter
Inheritance
BrushTypeConverter

Constructors

Name Description
BrushTypeConverter()

Fields

Name Description
Hsl

The CSS function name for HSL colors.

Hsla

The CSS function name for HSLA colors with alpha.

LinearGradient

The CSS function name for linear gradients.

RadialGradient

The CSS function name for radial gradients.

Rgb

The CSS function name for RGB colors.

Rgba

The CSS function name for RGBA colors with alpha.

Methods

Name Description
CanConvertFrom(ITypeDescriptorContext, Type)
CanConvertTo(ITypeDescriptorContext, Type)
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Applies to