Class BOBColorPicker
- Namespace
- BlazOrbit.Components.Forms
- Assembly
- BlazOrbit.dll
[GenerateComponentInfo]
public class BOBColorPicker : BOBComponentBase, IPickerFamilyComponent
- Inheritance
-
objectComponentBaseBOBColorPicker
- Implements
- Inherited Members
Constructors
BOBColorPicker()
public BOBColorPicker()
Properties
OnRevert
Raised when the Revert event occurs.
[Parameter]
public EventCallback OnRevert { get; set; }
Property Value
- EventCallback
OutputFormat
Initial output format used by the picker's text inputs (Hex or Rgb).
[Parameter]
public ColorOutputFormats OutputFormat { get; set; }
Property Value
RevertText
Text displayed as the Revert.
[Parameter]
public string RevertText { get; set; }
Property Value
- string
ShowActions
When true, the Actions is shown.
[Parameter]
public bool ShowActions { get; set; }
Property Value
- bool
Value
Current value of the component.
[Parameter]
public CssColor? Value { get; set; }
Property Value
ValueChanged
Raised when the value changes.
[Parameter]
public EventCallback<CssColor?> ValueChanged { get; set; }
Property Value
- EventCallback<CssColor>
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
DisposeAsync()
public override ValueTask DisposeAsync()
Returns
- ValueTask
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()