Condividi tramite


ColorValue Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members

Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Stores the red, green, blue, and alpha channel values that together define a specific color.

The ColorValue type exposes the following members.

Constructors

  Name Description
Public methodSupported by the .NET Compact Framework ColorValue Overloaded. Initializes a new instance of the ColorValue class.

Top

Methods

  Name Description
Public methodSupported by the .NET Compact Framework Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodSupported by the .NET Compact Framework Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact Framework FromArgb Initializes a new instance of a ColorValue structure using an integer value.
Public methodStatic memberSupported by the .NET Compact Framework FromColor Initializes a new instance of a ColorValue structure using a Color value.
Public methodSupported by the .NET Compact Framework GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public methodSupported by the .NET Compact Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework ToArgb Returns a value that represents the color value of the current instance.
Public methodSupported by the .NET Compact Framework ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public propertySupported by the .NET Compact Framework Alpha Gets or sets the alpha channel value of the current color.
Public propertySupported by the .NET Compact Framework Blue Gets or sets the blue channel value of the current color.
Public propertySupported by the .NET Compact Framework Green Gets or sets the green channel value of the current color.
Public propertySupported by the .NET Compact Framework Red Gets or sets the red channel value of the current color.

Top

See Also

Reference

ColorValue Structure

Microsoft.WindowsMobile.DirectX.Direct3D Namespace