1 instantiation of InputRadioContext
Microsoft.AspNetCore.Components.Web (1)
Forms\InputRadioGroup.cs (1)
39
_context = new
InputRadioContext
(this, CascadedContext, changeEventCallback);
11 references to InputRadioContext
Microsoft.AspNetCore.Components.Web (11)
Forms\InputRadio.cs (2)
20
internal
InputRadioContext
? Context { get; private set; }
46
[CascadingParameter] private
InputRadioContext
? CascadedContext { get; set; }
Forms\InputRadioContext.cs (6)
13
public
InputRadioContext
? ParentContext { get; }
21
public InputRadioContext(IInputRadioValueProvider valueProvider,
InputRadioContext
? parentContext, EventCallback<ChangeEventArgs> changeEventCallback)
29
/// Finds an <see cref="
InputRadioContext
"/> in the context's ancestors with the matching <paramref name="groupName"/>.
31
/// <param name="groupName">The group name of the ancestor <see cref="
InputRadioContext
"/>.</param>
32
/// <returns>The <see cref="
InputRadioContext
"/>, or <c>null</c> if none was found.</returns>
33
public
InputRadioContext
? FindContextInAncestors(string groupName)
Forms\InputRadioGroup.cs (3)
16
private
InputRadioContext
? _context;
28
[CascadingParameter] private
InputRadioContext
? CascadedContext { get; set; }
75
builder.OpenComponent<CascadingValue<
InputRadioContext
>>(0);