Class BOBStackedLayout
- Namespace
- BlazOrbit.Components.Layout
- Assembly
- BlazOrbit.dll
public class BOBStackedLayout : BOBComponentBase, IPureBuiltComponent, IBuiltComponent
- Inheritance
-
objectComponentBaseBOBStackedLayout
- Implements
- Inherited Members
Constructors
BOBStackedLayout()
public BOBStackedLayout()
Properties
ChildContent
Content rendered inside the component.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
- RenderFragment
ContentMaxWidth
ContentMaxWidth.
[Parameter]
public string? ContentMaxWidth { get; set; }
Property Value
- string
Header
Header.
[Parameter]
public RenderFragment? Header { get; set; }
Property Value
- RenderFragment
HeaderHeight
HeaderHeight.
[Parameter]
public string? HeaderHeight { get; set; }
Property Value
- string
Nav
Nav.
[Parameter]
public RenderFragment? Nav { get; set; }
Property Value
- RenderFragment
NavColumns
NavColumns.
[Parameter]
public int? NavColumns { get; set; }
Property Value
- int?
NavGap
NavGap.
[Parameter]
public string? NavGap { get; set; }
Property Value
- string
NavMinColumnWidth
NavMinColumnWidth.
[Parameter]
public string? NavMinColumnWidth { get; set; }
Property Value
- string
NavOpen
Whether the navigation drawer is open. Two-way bound through @bind-NavOpen.
[Parameter]
public bool NavOpen { get; set; }
Property Value
- bool
NavOpenChanged
NavOpenChanged.
[Parameter]
public EventCallback<bool> NavOpenChanged { get; set; }
Property Value
- EventCallback<bool>
ShowToggle
When true, the Toggle is shown.
[Parameter]
public bool ShowToggle { get; set; }
Property Value
- bool
StickyHeader
StickyHeader.
[Parameter]
public bool StickyHeader { get; set; }
Property Value
- bool
StickyNav
StickyNav.
[Parameter]
public bool StickyNav { get; set; }
Property Value
- bool
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