This topic provides information about BrushEditor actions of the XamPropertyGrid™ control.
This topic contains the following sections:
Adds a gradient stop for the currently selected property.
The following table summarizes the action parameters followed by code examples where applicable.
The following list contains the possible exceptions to this action and the likely reason causing them.
The selected property is not of type Brush.
The specified value [dGradientLoc] is out of range.
The Color string provided [oColor], was invalid.
Moves the identified gradient stop..
The following table summarizes the action parameters followed by code examples where applicable.
The following list contains the possible exceptions to this action and the likely reason causing them.
The selected property is not of type Brush.
The specified index [iGradStopIndex] is out of range.
Removes a gradient stop for the currently selected property.
The following table summarizes the action parameters followed by code examples where applicable.
The following list contains the possible exceptions to this action and the likely reason causing them.
The selected property is not of type Brush.
The specified index [iGradStopIndex] is out of range.
Reverse the order of the gradient stops by clicking on the ReverseGradientStops button.
None
The following list contains the possible exceptions to this action and the likely reason causing them.
The selected property is not of type Brush.
The Color string provided [oColor] was invalid.
Selects the identified gradient stop.
The following table summarizes the action parameters followed by code examples where applicable.
The following list contains the possible exceptions to this action and the likely reason causing them.
The selected property is not of type Brush.
The specified index [iGradStopIndex] is out of range.
Set the type of brush for the currently selected property by clicking on one of the BrushType buttons (None, Solid, Gradient, Linear, Radial, HorizontalLinear, or VerticalLinear).
The following table summarizes the action parameters followed by code examples where applicable.
The following list contains the possible exceptions to this action and the likely reason causing them.
The selected property is not of type Brush.
The option supplied is not one of the valid options, valid options are [{0}].
Sets the current color to the supplied color.
The following table summarizes the action parameters followed by code examples where applicable.
The following list contains the possible exceptions to this action and the likely reason causing them.
The selected property is not of type Brush.
The Color string provided [oColor] was invalid.
The following topics provide additional information related to this topic.