csharp
public sealed class RadioButtonOne choice among several.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Belongs to a RadioGroup, which is where the mutual exclusion lives. A radio outside one is a checkbox that cannot be unticked, which is nothing anybody wants — so AddOption is the way to make one.
Fields and properties (5)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool CanUncheckWhether activating it while it is already on turns it off.
public string? Valuepublic UiElement BoxThe circle the dot is drawn in.
public static readonly UiPropertyKey ValuePropertyIdentity for Value.
Methods (2)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void ClearValue()Unsets Value, so it takes its default or its ancestor's value again.
Used by (3)
- RadioGroupVixen.Ui.Controls
- SelectionTestsVixen.Ui.Controls.Tests
- ToggleInteractionTestsVixen.Ui.Controls.Tests