BcLayoutComponentBase
Description
Inherits from BcComponentBase.
The BcLayoutComponentBase extends functionality by providing parameters that allow styling components dynamically using code.
Parameters
Id
Guid
Specifies the unique identifier for the component.
Class
string
Defines the CSS classes to be applied to the component.
Style
string
Allows inline CSS styles to be applied directly to the component.
AdditionalAttributes
Dictionary
Enables adding custom attributes to the component.
Width
string
Specifies the width of the component.
Height
string
Specifies the height of the component.
MinWidth
string
Defines the minimum width of the component.
MinHeight
string
Defines the minimum height of the component.
MaxWidth
string
Sets the maximum width of the component.
MaxHeight
string
Sets the maximum height of the component.
Color
string
Specifies the text color of the component.
BackgroundColor
string
Defines the background color of the component.
Position
StylesPosition
Determines the CSS position property (e.g., static, relative, absolute, fixed).
Top
string
Sets the distance of the component from the top.
Left
string
Sets the distance of the component from the left.
Right
string
Sets the distance of the component from the right.
Bottom
string
Sets the distance of the component from the bottom.
ZIndex
string
Defines the stack order of the component relative to others.
Margin
string
Sets the margin around the component.
MarginTop
string
Specifies the margin at the top of the component.
MarginLeft
string
Specifies the margin at the left of the component.
MarginRight
string
Specifies the margin at the right of the component.
MarginBottom
string
Specifies the margin at the bottom of the component.
Padding
string
Sets the padding inside the component.
PaddingTop
string
Defines the padding at the top of the component.
PaddingLeft
string
Defines the padding at the left of the component.
PaddingRight
string
Defines the padding at the right of the component.
PaddingBottom
string
Defines the padding at the bottom of the component.
Properties
StyleBuilder
BcStyleBuilder
Builds and manages the style attributes for the component.
ClassBuilder
BcClassBuilder
Constructs and manages the CSS class list for the component.
Methods
Executes logic before the component is rendered.