Class ShortcutBadge
- Namespace
- WindowSill.API
- Assembly
- WindowSill.API.dll
A UI control that displays keyboard shortcut badges and automatically manages its visibility based on whether keyboard shortcuts are enabled in the application. The badge shows or hides itself when the keyboard shortcut system is toggled on or off.
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(WindowSill_API_PreviewFlyoutWinRTTypeDetails))]
[Bindable]
public sealed class ShortcutBadge : ContentControl, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IEquatable<Control>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<ContentControl>
- Inheritance
-
ShortcutBadge
- Implements
-
IWinRTObject
- Inherited Members
- Extension Methods
Constructors
ShortcutBadge()
Initializes a new instance of the ShortcutBadge class
public ShortcutBadge()
Fields
DefaultInnerVisibilityProperty
Dependency property that defines the default visibility state for inner content when keyboard shortcuts are disabled. This allows customization of what should be shown when the shortcut system is turned off.
public static readonly DependencyProperty DefaultInnerVisibilityProperty
Field Value
Properties
DefaultInnerVisibility
Gets or sets the visibility state that should be applied to inner content elements when keyboard shortcuts are disabled. Defaults to Collapsed to hide content when shortcuts are not active.
public Visibility DefaultInnerVisibility { get; set; }