BptAppFramework
API reference for BptAppFramework — parameters, event callbacks, and related configuration.
BptAppFramework
Open demo →Parameters
| Name | Type | Flags | Description |
|---|---|---|---|
Header | RenderFragment | Nullable | — |
Menu | RenderFragment | Nullable | — |
Footer | RenderFragment | Nullable | — |
ChildContent | RenderFragment | Nullable | — |
DeviceMode | BptAppFrameworkDeviceMode | — | |
DesktopLayout | BptAppFrameworkDesktopLayout | — | |
TabletLayout | BptAppFrameworkTabletLayout | — | |
MobileLayout | BptAppFrameworkMobileLayout | — | |
MobileBreakpoint | int | — | |
TabletBreakpoint | int | — | |
NoHeader | bool | — | |
FullViewport | bool | — | |
MenuWidth | string | — | |
HeaderHeight | string | — | |
BottomBarHeight | string | — | |
BottomItemPadding | string | — | |
BottomItemMargin | string | — | |
BackgroundColor | string | Nullable | — |
TextColor | string | Nullable | — |
HeaderBackgroundColor | string | Nullable | — |
HeaderTextColor | string | Nullable | — |
MenuBackgroundColor | string | Nullable | — |
MenuTextColor | string | Nullable | — |
BorderColor | string | Nullable | — |
CssClass | string | Nullable | — |
Style | string | Nullable | — |
BptAppState | BptRootComponentBase | CascadingNullable | — |
CultureState | BptCultureState | CascadingNullable | — |
Event callbacks
| Name | Type | Flags | Description |
|---|---|---|---|
OnActiveLayoutChanged | EventCallback<string> | — |
Sub-components
BptAppFrameworkMenu
Parameters
| Name | Type | Flags | Description |
|---|---|---|---|
ChildContent | RenderFragment | Nullable | — |
HeaderTemplate | RenderFragment | Nullable | — |
FooterTemplate | RenderFragment | Nullable | — |
BackgroundColor | string | Nullable | — |
TextColor | string | Nullable | — |
HoverBackgroundColor | string | Nullable | — |
ActiveBackgroundColor | string | Nullable | — |
ActiveTextColor | string | Nullable | — |
FontFamily | string | Nullable | — |
FontSize | string | Nullable | — |
FontWeight | string | Nullable | — |
Gap | string | Nullable | — |
Padding | string | Nullable | — |
Parent | BptAppFramework | CascadingNullable | — |
BptAppFrameworkMenuItem
Parameters
| Name | Type | Flags | Description |
|---|---|---|---|
Text | string | — | |
Icon | string | Nullable | — |
IconRenderFragment | RenderFragment | Nullable | — |
Href | string | Nullable | — |
IsActive | bool | — | |
Disabled | bool | — | |
Badge | string | Nullable | — |
BadgeColor | string | Nullable | — |
BadgeTextColor | string | Nullable | — |
ChildContent | RenderFragment | Nullable | — |
BackgroundColor | string | Nullable | — |
TextColor | string | Nullable | — |
HoverBackgroundColor | string | Nullable | — |
ActiveBackgroundColor | string | Nullable | — |
ActiveTextColor | string | Nullable | — |
FontFamily | string | Nullable | — |
FontSize | string | Nullable | — |
FontWeight | string | Nullable | — |
BorderRadius | string | Nullable | — |
Padding | string | Nullable | — |
CssClass | string | Nullable | — |
DefaultExpanded | bool | — | |
ParentMenu | BptAppFrameworkMenu | CascadingNullable | — |
ParentItem | BptAppFrameworkMenuItem | CascadingNullable | — |
Event callbacks
| Name | Type | Flags | Description |
|---|---|---|---|
IsActiveChanged | EventCallback<bool> | — | |
OnClick | EventCallback | — |