Skip to content

FormatterOptionAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Adds a formatter option

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = true)]
public class FormatterOptionAttribute : Attribute
parameter description
key The key.
value The value.

Public Members

name description
FormatterOptionAttribute(…) Adds a formatter option
Key { get; } Gets the option key.
Value { get; } Gets the option value.

Remarks

Initializes a new instance of the FormatterOptionAttribute class.

See Also