[]
        
(Showing Draft Content)

C1.WPF.ClearStyleExtensions

ClearStyleExtensions Class

Attached properties used to pass brushes to Microsoft controls.

Inheritance
ClearStyleExtensions
Namespace: C1.WPF
Assembly: C1.WPF.4.6.2.dll
Syntax
public class ClearStyleExtensions : DependencyObject

Constructors

Name Description
ClearStyleExtensions()

Fields

Name Description
ButtonBackgroundProperty

This attached property can modify background of clear style button.

ButtonCornerRadiusProperty

This attached property can modify the corner radius of the buttons of a clear style control.

ButtonForegroundProperty

This attached property can modify background of clear style button.

CaretBrushProperty

This attached property can modify the caret visual style of a clear style control.

CornerRadiusProperty

This attached property can modify the focus visual style of a clear style control.

FocusBrushProperty

This attached property can modify the focus visual style of a clear style control.

MouseOverBrushProperty

This attached property can modify the mouse over visual style of a clear style control.

PressedBrushProperty

This attached property can modify the pressed visual style of a clear style control.

ScrollBarStyleProperty

This attached property can modify the style of a scrollbar.

Methods

Name Description
GetButtonBackground(FrameworkElement)

Gets the clear style button background brush.

GetButtonCornerRadius(FrameworkElement)

Gets the CornerRadius of the buttons.

GetButtonForeground(FrameworkElement)

Gets the clear style button foreground brush.

GetCaretBrush(FrameworkElement)

Gets the caret brush.

GetCornerRadius(FrameworkElement)

Gets the CornerRadius.

GetFocusBrush(FrameworkElement)

Gets the focus brush.

GetMouseOverBrush(FrameworkElement)

Gets the mouse over brush.

GetPressedBrush(FrameworkElement)

Gets the pressed brush.

GetScrollBarStyle(FrameworkElement)

Gets the style of a scrollbar.

SetButtonBackground(FrameworkElement, Brush)

Sets the clear style button background brush.

SetButtonCornerRadius(FrameworkElement, CornerRadius)

Sets the CornerRadius of the buttons.

SetButtonForeground(FrameworkElement, Brush)

Sets the clear style button foreground brush.

SetCaretBrush(FrameworkElement, Brush)

Sets the caret brush.

SetCornerRadius(FrameworkElement, CornerRadius)

Sets the CornerRadius.

SetFocusBrush(FrameworkElement, Brush)

Sets the focus brush.

SetMouseOverBrush(FrameworkElement, Brush)

Sets the mouse over brush.

SetPressedBrush(FrameworkElement, Brush)

Sets the pressed brush.

SetScrollBarStyle(FrameworkElement, Style)

Sets the style of a scrollbar.