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)
20internal InputRadioContext? Context { get; private set; } 46[CascadingParameter] private InputRadioContext? CascadedContext { get; set; }
Forms\InputRadioContext.cs (6)
13public InputRadioContext? ParentContext { get; } 21public 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> 33public InputRadioContext? FindContextInAncestors(string groupName)
Forms\InputRadioGroup.cs (3)
16private InputRadioContext? _context; 28[CascadingParameter] private InputRadioContext? CascadedContext { get; set; } 75builder.OpenComponent<CascadingValue<InputRadioContext>>(0);