EditorTypeAttribute class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Sets editor type of the target property.
[AttributeUsage(AttributeTargets.All)]
public class EditorTypeAttribute : Attribute
| parameter | description |
|---|---|
| type | The type. |
Public Members
| name | description |
|---|---|
| EditorTypeAttribute(…) | Sets editor type of the target property. |
| EditorType { get; } | Gets the type of the editor. |
| virtual SetParams(…) | Transfers the current editor parameters to specified editorParams dictionary. |
Remarks
Initializes a new instance of the EditorTypeAttribute class.
See Also
- Source: EditorTypeAttribute.cs