Class Observer
Sometimes it is hard to apply Observer to a part of the rendering,
for example because you are rendering inside a RenderFragment,
and you don't want to extract a new component to be able to mark it as observer.
In those cases
Inheritance
System.Object
Observer
Namespace: Cortex.Net.Blazor
Assembly: Cortex.Net.Blazor.dll
Syntax
[Observer]
public class Observer : ComponentBase
Properties
| Improve this Doc View SourceChildContent
Gets or sets the wrapped child content of the component.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment |
Methods
| Improve this Doc View SourceBuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | builder |