BptButton
API reference for BptButton — parameters, event callbacks, and related configuration.
BptButton
Open demo →Parameters
| Name | Type | Flags | Description |
|---|---|---|---|
Enabled | bool | — | |
Text | string | — | |
ChildContent | RenderFragment | Nullable | — |
Icon | string | Nullable | — |
IconPosition | BptButtonIconPosition | — | |
Variant | BptButtonVariant | — | |
Mode | BptButtonMode | — | |
TextStyle | BptButtonTextStyle | — | |
Size | BptComponentSize | — | |
ButtonBaseColor | string | Nullable | — |
ButtonFontColor | string | Nullable | — |
AnimatedBorder | bool | — | |
AnimatedBorderColors | String[] | — | |
AnimationMode | BptButtonAnimationMode | — | |
Disabled | bool | — | |
Href | string | Nullable | — |
OpenInNewTab | bool | — | |
TypeAttribute | string | — | |
CssClass | string | — |
Event callbacks
| Name | Type | Flags | Description |
|---|---|---|---|
OnClick | EventCallback | — |