14 references to WindowWidth
aspire (2)
Tui\TerminalViewerApp.cs (2)
395availW = Math.Max(1, Console.WindowWidth); 614var cols = Console.WindowWidth;
dotnet-aot (1)
parent\dotnet\Parser.cs (1)
413windowWidth = Console.WindowWidth;
dotnet-svcutil-lib (2)
HelpGenerator.cs (2)
197if (Console.WindowWidth > 75) 198s_nameMidpoint = Console.WindowWidth / 3;
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (2)
349if (Console.WindowWidth > 75) 350s_nameMidpoint = Console.WindowWidth / 3;
dotnet-user-jwts (1)
Helpers\ConsoleTable.cs (1)
61var equalColumnLengths = Math.Max((Console.WindowWidth / _columns.Count) - EXCESS_LENGTH_CREATED_BY_BORDERS, 5);
NuGet.CommandLine.XPlat (1)
Commands\PackageSearch\PackageSearchCommand.cs (1)
133int width = Console.WindowWidth;
System.CommandLine (2)
Help\HelpAction.cs (2)
16/// <value>The maximum width in characters after which help output is wrapped. The default is <see cref="Console.WindowWidth"/>.</value> 25_maxWidth = Console.IsOutputRedirected ? int.MaxValue : Console.WindowWidth;
Terminals.Repl (1)
Program.cs (1)
54Console.WriteLine($"{Green}{Console.WindowWidth} cols x {Console.WindowHeight} rows{Reset}");
vstest.console (1)
Internal\ConsoleHelper.cs (1)
17public int WindowWidth => Console.WindowWidth;
vstest.console.arm64 (1)
parent\vstest.console\Internal\ConsoleHelper.cs (1)
17public int WindowWidth => Console.WindowWidth;