ToolBar.RadioButtonStyleKey Property
Gets the Style applied to radio buttons on a toolbar.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
<object property="{x:Static ToolBar.RadioButtonStyleKey}"/>
Property Value
Type: System.Windows.ResourceKeyA resource key that represents the default style for radio buttons on the toolbar.
Use this property to change the default style of RadioButton controls on the ToolBar.
The following example uses this property to apply a Style to RadioButton controls on a ToolBar.
<Style x:Key="{x:Static ToolBar.RadioButtonStyleKey}" TargetType="RadioButton"> <Setter Property="Background" Value="LightSteelBlue"/> <Setter Property="FontSize" Value="14"/> <Setter Property="HorizontalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/> </Style>
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.