共用方式為


PSHostRawUserInterface.BackgroundColor Property

Definition

Gets or sets the color used to render the background behind characters on the screen buffer. Each character cell in the screen buffer can have a separate background color.

public:
 abstract property ConsoleColor BackgroundColor { ConsoleColor get(); void set(ConsoleColor value); };
public abstract ConsoleColor BackgroundColor { get; set; }
member this.BackgroundColor : ConsoleColor with get, set
Public MustOverride Property BackgroundColor As ConsoleColor

Property Value

Applies to

See also