blazor-devexpress-dot-blazor-dot-dxtimeedit-1-c7caae85.md
Specifies the direction in which the drop-down time picker is displayed relative to the editor’s input element.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public DropDownDirection DropDownDirection { get; set; }
| Type | Description |
|---|---|
| DropDownDirection |
A DropDownDirection enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Down |
A drop-down window is displayed below an editor’s input element.
| | Up |
A drop-down window is displayed up an editor’s input element.
|
The property’s default value is Down.
The following code snippet changes the direction of the drop-down time picker to Up:
<DxTimeEdit Time="DateTime.Now.TimeOfDay" DropDownDirection="DropDownDirection.Up" />
Note
If the editor is close to a browser window’s edge and there is not enough space to display the drop-down window in the specified direction, the drop-down window is displayed in the opposite direction.
See Also