| AdditionalAttributes |
Dictionary<string, object>? |
null |
|
Gets or sets additional attributes that will be applied to the component. |
1.0.0 |
| BodyCssClass |
string? |
null |
|
Gets or sets the body CSS class. |
1.0.0 |
| BodyTemplate |
RenderFragment? |
null |
|
Gets or sets the body template. |
1.0.0 |
| Class |
string? |
null |
|
Gets or sets the CSS class name(s) to apply to the component. |
1.0.0 |
| CloseOnEscape |
bool |
True |
|
If true, offcanvas closes when escape key is pressed. |
1.0.0 |
| FooterCssClass |
string? |
null |
|
Gets or sets the footer CSS class. |
1.0.0 |
| FooterTemplate |
RenderFragment? |
null |
|
Gets or sets the footer template. |
1.0.0 |
| HeaderCssClass |
string? |
null |
|
Gets or sets the header CSS class. |
1.0.0 |
| HeaderTemplate |
RenderFragment? |
null |
|
Gets or sets the header template. |
1.0.0 |
| Id |
string? |
null |
|
Gets or sets the ID. If not set, a unique ID will be generated. |
1.0.0 |
| IsScrollable |
bool |
False |
|
Indicates whether body scrolling is allowed while offcanvas is open. |
1.0.0 |
| Placement |
Placement |
End |
|
Gets or sets the offcanvas placement. |
1.0.0 |
| ShowCloseButton |
bool |
True |
|
If true, modal shows close button in the header. |
1.0.0 |
| Size |
OffcanvasSize |
Regular |
|
Gets or sets the offcanvas size. |
1.0.0 |
| Style |
string? |
null |
|
Gets or sets the CSS style string that defines the inline styles for the component. |
1.0.0 |
| TabIndex |
int |
-1 |
|
Gets or sets the tab index. |
1.0.0 |
| Title |
string? |
null |
|
Gets or sets the offcanvas title. |
1.0.0 |
| UseStaticBackdrop |
bool |
False |
|
When `UseStaticBackdrop` is set to true, the offcanvas will not close when clicking outside of it. |
1.0.0 |