Class BOBGrid
- Namespace
- BlazOrbit.Components.Layout
- Assembly
- BlazOrbit.dll
[GenerateComponentInfo]
public class BOBGrid : BOBComponentBase, IPureBuiltComponent, IBuiltComponent
- Inheritance
-
objectComponentBaseBOBGrid
- Implements
- Inherited Members
Constructors
BOBGrid()
public BOBGrid()
Properties
AlignItems
AlignItems.
[Parameter]
public GridAlignItems AlignItems { get; set; }
Property Value
ChildContent
Content rendered inside the component.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
- RenderFragment
ColumnGap
ColumnGap.
[Parameter]
public string? ColumnGap { get; set; }
Property Value
- string
Columns
Columns.
[Parameter]
public int? Columns { get; set; }
Property Value
- int?
Direction
Direction.
[Parameter]
public GridDirection Direction { get; set; }
Property Value
DirectionLg
DirectionLg.
[Parameter]
public GridDirection? DirectionLg { get; set; }
Property Value
DirectionMd
DirectionMd.
[Parameter]
public GridDirection? DirectionMd { get; set; }
Property Value
DirectionSm
DirectionSm.
[Parameter]
public GridDirection? DirectionSm { get; set; }
Property Value
DirectionXl
DirectionXl.
[Parameter]
public GridDirection? DirectionXl { get; set; }
Property Value
DirectionXs
DirectionXs.
[Parameter]
public GridDirection? DirectionXs { get; set; }
Property Value
Gap
Gap.
[Parameter]
public string? Gap { get; set; }
Property Value
- string
GapLg
GapLg.
[Parameter]
public string? GapLg { get; set; }
Property Value
- string
GapMd
GapMd.
[Parameter]
public string? GapMd { get; set; }
Property Value
- string
GapSm
GapSm.
[Parameter]
public string? GapSm { get; set; }
Property Value
- string
GapXl
GapXl.
[Parameter]
public string? GapXl { get; set; }
Property Value
- string
GapXs
GapXs.
[Parameter]
public string? GapXs { get; set; }
Property Value
- string
JustifyContent
JustifyContent.
[Parameter]
public GridJustifyContent JustifyContent { get; set; }
Property Value
M
M.
[Parameter]
public string? M { get; set; }
Property Value
- string
MaxWidth
MaxWidth.
[Parameter]
public string? MaxWidth { get; set; }
Property Value
- string
Mb
Mb.
[Parameter]
public string? Mb { get; set; }
Property Value
- string
Ml
Ml.
[Parameter]
public string? Ml { get; set; }
Property Value
- string
Mr
Mr.
[Parameter]
public string? Mr { get; set; }
Property Value
- string
Mt
Mt.
[Parameter]
public string? Mt { get; set; }
Property Value
- string
Mx
Mx.
[Parameter]
public string? Mx { get; set; }
Property Value
- string
My
My.
[Parameter]
public string? My { get; set; }
Property Value
- string
P
P.
[Parameter]
public string? P { get; set; }
Property Value
- string
Pb
Pb.
[Parameter]
public string? Pb { get; set; }
Property Value
- string
Pl
Pl.
[Parameter]
public string? Pl { get; set; }
Property Value
- string
Pr
Pr.
[Parameter]
public string? Pr { get; set; }
Property Value
- string
Pt
Pt.
[Parameter]
public string? Pt { get; set; }
Property Value
- string
Px
Px.
[Parameter]
public string? Px { get; set; }
Property Value
- string
Py
Py.
[Parameter]
public string? Py { get; set; }
Property Value
- string
RowGap
RowGap.
[Parameter]
public string? RowGap { get; set; }
Property Value
- string
Wrap
Wrap.
[Parameter]
public GridWrap Wrap { get; set; }
Property Value
Methods
BuildComponentCssVariables(Dictionary<string, string>)
Contributes additional CSS custom properties to the inline style attribute. Keys
that collide with framework-owned --bob-inline-* variables will be overwritten.
public void BuildComponentCssVariables(Dictionary<string, string> cssVariables)
Parameters
cssVariablesDictionary<string, string>
BuildComponentDataAttributes(Dictionary<string, object>)
Contributes additional data- attributes to the root element. Keys that collide
with framework-owned data-bob- attributes will be overwritten.
public void BuildComponentDataAttributes(Dictionary<string, object> dataAttributes)
Parameters
dataAttributesDictionary<string, object>
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder