Skip to content

CheckLabelPosition enumeration

namespace: Serenity.ComponentModel   assembly: Serenity.Net.Core

Where the caption of a checkbox is, e.g. of a BooleanEditorAttribute in a form field.

public enum CheckLabelPosition

Values

name value description
Start 0 The default: the caption is at the start (left in LTR) in the caption area, and the checkbox is after it, where the other editors start.
End 1 The checkbox is first, at the start of the field, and the caption is after it, on the end side (right in LTR). It saves horizontal space, and lets several checkboxes share a row.
EndAligned 2 Like End, but the caption area before the checkbox is left empty, so the checkbox starts where the other editors do. It is for a checkbox that is alone in its row, so it lines up with the editors above it.

See Also