WebRenderTreeBuilderExtensions.AddEventStopPropagationAttribute Method

Definition

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

C#
public static void AddEventStopPropagationAttribute (this Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int sequence, string eventName, bool value);

Parameters

sequence
Int32

An integer that represents the position of the instruction in the source code.

eventName
String

The name of the event to be affected.

value
Boolean

True if propagation should be stopped here, otherwise false.

Applies to

Produkt Versioner
ASP.NET Core 3.1, 5.0, 6.0, 7.0, 8.0, 9.0