1 write to Context
Microsoft.AspNetCore.Components.Web (1)
Forms\InputRadio.cs (1)
51
Context
= string.IsNullOrEmpty(Name) ? CascadedContext : CascadedContext?.FindContextInAncestors(Name);
6 references to Context
Microsoft.AspNetCore.Components.Web (6)
Forms\InputRadio.cs (6)
53
if (
Context
== null)
63
Debug.Assert(
Context
!= null);
67
builder.AddAttributeIfNotNullOrEmpty(2, "class", AttributeUtilities.CombineClassNames(AdditionalAttributes,
Context
.FieldClass));
69
builder.AddAttribute(4, "name",
Context
.GroupName);
71
builder.AddAttribute(6, "checked",
Context
.CurrentValue?.Equals(Value) == true ? GetToggledTrueValue() : null);
72
builder.AddAttribute(7, "onchange",
Context
.ChangeEventCallback);