Skip to main content
All docs
V25.1
  • FieldRetrievingEventArgs.EditorType Property

    Gets or sets the type of the editor to be created.

    Namespace: DevExpress.XtraDataLayout

    Assembly: DevExpress.XtraLayout.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public Type EditorType { get; set; }

    Property Value

    Type Description
    Type

    The type of the editor to be created.

    Remarks

    The EditorType property initially contains the type of the default editor to be created (e.g., TextEdit is the default editor for string data source fields). You can change the EditorType property to override the default editor type.

    The FieldRetrievingEventArgs.PropertyName setting specifies the name of the editor’s bound property.

    Set the FieldRetrievingEventArgs.Handled property to true to apply the changes you make via your DataLayoutControl.FieldRetrieving event handler. Otherwise, the changes are discarded.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditorType property.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also