Class EditorAttribute
Attribute for specifying a custom editor for a particular property.
Inheritance
Namespace: Telerik.Windows.Controls.Data.PropertyGrid
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class EditorAttribute : Attribute
Constructors
EditorAttribute(String, String)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(string editorTypeName, string assemblyFile)
Parameters
System. The type's name of the custom editor. |
System. The assembly's file path of the custom editor. |
EditorAttribute(String, String, String)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(string editorTypeName, string assemblyFile, string targetProperty)
Parameters
System. The type's name of the custom editor. |
System. The assembly's file path of the custom editor. |
System. The property of the custom editor that should be used for binding. |
EditorAttribute(String, String, String, EditorStyle)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(string editorTypeName, string assemblyFile, string targetProperty, EditorStyle editorStyle)
Parameters
System. The type's name of the custom editor. |
System. The assembly's file path of the custom editor. |
System. The property of the custom editor that should be used for binding. |
Editor The style of the UI component used for hosting the custom editor. |
EditorAttribute(String, String, EditorStyle)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(string editorTypeName, string assemblyFile, EditorStyle editorStyle)
Parameters
System. The type's name of the custom editor. |
System. The assembly's file path of the custom editor. |
Editor The style of the UI component used for hosting the custom editor. |
EditorAttribute(Type)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(Type editorType)
Parameters
System. The type of the custom editor. |
EditorAttribute(Type, String)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(Type editorType, string targetProperty)
Parameters
System. The type of the custom editor. |
System. The property of the custom editor that should be used for binding. |
EditorAttribute(Type, String, EditorStyle)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(Type editorType, string targetProperty, EditorStyle editorStyle)
Parameters
System. The type of the custom editor. |
System. The property of the custom editor that should be used for binding. |
Editor The style of the UI component used for hosting the custom editor. |
EditorAttribute(Type, EditorStyle)
Initializes a new instance of the Editor
Declaration
public EditorAttribute(Type editorType, EditorStyle editorStyle)
Parameters
System. The type of the custom editor. |
Editor The style of the UI component used for hosting the custom editor. |
Properties
EditorStyle
Gets the style of the UI component used for hosting the custom editor.
Declaration
public EditorStyle EditorStyle { get; }
Property Value
EditorType
Gets the type of the custom editor.
Declaration
public Type EditorType { get; }
Property Value
System.
|
TargetProperty
Gets the property of the custom editor that should be used for binding.
Declaration
public string TargetProperty { get; }
Property Value
System.
|