Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / VisualStyle Class / UseVisualStyles Method
A VisualStyleState that needs detect.
A VisualStyles that needs detect.


In This Topic
    UseVisualStyles Method
    In This Topic
    Detects whether the visual style mode are supported for the VisualStyleState and the VisualStyles.
    Syntax
    'Declaration
     
    
    Public Shared Function UseVisualStyles( _
       ByVal state As VisualStyleState, _
       ByVal style As VisualStyles _
    ) As Boolean
    'Usage
     
    
    Dim state As VisualStyleState
    Dim style As VisualStyles
    Dim value As Boolean
     
    value = VisualStyle.UseVisualStyles(state, style)
    public static bool UseVisualStyles( 
       VisualStyleState state,
       VisualStyles style
    )

    Parameters

    state
    A VisualStyleState that needs detect.
    style
    A VisualStyles that needs detect.
    See Also