ThemeHelper
Defines a set of attached properties that affect the visual appearance and coloring of elements in the Telerik themes.
Definition
Namespace:Telerik.Windows.Controls.Theming.Helpers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class ThemeHelper
Inheritance: objectThemeHelper
Derived Classes:
Fields
CheckedBackgroundBrushProperty
DependencyProperty
Identifies the CheckedBackgroundBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty CheckedBackgroundBrushProperty
CheckedBrushProperty
DependencyProperty
Identifies the CheckedBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty CheckedBrushProperty
CornerRadiusProperty
DependencyProperty
Identifies attached CornerRadius for controls which do not own one. This is an attached property.
public static readonly DependencyProperty CornerRadiusProperty
DisabledBackgroundBrushProperty
DependencyProperty
Identifies the DisabledBackgroundBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty DisabledBackgroundBrushProperty
DisabledBrushProperty
DependencyProperty
Identifies the DisabledBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty DisabledBrushProperty
DisabledForegroundBrushProperty
DependencyProperty
Identifies the DisabledForegroundBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty DisabledForegroundBrushProperty
FocusBackgroundBrushProperty
DependencyProperty
Identifies the FocusBackgroundBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty FocusBackgroundBrushProperty
FocusBrushProperty
DependencyProperty
Identifies the FocusBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty FocusBrushProperty
FocusVisualMarginProperty
DependencyProperty
Identifies attached FocusVisualMarginProperty for controls which do not own one. This is an attached property.
public static readonly DependencyProperty FocusVisualMarginProperty
MouseOverBackgroundBrushProperty
DependencyProperty
Identifies the MouseOverBackgroundBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty MouseOverBackgroundBrushProperty
MouseOverBrushProperty
DependencyProperty
Identifies the MouseOverBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty MouseOverBrushProperty
PressedBackgroundBrushProperty
DependencyProperty
Identifies the PressedBackgroundBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty PressedBackgroundBrushProperty
PressedBrushProperty
DependencyProperty
Identifies the PressedBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty PressedBrushProperty
ReadOnlyBackgroundBrushProperty
DependencyProperty
Identifies the ReadOnlyBackgroundBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty ReadOnlyBackgroundBrushProperty
ReadOnlyBrushProperty
DependencyProperty
Identifies the ReadOnlyBrushProperty for the element. This is an attached property.
public static readonly DependencyProperty ReadOnlyBrushProperty
ScrollBarsModeProperty
DependencyProperty
Identifies the ScrollBarsModeProperty for the ScrollBars of a ScrollViewer. This is an attached property.
public static readonly DependencyProperty ScrollBarsModeProperty
Methods
Gets the Background Brush for the checked/selected state of the specified element.
public static Brush GetCheckedBackgroundBrush(DependencyObject element)
Brush
Gets the BorderBrush for the checked/selected state of the specified element.
public static Brush GetCheckedBrush(DependencyObject element)
Brush
Gets the CornerRadius for the specified element.
public static CornerRadius GetCornerRadius(DependencyObject element)
CornerRadius
Gets the BorderBrush for the disabled state of the specified element.
public static Brush GetDisabledBackgroundBrush(DependencyObject obj)
Brush
Gets the BorderBrush for the disabled state of the specified element.
public static Brush GetDisabledBrush(DependencyObject obj)
Brush
Gets the Foreground Brush for the disabled state of the specified element.
public static Brush GetDisabledForegroundBrush(DependencyObject obj)
Brush
Gets the Background Brush for the focused state of the specified element.
public static Brush GetFocusBackgroundBrush(DependencyObject element)
Brush
Gets the BorderBrush for the focused state of the specified element.
public static Brush GetFocusBrush(DependencyObject element)
Brush
Gets the FocusVisualMargin for the specified element.
public static Thickness GetFocusVisualMargin(DependencyObject element)
Thickness
Gets the Background Brush for the mouse over state of the specified element.
public static Brush GetMouseOverBackgroundBrush(DependencyObject element)
Brush
Gets the BorderBrush for the mouse over state of the specified element.
public static Brush GetMouseOverBrush(DependencyObject element)
Brush
Gets the Background Brush for the pressed state of the specified element.
public static Brush GetPressedBackgroundBrush(DependencyObject element)
Brush
Gets the BorderBrush for the pressed state of the specified element.
public static Brush GetPressedBrush(DependencyObject element)
Brush
Gets the Background Brush for the read only state of the specified element.
public static Brush GetReadOnlyBackgroundBrush(DependencyObject obj)
Brush
Gets the Brush for the read only state of the specified element.
public static Brush GetReadOnlyBrush(DependencyObject obj)
Brush
Gets the display mode for the ScrollBars of a ScrollViewer. This mode takes effect for themes like Fluent and Crystal, which by design have thin ScrollBars that expand their size on MouseOver. This property can only be applied to the ScrollBar element.
public static string GetScrollBarsMode(DependencyObject d)
Sets a Background Brush for the checked/selected state of the specified element.
public static void SetCheckedBackgroundBrush(DependencyObject element, Brush value)
Sets a BorderBrush for the checked/selected state of the specified element.
public static void SetCheckedBrush(DependencyObject element, Brush value)
Sets the CornerRadius for the specified element.
public static void SetCornerRadius(DependencyObject element, CornerRadius value)
Sets a Brush for the disabled state of the specified element.
public static void SetDisabledBackgroundBrush(DependencyObject obj, Brush value)
Sets a BorderBrush for the disabled state of the specified element.
public static void SetDisabledBrush(DependencyObject obj, Brush value)
Sets a Foreground Brush for the disabled state of the specified element.
public static void SetDisabledForegroundBrush(DependencyObject obj, Brush value)
Sets a Background Brush for the focused state of the specified element.
public static void SetFocusBackgroundBrush(DependencyObject element, Brush value)
Sets a Background Brush for the focused state of the specified element.
public static void SetFocusBrush(DependencyObject element, Brush value)
Gets the FocusVisualMargin for the specified element.
public static void SetFocusVisualMargin(DependencyObject element, Thickness value)
Sets a Background Brush for the mouse over state of the specified element.
public static void SetMouseOverBackgroundBrush(DependencyObject element, Brush value)
Sets a BorderBrush for the mouse over state of the specified element.
public static void SetMouseOverBrush(DependencyObject element, Brush value)
Sets a BorderBrush for the pressed state of the specified element.
public static void SetPressedBackgroundBrush(DependencyObject element, Brush value)
Sets a BorderBrush for the pressed state of the specified element.
public static void SetPressedBrush(DependencyObject element, Brush value)
Sets a Background Brush for the read only state of the specified element.
public static void SetReadOnlyBackgroundBrush(DependencyObject obj, Brush value)
Sets a BorderBrush for the read only state of the specified element.
public static void SetReadOnlyBrush(DependencyObject obj, Brush value)
Sets the display mode for the ScrollBars of a ScrollViewer - Auto, Compact or Normal. This mode takes effect for themes like Fluent and Crystal, which by design have thin ScrollBars that expand their size on MouseOver. This property can only be applied to the ScrollBar element.
public static void SetScrollBarsMode(DependencyObject d, ScrollViewerScrollBarsMode value)