ASPxCollapsiblePanel.FixedPosition Property
Gets or sets the side of the browser screen where the panel is docked.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
[DefaultValue(PanelFixedPosition.None)]
public PanelFixedPosition FixedPosition { get; set; }
Property Value
Type | Default | Description |
---|---|---|
PanelFixedPosition | None | One of the PanelFixedPosition enumeration values. |
Available values:
Name | Description |
---|---|
None | Panel is not docked to any side of the browser screen. |
WindowTop | Panel is docked to the top side of the browser screen. |
WindowBottom | Panel is docked to the bottom side of the browser screen. |
WindowLeft | Panel is docked to the left side of the browser screen. |
WindowRight | Panel is docked to the right side of the browser screen. |
Remarks
A panel allows you to dock your content to any side of the browser window by setting the FixedPosition property to any of the following enumeration values.
Enum Field | Description |
---|---|
PanelFixedPosition.WindowBottom | Panel is docked to the bottom side of the browser screen. |
PanelFixedPosition.WindowTop | Panel is docked to the top side of the browser screen. |
PanelFixedPosition.WindowLeft | Panel is docked to the left side of the browser screen. |
PanelFixedPosition.WindowRight | Panel is docked to the right side of the browser screen. |
If the FixedPosition property value is set to PanelFixedPosition.None, the panel position will not be fixed.
When fixed to any of the screen sides, the panel displays a specific border that visually separates the panel content from the other page content.
Note
- In the fixed position, the ASPxPanel control persists its position, regardless of page scrolling.
- Two panels with FixedPosition=”WindowLeft” and FixedPosition=”WindowRight” cannot be shown on the page at the same time.