Skip to main content
All docs
V24.1

DxDrawer Members

A side panel that supports minimized layout and expand/collapse operations.

Constructors

Name Description
DxDrawer() Initializes a new instance of the DxDrawer class.

Properties

Name Description
ApplyBackgroundShading Specifies whether to shade the target content area when the drawer panel appears (for the Overlap mode only).
BodyTemplate Specifies a template for the drawer panel’s body.
ClosedCssClass Assign a CSS class to the Drawer component when the panel is closed.
CloseOnEscape Specifies whether the drawer panel should be closed when a user presses Escape.
CloseOnTargetContentClick Specifies whether the drawer panel should be closed when a user clicks the target content area (for Overlap mode only).
CssClass Assign a CSS class to the DxDrawer component.
FooterTemplate Specifies a template for the drawer panel’s footer.
HeaderTemplate Specifies a template for the drawer panel’s header.
Id Specifies the component’s unique identifier.
IsOpen Specifies whether the drawer panel is open.
MiniCssClass Assign a CSS class to the Drawer component when the panel is minimized.
MiniModeEnabled Specifies whether a minimized panel is displayed when the drawer panel is closed (for the Shrink mode only).
MiniPanelWidth Specifies the width of the minimized drawer panel.
Mode Specifies how the drawer panel interacts with the target content area.
OpenCssClass Assign a CSS class to the Drawer component when the panel is open.
PanelWidth Specifies the width of the drawer panel.
Position Specifies where the drawer panel is displayed – to the left or right of the target content.
SizeMode Specifies the size of a dialog’s inner elements. Also affects a dialog’s size and content. Inherited from DxSizableComponentBase.
TargetContent Specifies the drawer’s target content.
ZIndex Specifies the drawer panel’s z-index (for the Overlap mode only).

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
IsOpenChanged Fires when the drawer panel opens or closes.
See Also