WebRenderTreeBuilderExtensions.AddEventStopPropagationAttribute Method
Definition
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.
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
- builder
- RenderTreeBuilder
The RenderTreeBuilder.
- 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.