New to Telerik UI for WPFStart a free 30-day trial

Defines a set of attached properties that affect the visual appearance and coloring of elements in the Material theme.

Definition

Namespace:Telerik.Windows.Controls.MaterialControls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public sealed class MaterialAssist : ThemeHelper

Inheritance: objectThemeHelperMaterialAssist

Inherited Members ThemeHelper.MouseOverBrushPropertyThemeHelper.MouseOverBackgroundBrushPropertyThemeHelper.PressedBrushPropertyThemeHelper.PressedBackgroundBrushPropertyThemeHelper.FocusBrushPropertyThemeHelper.FocusBackgroundBrushPropertyThemeHelper.CheckedBrushPropertyThemeHelper.CheckedBackgroundBrushPropertyThemeHelper.ReadOnlyBrushPropertyThemeHelper.ReadOnlyBackgroundBrushPropertyThemeHelper.DisabledBrushPropertyThemeHelper.DisabledBackgroundBrushPropertyThemeHelper.DisabledForegroundBrushPropertyThemeHelper.CornerRadiusPropertyThemeHelper.FocusVisualMarginPropertyThemeHelper.ScrollBarsModePropertyThemeHelper.SetMouseOverBrush(DependencyObject, Brush)ThemeHelper.GetMouseOverBrush(DependencyObject)ThemeHelper.SetMouseOverBackgroundBrush(DependencyObject, Brush)ThemeHelper.GetMouseOverBackgroundBrush(DependencyObject)ThemeHelper.SetPressedBrush(DependencyObject, Brush)ThemeHelper.GetPressedBrush(DependencyObject)ThemeHelper.SetPressedBackgroundBrush(DependencyObject, Brush)ThemeHelper.GetPressedBackgroundBrush(DependencyObject)ThemeHelper.SetFocusBrush(DependencyObject, Brush)ThemeHelper.GetFocusBrush(DependencyObject)ThemeHelper.SetFocusBackgroundBrush(DependencyObject, Brush)ThemeHelper.GetFocusBackgroundBrush(DependencyObject)ThemeHelper.SetCheckedBrush(DependencyObject, Brush)ThemeHelper.GetCheckedBrush(DependencyObject)ThemeHelper.SetCheckedBackgroundBrush(DependencyObject, Brush)ThemeHelper.GetCheckedBackgroundBrush(DependencyObject)ThemeHelper.SetReadOnlyBrush(DependencyObject, Brush)ThemeHelper.GetReadOnlyBrush(DependencyObject)ThemeHelper.SetReadOnlyBackgroundBrush(DependencyObject, Brush)ThemeHelper.GetReadOnlyBackgroundBrush(DependencyObject)ThemeHelper.SetDisabledBrush(DependencyObject, Brush)ThemeHelper.GetDisabledBrush(DependencyObject)ThemeHelper.SetDisabledBackgroundBrush(DependencyObject, Brush)ThemeHelper.GetDisabledBackgroundBrush(DependencyObject)ThemeHelper.SetDisabledForegroundBrush(DependencyObject, Brush)ThemeHelper.GetDisabledForegroundBrush(DependencyObject)ThemeHelper.SetCornerRadius(DependencyObject, CornerRadius)ThemeHelper.GetCornerRadius(DependencyObject)ThemeHelper.SetFocusVisualMargin(DependencyObject, Thickness)ThemeHelper.GetFocusVisualMargin(DependencyObject)ThemeHelper.GetScrollBarsMode(DependencyObject)ThemeHelper.SetScrollBarsMode(DependencyObject, ScrollViewerScrollBarsMode)...

Fields

IsShadowDisabledProperty

DependencyProperty

Identifies the IsShadowDisabledProperty for the element. This is an attached property.

It determines whether the Shadow has its applied.

Default Value: false.

C#
public static readonly DependencyProperty IsShadowDisabledProperty

ShadowDepthProperty

DependencyProperty

Identifies the ShadowDepthProperty for the element. This is an attached property.

C#
public static readonly DependencyProperty ShadowDepthProperty

Methods

Sets whether the Shadow's rendering is disabled.

C#
public static bool GetIsShadowDisabled(DependencyObject obj)
Parameters:objDependencyObjectReturns:

bool

Gets the value for the ShadowDepth of the Shadow, if one is present in the template of the specified element.

C#
public static MaterialShadowDepth GetShadowDepth(DependencyObject element)
Parameters:elementDependencyObjectReturns:

MaterialShadowDepth

Gets whether the Shadow's rendering is disabled.

C#
public static void SetIsShadowDisabled(DependencyObject obj, bool value)
Parameters:objDependencyObjectvaluebool

Sets a value for the ShadowDepth of the Shadow, if one is present in the template of the specified element.

C#
public static void SetShadowDepth(DependencyObject element, MaterialShadowDepth value)
Parameters:elementDependencyObjectvalueMaterialShadowDepth