Table of Contents

Class PropertyGridAdapterBrush

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Helper class for using Brush properties in the PropertyGrid.

public class PropertyGridAdapterBrush : PropertyGridAdapterGeneric
Inheritance
PropertyGridAdapterBrush

Properties

Brush

Returns Value as Brush.

BrushType

Gets or sets type of the brush.

Color

Gets or sets brush color.

DefaultColor

Gets or sets default value for the Color property.

DefaultEndColor

Gets or sets default value for the EndColor property.

DefaultLinearGradientEnd

Gets or sets default value for the LinearGradientEnd property.

DefaultLinearGradientStart

Gets or sets default value for the LinearGradientStart property.

DefaultRadialGradientCenter

Gets or sets default value for the RadialGradientCenter property.

DefaultRadialGradientOrigin

Gets or sets default value for the RadialGradientOrigin property.

DefaultRadialGradientRadius

Gets or sets default value for the RadialGradientRadius property.

EndColor

Gets or sets gradient brush end color.

GradientStops

Gets or sets the GradientStop instances array defining the color transition in this brush.

HatchStyle

Gets the hatch style of this HatchBrush object.

Image

Gets the texture of this brush object.

LinearGradientEnd

Gets or sets the ending two-dimensional coordinates of the linear gradient.

LinearGradientStart

Gets or sets the starting two-dimensional coordinates of the linear gradient.

RadialGradientCenter

Gets or sets the center of the outermost circle of the radial gradient.

RadialGradientOrigin

Gets or sets the location of the two-dimensional focal point that defines the beginning of the gradient.

RadialGradientRadius

Gets or sets the radius of the outermost circle of the radial gradient.

Methods

CreateProps(IPropertyGrid)

Creates properties to show in PropertyGrid.

Load()

Loads instance property value.

Save()

Updates instance property value.