Skip to main content

RadioButton

C# API / Fluence.Wpf.Controls

  • 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)

C# source

Constructors​

RadioButton​

public RadioButton()

Creates a new RadioButton instance.

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.

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.