ComponentOne Basic Library for WPF and Silverlight
SetButtonBackground Method (ClearStyleExtensions)


C1.WPF Namespace > ClearStyleExtensions Class : SetButtonBackground Method
The element which contains the attached property.
The brush used in the background of clear style button.
Sets the clear style button background brush.
Syntax
'Declaration
 
Public Shared Sub SetButtonBackground( _
   ByVal element As System.Windows.FrameworkElement, _
   ByVal value As System.Windows.Media.Brush _
) 
'Usage
 
Dim element As System.Windows.FrameworkElement
Dim value As System.Windows.Media.Brush
 
ClearStyleExtensions.SetButtonBackground(element, value)
public static void SetButtonBackground( 
   System.Windows.FrameworkElement element,
   System.Windows.Media.Brush value
)

Parameters

element
The element which contains the attached property.
value
The brush used in the background of clear style button.
See Also

Reference

ClearStyleExtensions Class
ClearStyleExtensions Members