RadioButton
- Assembly:
Fluence.Wpf - Namespace:
Fluence.Wpf.Controls
public class RadioButton : System.Windows.Controls.RadioButton
A Fluent Design styled radio button with optional description text.
Remarks: Inspired by WInUI's RadioButton.
Base type: System.Windows.Controls.RadioButton (including inherited WPF and .NET members)
Constructors
RadioButton
public RadioButton()
Initializes a radio button and its template-part motion lifetime.
Properties
CornerRadius
public CornerRadius CornerRadius { get; set; }
Gets or sets the corner radius. Defaults to 10 for a round indicator.
Description
public string? Description { get; set; }
Gets or sets the description text displayed below the radio button content.
Methods
OnApplyTemplate
public override void OnApplyTemplate()
Documentation inherited from the RadioButton API.
OnPropertyChanged
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Documentation inherited from the RadioButton API.
Dependency property identifiers
Use these identifiers with WPF property APIs. The matching CLR properties appear above when the control exposes them.
CornerRadiusProperty
public static readonly DependencyProperty CornerRadiusProperty
Identifies the CornerRadius dependency property.
DescriptionProperty
public static readonly DependencyProperty DescriptionProperty
Identifies the Description dependency property.