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


C1.WPF Namespace > ClearStyleExtensions Class : SetPressedBrush Method
The element which contains the attached property.
The brush used in the pressed state.
Sets the pressed brush.
Syntax
'Declaration
 
Public Shared Sub SetPressedBrush( _
   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.SetPressedBrush(element, value)
public static void SetPressedBrush( 
   System.Windows.FrameworkElement element,
   System.Windows.Media.Brush value
)

Parameters

element
The element which contains the attached property.
value
The brush used in the pressed state.
See Also

Reference

ClearStyleExtensions Class
ClearStyleExtensions Members