Skip to content

Control rendering

Andreas Hilken edited this page Mar 14, 2018 · 2 revisions

Label positions

Almost all controls can have a "title" attribute. This will render a UI Fabric Label component. When the Required validator is set, then set it set the required property to true.

Position Description
Top Render the label on top of the control. This is the Default settings.
Right Render the label on the right side of the control.
Left Render the label on the left side of the control.

Layout

For the layout the classes from UI Fabric are used. The attribute "label_with" defines the css class number (ms-sm?) that is used for the layout for left and right. The Control with is calculated, or for some controls fix set (e.g for Checkbos is set to 1).

Position Layout
Top
Right
Left
Clone this wiki locally