menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomEditor - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CustomEditor

    Represents the CustomEditor class

    Inheritance
    System.Object
    CustomEditor
    Implements
    ITypeCustomEditor
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.PropertyGrid
    Assembly: Syncfusion.PropertyGrid.Wpf.dll
    Syntax
    public class CustomEditor : ITypeCustomEditor, IDisposable

    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

    Methods

    Dispose()

    Dispose to clear managed resources

    Declaration
    public void Dispose()

    Implements

    ITypeCustomEditor
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved