Поделиться через


SystemColorConstants Class

Provides constants that map Visual Basic 6.0 color constants to their SystemColors equivalents.

Inheritance Hierarchy

System.Object
  Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6.SystemColorConstants

Namespace:  Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Декларация
<StandardModuleAttribute> _
Public NotInheritable Class SystemColorConstants
[StandardModuleAttribute]
public sealed class SystemColorConstants
[StandardModuleAttribute]
public ref class SystemColorConstants sealed
[<Sealed>]
[<StandardModuleAttribute>]
type SystemColorConstants =  class end
public final class SystemColorConstants

The SystemColorConstants type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member vb3DDKShadow Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vb3DFace Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vb3DHighlight Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vb3DLight Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vb3DShadow Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbActiveBorder Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbActiveTitleBar Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbActiveTitleBarText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbApplicationWorkspace Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbButtonFace Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbButtonShadow Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbButtonText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbDesktop Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbGrayText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbHighlight Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbHighlightText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbInactiveBorder Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbInactiveCaptionText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbInactiveTitleBar Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbInactiveTitleBarText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbInfoBackground Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbInfoText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbMenuBar Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbMenuText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbScrollBars Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbTitleBarText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbWindowBackground Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbWindowFrame Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.
Public fieldStatic member vbWindowText Maps the Visual Basic 6.0 SystemColor constant to its SystemColors equivalent.

Top

Remarks

Visual Basic 6.0 used constants to represent colors; Visual Basic 2010 uses the SystemColors type.

Примечание

Functions and objects in the Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2010. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6 Namespace

Other Resources

Printer Compatibility Library

How to: Fix Upgrade Errors by Using the Printer Compatibility Library (Visual Basic)

Deploying Applications That Reference the Printer Compatibility Library