-
Notifications
You must be signed in to change notification settings - Fork 804
Formatting AlignCenterAttribute [Columns]
Victor Tomaili edited this page May 3, 2021
·
1 revision
[namespace: Serenity.ComponentModel] - [assembly: Serenity.Core]
This attribute can be used on a column field to specify the center alignment for column text. If not alignment attribute is defined, the alignment is left.
Attribute definition:
public class AlignCenterAttribute : AlignmentAttribute
{
public AlignCenterAttribute();
}
Use
public class ProductColumns
{
[AlignCenter]
public String ProductID { get; set; }
[AlignCenter]
public String ProductName { get; set; }
[...]
See also:
Copyright © Serenity Platform 2017-present. All rights reserved.
Documentation | Serene Template | Live Demo | Premium Support | Issues | Discussions