BptBackground
API reference for BptBackground — parameters, event callbacks, and related configuration.
BptBackground
Open demo →Parameters
| Name | Type | Flags | Description |
|---|---|---|---|
ChildContent | RenderFragment | Nullable | — |
Style | BptBackgroundStyle | — | |
Animated | bool | — | |
Speed | double | — | |
Scale | double | — | |
Intensity | double | — | |
Seed | int | — | |
BackgroundColor | string | — | |
Colors | List<string> | — | |
Renderer | string | — | |
Target | string | — | |
ImageSrc | string | Nullable | — |
ImageBehavior | BptBackgroundImageBehavior | — | |
ParallaxSpeed | double | — | |
FollowSelector | string | Nullable | — |
Config | string | Nullable | — |
Event callbacks
| Name | Type | Flags | Description |
|---|---|---|---|
OnRendererChanged | EventCallback<string> | — | |
OnConfigChanged | EventCallback<string> | — |
Related configuration
BptBackgroundConfig
| Property | Type | Description |
|---|---|---|
Style |
string |
— |
Animated |
bool |
— |
Speed |
double |
— |
Scale |
double |
— |
Intensity |
double |
— |
Seed |
int |
— |
BackgroundColor |
string |
— |
Colors |
List<string> |
— |