Partager via


PSHostRawUserInterface.MaxWindowSize Property

Definition

Gets the size of the largest window possible for the current buffer, current font, and current display hardware. The view window cannot be larger than the screen buffer or the current display (the display the window is rendered on).

public:
 abstract property System::Management::Automation::Host::Size MaxWindowSize { System::Management::Automation::Host::Size get(); };
public abstract System.Management.Automation.Host.Size MaxWindowSize { get; }
member this.MaxWindowSize : System.Management.Automation.Host.Size
Public MustOverride ReadOnly Property MaxWindowSize As Size

Property Value

The largest dimensions the window can be resized to without resizing the screen buffer.

Remarks

Always returns a value less than or equal to MaxPhysicalWindowSize.

Applies to

See also