Version

BrushResourcesLoading Event

Raised when the built-in editor for a brush property is about to initialize the list of brush resources available for selection in the brush editor.
Syntax
'Declaration
 
Public Event BrushResourcesLoading As EventHandler(Of BrushResourcesEventArgs)
public event EventHandler<BrushResourcesEventArgs> BrushResourcesLoading
Event Data

The event handler receives an argument of type BrushResourcesEventArgs containing data related to this event. The following BrushResourcesEventArgs properties provide information specific to this event.

PropertyDescription
AutomaticallyIncludeSystemBrushResources Returns/sets whether the built-in brush editor should automatically include System brush resources in the list of s
BrushResources Returns a list of Infragistics.Controls.Editors.Primitives.PropertyGridBrushResourceItems that represent the brush resources to be displayed in the brush editor for the specified PropertyGridPropertyItem.
Cancel (Inherited from Infragistics.CancellableEventArgs) 
PropertyItem Returns the property (of type Brush) for which a list of Infragistics.Controls.Editors.Primitives.PropertyGridBrushResourceItems should be returned (via the BrushResources property).
Remarks
NOTE: To enable the selection of a brush from a list of brush resources in the built-in brush editor, handle this event
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also