AlignCenterAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Centers text horizontally (usually in a grid column).

[AttributeUsage(AttributeTargets.All)]
public class AlignCenterAttribute : AlignmentAttribute

Public Members

name description
AlignCenterAttribute() Creates a new AlignCenterAttribute

Remarks

Used for text alignment in grids by adding align-center CSS class to corresponding SlickGrid column. Note that it has no effect on editors or forms.

See Also