RenderTreeBuilder Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods for building a collection of RenderTreeFrame entries.
public ref class RenderTreeBuilder sealed : IDisposable
public sealed class RenderTreeBuilder : IDisposable
type RenderTreeBuilder = class
interface IDisposable
Public NotInheritable Class RenderTreeBuilder
Implements IDisposable
- Inheritance
-
RenderTreeBuilder
- Implements
Add |
Appends a frame representing an attribute. The attribute is associated with the most recently added element. |
Add |
Appends a frame representing an attribute. The attribute is associated with the most recently added element. |
Add |
Appends a frame representing a bool-valued attribute.
The attribute is associated with the most recently added element. If the value is |
Add |
Appends a frame representing an EventCallback attribute.
The attribute is associated with the most recently added element. If the value is |
Add |
Appends a frame representing a delegate-valued attribute.
The attribute is associated with the most recently added element. If the value is |
Add |
Appends a frame representing a string-valued attribute.
The attribute is associated with the most recently added element. If the value is |
Add |
Appends a frame representing a string-valued attribute.
The attribute is associated with the most recently added element. If the value is |
Add |
Appends a frame representing a bool-valued attribute with value 'true'. The attribute is associated with the most recently added element. |
Add |
Appends a frame representing an EventCallback attribute.
The attribute is associated with the most recently added element. If the value is |
Add |
Appends a frame representing a component parameter. |
Add |
Appends a frame representing an instruction to capture a reference to the parent component. |
Add |
Adds a frame indicating the render mode on the enclosing component frame. |
Add |
Appends a frame representing markup content. |
Add |
Appends a frame representing markup content. |
Add |
Appends a frame representing text content. |
Add |
Appends frames representing an arbitrary fragment of content. |
Add |
Appends a frame representing text content. |
Add |
Appends frames representing an arbitrary fragment of content. |
Add |
Appends a frame representing an instruction to capture a reference to the parent element. |
Add |
Appends a frame representing markup content. |
Add |
Adds frames representing multiple attributes with the same sequence number. |
Add |
Assigns a name to an event in the enclosing element. |
Clear() |
Clears the builder. |
Close |
Marks a previously appended component frame as closed. Calls to this method must be balanced with calls to OpenComponent<TComponent>(Int32). |
Close |
Marks a previously appended element frame as closed. Calls to this method must be balanced with calls to OpenElement(Int32, String). |
Close |
Marks a previously appended region frame as closed. Calls to this method must be balanced with calls to OpenRegion(Int32). |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Get |
Returns the RenderTreeFrame values that have been appended. |
Open |
Appends a frame representing a child component. |
Open |
Appends a frame representing a child component. |
Open |
Appends a frame representing an element, i.e., a container for other frames. In order for the RenderTreeBuilder state to be valid, you must also call CloseElement() immediately after appending the new element's child frames. |
Open |
Appends a frame representing a region of frames. |
Set |
Assigns the specified key value to the current element or component. |
Set |
Indicates that the preceding attribute represents an event handler
whose execution updates the attribute with name This information is used by the rendering system to determine whether to accept a value update for the other attribute when receiving a call to the event handler. |
Add |
Appends a frame representing an instruction to prevent the default action for a specified event. |
Add |
Appends a frame representing an instruction to stop the specified event from propagating beyond the current element. |