Sets the pressed brush.
Syntax
'Declaration
Public Shared Sub SetPressedBrush( _
ByVal As System.Windows.FrameworkElement, _
ByVal 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 ,
System.Windows.Media.Brush
)
Parameters
- element
- The element which contains the attached property.
- value
- The brush used in the pressed state.
See Also