Back to Devexpress

BrushEdit Class

wpf-devexpress-dot-xpf-dot-propertygrid-cd0ce631.md

latest2.7 KB
Original Source

BrushEdit Class

Represents a brush editor.

Namespace : DevExpress.Xpf.PropertyGrid

Assembly : DevExpress.Xpf.PropertyGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public class BrushEdit :
    BrushEditBase
vb
Public Class BrushEdit
    Inherits BrushEditBase

Remarks

The BrushEdit control provides numerous options to pick a color and includes the gradient support.

Tip

The BrushEdit class inherits its features from the BaseEdit class.

Refer to the BaseEdit class description for information on derived features and API.

The BrushEdit control offers the following features.

  • Multiple brush types

  • Multiple color models

  • Visual color selection

  • Empty brush

  • Complementary popup control

Create a BrushEdit

xaml
<Window ...
 xmlns:dxprg="http://schemas.devexpress.com/winfx/2008/xaml/propertygrid">
 ...
 <dxprg:BrushEdit/>
 ...

Editor Value

The EditValue property contains an editor’s current value which is valid. If an end user has entered an invalid value, it is not posted to EditValue until it is corrected.

The EditValueChanged event occurs after the edit value has been validated and changed.

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control BaseEdit DevExpress.Xpf.Editors.BrushEditBase BrushEdit

See Also

BrushEdit Members

DevExpress.Xpf.PropertyGrid Namespace