Delen via


CoreWindowPopupShowingEventArgs Class

Definition

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

public ref class CoreWindowPopupShowingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Core.CoreWindowDialogsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class CoreWindowPopupShowingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Core.CoreWindowDialogsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class CoreWindowPopupShowingEventArgs
Public NotInheritable Class CoreWindowPopupShowingEventArgs
Inheritance
Object Platform::Object IInspectable CoreWindowPopupShowingEventArgs
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.UI.Core.CoreWindowDialogsContract (introduced in v1.0)

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)

Sets the desired size of the popup.

Applies to