ChildContent |
ParameterThe content of Drawer. |
RenderFragment |
-- |
Content |
ParameterThe content of Drawer. If AntDesign.Drawer.Content is a string, it will be rendered as HTML. |
OneOf<RenderFragment, String> |
-- |
Closable |
ParameterWhether a close (x) button is visible on top right of the Drawer dialog or not. |
Boolean |
true |
MaskClosable |
ParameterClicking on the mask (area outside the Drawer) to close the Drawer or not. |
Boolean |
true |
Mask |
ParameterWhether to show mask or not. |
Boolean |
true |
MaskStyle |
ParameterStyle for Drawer's mask element. |
String |
-- |
Keyboard |
ParameterWhether to support keyboard esc off |
Boolean |
true |
Title |
ParameterThe title for Drawer. |
OneOf<RenderFragment, String> |
-- |
Placement |
ParameterThe placement of the Drawer, option could be left, top, right, bottom |
String |
right |
BodyStyle |
ParameterBody style for modal body element. Such as height, padding etc. |
String |
-- |
HeaderStyle |
ParameterHeader style for modal header element. Such as height, padding etc. |
String |
-- |
WrapClassName |
ParameterThe class name of the container of the Drawer dialog. |
String |
-- |
Width |
ParameterWidth of the Drawer dialog, only when placement is 'left' or 'right'. |
String |
256 |
Height |
ParameterHeight of the Drawer dialog, only when placement is 'top' or 'bottom'. |
String |
256 |
ZIndex |
ParameterThe z-index of the Drawer. |
Int32 |
1000 |
OffsetX |
ParameterThe the X coordinate offset(px), only when placement is 'left' or 'right'. |
Int32 |
0 |
OffsetY |
ParameterThe the Y coordinate offset(px), only when placement is 'top' or 'bottom'. |
Int32 |
0 |
Visible |
ParameterWhether the Drawer dialog is visible or not. |
Boolean |
false |
VisibleChanged |
ParameterEventCallback trigger on Visible was changed. |
EventCallback<Boolean> |
-- |
OnOpen |
ParameterSpecify a callback that will be called before drawer displayed |
EventCallback |
-- |
OnClose |
ParameterSpecify a callback that will be called when a user clicks mask, close button or Cancel button. |
EventCallback |
-- |
Handler |
Parameter |
RenderFragment |
-- |
Id |
ParameterID for the component's HTML |
String |
Uniquely Generated ID |
Class |
ParameterSpecifies one or more class names for an DOM element. |
String |
-- |
Style |
ParameterSpecifies an inline style for a DOM element. |
String |
-- |
RefBack |
ParameterA ForwardRef instance. You can get a reference to the internal DOM by using AntDesign.ForwardRef.Current . |
ForwardRef |
-- |