SystemParameters.MaximizedPrimaryScreenWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the width, in pixels adjusted for DPI, of a maximized top-level window on the primary display monitor.
public:
static property double MaximizedPrimaryScreenWidth { double get(); };
public static double MaximizedPrimaryScreenWidth { [System.Security.SecurityCritical] get; }
public static double MaximizedPrimaryScreenWidth { get; }
[<get: System.Security.SecurityCritical>]
static member MaximizedPrimaryScreenWidth : double
static member MaximizedPrimaryScreenWidth : double
Public Shared ReadOnly Property MaximizedPrimaryScreenWidth As Double
Property Value
The window width.
- Attributes
Remarks
Maps to SM_CXMAXIMIZED. See GetSystemMetrics.
XAML attribute usage
<object property="{ SystemParameters.MaximizedPrimaryScreenWidth}
"/>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.