Skip to content

AlignmentAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Controls horizontal alignment of text (usually in grid columns).

[AttributeUsage(AttributeTargets.All)]
public abstract class AlignmentAttribute : Attribute
parameter description
align Alignment

Public Members

name description
Value { get; } Gets or sets the value of the alignment attribute.

Protected Members

name description
AlignmentAttribute(…) Controls horizontal alignment of text (usually in grid columns).

Remarks

This is an abstract base class. You need to use AlignCenter or AlignRight attributes.

See Also