EditorAddonAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Adds an editor addon to the target property.

[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class EditorAddonAttribute : Attribute
parameter description
type The type.

Public Members

name description
EditorAddonAttribute(…) Adds an editor addon to the target property.
AddonKey { get; set; } Gets or sets the addon key which is set as data-addonkey attribute.
AddonType { get; } Gets the type of the editor.
virtual IsLocalizableOption(…) Gets if the specified option key is localizable.
virtual SetParams(…) Sets the parameters for each pair in the editorParams dictionary.

Protected Members

name description
GetOption<TType>(…) Gets the editor option.
SetOption(…) Sets the editor option.

Remarks

Initializes a new instance of the EditorAddonAttribute class.

See Also