Class CustomEditor
Represents the CustomEditor class
Inheritance
Implements
Namespace: Syncfusion.Windows.PropertyGrid
Assembly: Syncfusion.PropertyGrid.Wpf.dll
Syntax
public class CustomEditor : Object, ITypeCustomEditor
Constructors
CustomEditor()
Represents the CustomEditor Constructor
Declaration
public CustomEditor()
Properties
ConstructorParameters
Gets or sets the parameters that are used to create the instance of type specified in EditorType.
Declaration
public IList<object> ConstructorParameters { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Object> | The default value is null. |
Remarks
When value is null, editor is created using default constructor. When value is specified, editor is created based on specified type using the constructor that best matches the specified parameters.
Editor
Get and set the Editor
Declaration
public ITypeEditor Editor { get; set; }
Property Value
Type |
---|
ITypeEditor |
EditorType
Gets or sets the value that represents the type of the editor for the properties configured.
Declaration
public Type EditorType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | Default value is null. |
Remarks
New editor instance is created for each properties configured. When both EditorType and Editor is specified, EditorType property has more precedence then Editor property. Use Editor to configure same editor for specified properties.
HasPropertyType
Get and Set the HasPropertyType
Declaration
public bool HasPropertyType { get; set; }
Property Value
Type |
---|
System.Boolean |
Properties
Get and Set the collection of properties
Declaration
public ObservableCollection<string> Properties { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<System.String> |
PropertyType
Get and set the PropertyType
Declaration
public Type PropertyType { get; set; }
Property Value
Type |
---|
System.Type |