ComponentOne FinancialChart for WPF
C1.WPF Namespace / ClearStyleExtensions Class / SetButtonForeground Method
The element which contains the attached property.
The brush used in the foreground of clear style button.



In This Topic
    SetButtonForeground Method
    In This Topic
    Sets the clear style button foreground brush.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetButtonForeground( _
       ByVal element As FrameworkElement, _
       ByVal value As Brush _
    ) 
    'Usage
     
    
    Dim element As FrameworkElement
    Dim value As Brush
     
    ClearStyleExtensions.SetButtonForeground(element, value)
    public static void SetButtonForeground( 
       FrameworkElement element,
       Brush value
    )
    public:
    static void SetButtonForeground( 
       FrameworkElement^ element,
       Brush^ value
    ) 

    Parameters

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