Class BOBThemeEditor
- Namespace
- BlazOrbit.Components.Layout
- Assembly
- BlazOrbit.dll
public class BOBThemeEditor : ComponentBase
- Inheritance
-
objectComponentBaseBOBThemeEditor
Constructors
BOBThemeEditor()
public BOBThemeEditor()
Properties
OnPaletteChanged
Raised whenever any color in Palette changes.
[Parameter]
public EventCallback<Dictionary<string, CssColor>> OnPaletteChanged { get; set; }
Property Value
- EventCallback<Dictionary<string, CssColor>>
Palette
Palette being edited, keyed by token name (e.g. "Primary", "Background"). Mutated in place as the user picks colors.
[Parameter]
public Dictionary<string, CssColor> Palette { get; set; }
Property Value
- Dictionary<string, CssColor>
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
OnParametersSet()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
protected override void OnParametersSet()