BootstrapComponentBase
Mika Berglund edited this page May 5, 2020
·
4 revisions
The BootstrapComponentBase
class is the base class for all Bootstrap components in Blazorade Bootstrap.
BootstrapComponentBase
: BlazoradeComponentBase
This class exposes the following public parameter properties.
Name | Type | Description |
---|---|---|
Attributes | IDictionary<string, object> | A dictionary that will contain all attributes not matched by named attributes defined on this component or any component derivided from this component. |
BackgroundColor | NamedColor? | The background color for the component. |
BorderColor | NamedColor? | The border color for the component. |
TextColor | NamedColor? | The text color for the component. |
Margin | Spacing? | The margin on all sides of the component. |
MarginTop | Spacing? | The top margin of the component. |
MarginRight | Spacing? | The right margin of the component. |
MarginBottom | Spacing? | The bottom margin of the component. |
MarginLeft | Spacing? | The left margin of the component. |
MarginX | Spacing? | The left and right margin of the component. |
MarginY | Spacing? | The top and bottom margin of the component. |
Padding | Spacing? | The padding on all sides of the component. |
PaddingTop | Spacing? | The top padding of the component. |
PaddingRight | Spacing? | The right padding of the component. |
PaddingBottom | Spacing? | The bottom padding of the component. |
PaddingLeft | Spacing? | The left padding of the component. |
PaddingX | Spacing? | The left and right padding of the component. |
PaddingY | Spacing? | The top and bottom padding of the component. |
Height | Size? | The height of the component. |
Width | Size? | The width of the component. |
Shadow | ShadowSize? | Different shadow sizes for the component. |
IsStretchedLinkContainer | bool | Specifies whether the component is a container for stretched links. If this component contains a Link child component with the IsStretched property set to true , then this entire container is clickable, and not just the child link. |
- Home
- Design Principles
- Getting Started
- Components
- Content
- Layout Components
- Generic Elements
- Utilities
- Releases