ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / NavBarBaseStyle Class / ShouldSerialize(Color) Method
The property to compare with default value.

In This Topic
    ShouldSerialize(Color) Method
    In This Topic
    Indicates whether the System.Drawing.Color has a default value.
    Syntax
    'Declaration
     
    Protected Function ShouldSerialize( _
       ByVal field As System.Drawing.Color _
    ) As System.Boolean
    protected System.bool ShouldSerialize( 
       System.Drawing.Color field
    )

    Parameters

    field
    The property to compare with default value.

    Return Value

    True if the System.Drawing.Color has no default value; otherwise, it is false.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also