Class PropsEditor<TProps>
public class PropsEditor<TProps> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender where TProps : class
Inheritance
Implements
Properties
OnlyShowProperties
If set, only these properties will be shown (whitelist mode).
[Parameter]
public HashSet<string>? OnlyShowProperties { get; set; }
ReadOnlyPropertyNames
Property names that should be read-only (in addition to [PropsReadOnly] attribute).
[Parameter]
public HashSet<string>? ReadOnlyPropertyNames { get; set; }
ShowHeader
Whether to show the header with type name.
[Parameter]
public bool ShowHeader { get; set; }
ValueChanged
Called when the value changes.
[Parameter]
public EventCallback<TProps> ValueChanged { get; set; }
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied .
protected override void BuildRenderTree(RenderTreeBuilder __builder)
OnParametersSet()
Method invoked when the component has received parameters from its parent in
protected override void OnParametersSet()