WebRenderTreeBuilderExtensions Class

Definition

Provides methods for building a collection of RenderTreeFrame entries.

C#
public static class WebRenderTreeBuilderExtensions
Inheritance
WebRenderTreeBuilderExtensions

Methods

AddEventPreventDefaultAttribute(RenderTreeBuilder, Int32, String, Boolean)

Appends a frame representing an instruction to prevent the default action for a specified event.

AddEventStopPropagationAttribute(RenderTreeBuilder, Int32, String, Boolean)

Appends a frame representing an instruction to stop the specified event from propagating beyond the current element.

Applies to

Product Versions
ASP.NET Core 3.1, 5.0, 6.0, 7.0, 8.0, 9.0