Enum
FormOrientation

Controls the visual arrangement and positioning of form field labels relative to their input controls. Use this to optimize form layouts for different screen sizes, user preferences, and application design requirements.

Definition

Namespace:Telerik.Blazor

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public enum FormOrientation

Fields

Horizontal

Positions labels beside their corresponding input controls in a side-by-side horizontal arrangement. Perfect for desktop applications, wide screens, and forms where vertical space conservation is important. Enables more compact form layouts that can display more fields in the visible area without scrolling. Requires sufficient horizontal space to accommodate both labels and inputs comfortably.

Declaration

cs-api-definition
Horizontal = 1

Field Value

FormOrientation

Vertical

Arranges labels above their corresponding input controls in a stacked vertical layout. Ideal for mobile-friendly forms, narrow screen displays, and scenarios where horizontal space is limited. Provides better readability on small screens and allows for longer label text without cramping the input area. This is the default orientation that works well for most responsive web applications.

Declaration

cs-api-definition
Vertical = 0

Field Value

FormOrientation

In this article
DefinitionFieldsHorizontalVertical
Not finding the help you need?
Contact Support