CoreWindowPopupShowingEventArgs CoreWindowPopupShowingEventArgs CoreWindowPopupShowingEventArgs CoreWindowPopupShowingEventArgs Class

Definition

Defines a method for setting the desired size of a popup window.

public : sealed class CoreWindowPopupShowingEventArgs : ICoreWindowPopupShowingEventArgs
public sealed class CoreWindowPopupShowingEventArgs : ICoreWindowPopupShowingEventArgs
Public NotInheritable Class CoreWindowPopupShowingEventArgs Implements ICoreWindowPopupShowingEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.UI.Core.CoreWindowDialogsContract (introduced v1)

Remarks

Note

: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).

Methods

SetDesiredSize(Size) SetDesiredSize(Size) SetDesiredSize(Size) SetDesiredSize(Size)

Sets the desired size of the popup.

public : void SetDesiredSize(Size value)
public void SetDesiredSize(Size value)
Public Function SetDesiredSize(value As Size) As void
coreWindowPopupShowingEventArgs.setDesiredSize(value);
Parameters
value
Size Size Size Size

The desired size of the popup.