ToggleButton Control

Styles

Style Key IsDefaultStyle*
TextToggleButtonStyle
IconToggleButtonStyle True

IsDefaultStyle*: Styles in this column will be set as the default implicit style for the matching control

Lightweight Styling

Key Type Value
TextToggleButtonBackground SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundPointerOver SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundPressed SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundDisabled SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundChecked SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundCheckedPointerOver SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundCheckedPressed SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundCheckedDisabled SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundIndeterminate SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundIndeterminatePointerOver SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundIndeterminatePressed SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBackgroundIndeterminateDisabled SolidColorBrush SystemControlTransparentBrush
TextToggleButtonForeground SolidColorBrush PrimaryBrush
TextToggleButtonForegroundPointerOver SolidColorBrush PrimaryBrush
TextToggleButtonForegroundPressed SolidColorBrush PrimaryBrush
TextToggleButtonForegroundDisabled SolidColorBrush OnSurfaceLowBrush
TextToggleButtonForegroundChecked SolidColorBrush PrimaryBrush
TextToggleButtonForegroundCheckedPointerOver SolidColorBrush PrimaryBrush
TextToggleButtonForegroundCheckedPressed SolidColorBrush PrimaryBrush
TextToggleButtonForegroundCheckedDisabled SolidColorBrush OnSurfaceLowBrush
TextToggleButtonForegroundIndeterminate SolidColorBrush PrimaryBrush
TextToggleButtonForegroundIndeterminatePointerOver SolidColorBrush PrimaryBrush
TextToggleButtonForegroundIndeterminatePressed SolidColorBrush PrimaryBrush
TextToggleButtonForegroundIndeterminateDisabled SolidColorBrush OnSurfaceLowBrush
TextToggleButtonFontFamily FontFamily MaterialRegularFontFamily
TextToggleButtonFontSize Double LabelLargeFontSize
TextToggleButtonBorderBrush SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushPointerOver SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushPressed SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushDisabled SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushChecked SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushCheckedPointerOver SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushCheckedPressed SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushCheckedDisabled SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushIndeterminate SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushIndeterminatePointerOver SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushIndeterminatePressed SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushIndeterminateDisabled SolidColorBrush SystemControlTransparentBrush
TextToggleButtonBorderBrushHoverOverlay SolidColorBrush OnSurfaceHoverBrush
TextToggleButtonBorderBrushFocusedOverlay SolidColorBrush OnSurfaceFocusedBrush
TextToggleButtonBorderBrushSelectedOverlay SolidColorBrush OnSurfaceFocusedBrush
TextToggleButtonFeedbackFocused SolidColorBrush OnSurfaceFocusedBrush
TextToggleButtonBorderThickness Thickness 0
TextToggleButtonCornerRadius CornerRadius 4
TextToggleButtonPadding Thickness 16,8
TextToggleButtonMinHeight Double 40
IconToggleButtonBackground SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundPointerOver SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundPressed SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundDisabled SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundChecked SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundCheckedPointerOver SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundCheckedPressed SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundCheckedDisabled SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundIndeterminate SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundIndeterminatePointerOver SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundIndeterminatePressed SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBackgroundIndeterminateDisabled SolidColorBrush SystemControlTransparentBrush
IconToggleButtonForeground SolidColorBrush OnSurfaceVariantBrush
IconToggleButtonForegroundPointerOver SolidColorBrush OnSurfaceVariantBrush
IconToggleButtonForegroundPressed SolidColorBrush OnSurfaceVariantBrush
IconToggleButtonForegroundDisabled SolidColorBrush OnSurfaceLowBrush
IconToggleButtonForegroundChecked SolidColorBrush PrimaryBrush
IconToggleButtonForegroundCheckedPointerOver SolidColorBrush PrimaryBrush
IconToggleButtonForegroundCheckedPressed SolidColorBrush PrimaryBrush
IconToggleButtonForegroundCheckedDisabled SolidColorBrush OnSurfaceLowBrush
IconToggleButtonForegroundIndeterminate SolidColorBrush PrimaryBrush
IconToggleButtonForegroundIndeterminatePointerOver SolidColorBrush PrimaryBrush
IconToggleButtonForegroundIndeterminatePressed SolidColorBrush PrimaryBrush
IconToggleButtonForegroundIndeterminateDisabled SolidColorBrush OnSurfaceLowBrush
IconToggleButtonBorderBrush SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushPointerOver SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushPressed SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushDisabled SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushChecked SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushCheckedPointerOver SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushCheckedPressed SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushCheckedDisabled SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushIndeterminate SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushIndeterminatePointerOver SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushIndeterminatePressed SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushIndeterminateDisabled SolidColorBrush SystemControlTransparentBrush
IconToggleButtonBorderBrushHoverOverlay SolidColorBrush OnSurfaceHoverBrush
IconToggleButtonBorderBrushFocusedOverlay SolidColorBrush OnSurfaceFocusedBrush
IconToggleButtonBorderBrushSelectedOverlay SolidColorBrush OnSurfaceFocusedBrush
IconToggleButtonStateCircleFill SolidColorBrush PrimaryBrush
IconToggleButtonStateCircleOpacityPointerOver Double HoverOpacity
IconToggleButtonStateCircleOpacityPressed Double PressedOpacity
IconToggleButtonStateCircleOpacityFocused Double FocusedOpacity
IconToggleButtonBorderThickness Thickness 0
IconToggleButtonMinHeight Double 40
IconToggleButtonMinWidth Double 40