Skip to content

StaticTextBlockAttribute class

namespace: Serenity.Extensions   assemblySerenity.Extensions

An attribute that sets the editor type to Serenity.Extensions.StaticTextBlock and its options.

[AttributeUsage(AttributeTargets.All)]
public class StaticTextBlockAttribute : CustomEditorAttribute

Public Members

name description
StaticTextBlockAttribute() Creates a new instance of the StaticTextBlockAttribute class.
HideLabel { get; set; } Gets or sets the hideLabel option.
IsHtml { get; set; } Gets or sets the isHtml option.
IsLocalText { get; set; } Gets or sets the isLocalText option.
Text { get; set; } Gets or sets the text option.
const Key The editor type key.

See Also