Sets the clear style button foreground brush.
Syntax
'Declaration
Public Shared Sub SetButtonForeground( _
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.SetButtonForeground(element, value)
public static void SetButtonForeground(
System.Windows.FrameworkElement ,
System.Windows.Media.Brush
)
Parameters
- element
- The element which contains the attached property.
- value
- The brush used in the foreground of clear style button.
See Also