[]
        
(Showing Draft Content)

C1.WPF.Extended.PropertyGrid.BoolEditor

BoolEditor Class

Default editor used by C1PropertyGrid to edit bool values.

Namespace: C1.WPF.Extended.PropertyGrid
Assembly: C1.WPF.Extended.4.6.2.dll
Syntax
public class BoolEditor : CheckBox, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource, ITypeMutipleEditorControl, ITypeEditorControl

Constructors

Name Description
BoolEditor()

Methods

Name Description
Attach(PropertyAttribute)

Attaches (initializes) the editor with the current property.

Attach(PropertyGroup)

Attaches (initializes) the editor with the current Group.

Create()

Creates ands initializes a new instance of the editor

Detach(PropertyAttribute)

Detaches (releases) the editor that was attached with the property passed as parameter.

OnValueChanged()

Called when value bound to this editor is changed.

SetDefaultValue()

set a value when all properties in the group has not a same property value

Supports(PropertyAttribute)

Returns true if the editor supports (is able to show/edit) the property values described by the PropertyAttribute.

ToString()

Returns a string that represents this instance.

Events

Name Description
ValueChanged

Fired when the value of the current property has changed.