Class Windows11ThemeSizeHelper
Allows for switching between the normal and compact mode of the Windows11Theme theme.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class Windows11ThemeSizeHelper : DependencyObject
Constructors
Windows11ThemeSizeHelper()
Declaration
public Windows11ThemeSizeHelper()
Fields
EnableDynamicAnimationProperty
Identifies the EnableDynamicAnimation attached property. It is used by the Windows11 theme to enable dynamic animations in the ListBox and RadioButton controls.
Declaration
public static readonly DependencyProperty EnableDynamicAnimationProperty
Field Value
System.
|
IsInCompactModeProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsInCompactModeProperty
Field Value
System.
|
Properties
Helper
Holds the Helper singleton instance.
Declaration
public static Windows11ThemeSizeHelper Helper { get; }
Property Value
IsInCompactMode
Gets or sets a boolean property indicating whether the Windows11Theme theme is in compact or normal mode.
Declaration
public bool IsInCompactMode { get; set; }
Property Value
System.
|
Methods
GetEnableDynamicAnimation(DependencyObject)
Gets a boolean value indicating whether dynamic animation is enabled for this element.
Declaration
public static bool GetEnableDynamicAnimation(DependencyObject obj)
Parameters
System. The target animated object. |
Returns
System.
|
Remarks
This attached property is used by the Windows11 theme to enable dynamic animations.
SetEnableDynamicAnimation(DependencyObject, Boolean)
Sets a boolean value indicating whether dynamic animation is enabled for this element.
Declaration
public static void SetEnableDynamicAnimation(DependencyObject obj, bool value)
Parameters
System. The target animated object. |
System. The new value. |
Remarks
This attached property is used by the Windows11 theme to enable dynamic animations in the ListBox and RadioButton controls.