ComponentOne SuperTooltip for WinForms
C1.Win.4.8 Assembly / C1.Framework Namespace / Style Class / ColorFromBrush Method

In This Topic
    ColorFromBrush Method (Style)
    In This Topic
    Returns System.Drawing.SolidBrush.Color if specified brush is a System.Drawing.SolidBrush or System.Drawing.Color.Transparent otherwise.
    Syntax
    'Declaration
     
    Public Shared Function ColorFromBrush( _
       ByVal brush As System.Drawing.Brush _
    ) As System.Drawing.Color
    public static System.Drawing.Color ColorFromBrush( 
       System.Drawing.Brush brush
    )

    Parameters

    brush
    See Also