編輯

共用方式為


Interior.TintAndShade Property

Definition

Gets or sets a value that lightens or darkens a color.

public:
 property System::Object ^ TintAndShade { System::Object ^ get(); void set(System::Object ^ value); };
public object TintAndShade { get; set; }
Public Property TintAndShade As Object

Property Value

Remarks

You can enter a number from -1 (darkest) to 1 (lightest) for the TintAndShade property. Zero (0) is neutral.

Attempting to set this property to a value less than -1 or more than 1 results in a run-time error: "The specified value is out of range." This property works for both theme colors and nontheme colors.

Applies to