EditorOptionAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets an editor option for target property editor. Avoid using this where possible as option keys and values are not checked.

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
public class EditorOptionAttribute : Attribute

Public Members

name description
EditorOptionAttribute(…) Initializes a new instance of the EditorOptionAttribute class.
Key { get; } Gets the key.
Value { get; } Gets the value.

See Also