Skip to content

EditorOptionAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets an editor option for the 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
parameter description
key The key.
value The value.

Public Members

name description
EditorOptionAttribute(…) Sets an editor option for the target property editor. Avoid using this where possible as option keys and values are not checked.
Key { get; } Gets the key.
Value { get; } Gets the value.

Remarks

Initializes a new instance of the EditorOptionAttribute class.

See Also