WebRenderTreeBuilderExtensions.AddEventStopPropagationAttribute Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static void AddEventStopPropagationAttribute(Microsoft::AspNetCore::Components::Rendering::RenderTreeBuilder ^ builder, int sequence, System::String ^ eventName, bool value);
public static void AddEventStopPropagationAttribute (this Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder, int sequence, string eventName, bool value);
static member AddEventStopPropagationAttribute : Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder * int * string * bool -> unit
<Extension()>
Public Sub AddEventStopPropagationAttribute (builder As RenderTreeBuilder, sequence As Integer, eventName As String, value As Boolean)

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