Dela via


FlyoutShowOptions Class

Definition

Represents the options used to show a flyout.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FlyoutShowOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class FlyoutShowOptions
Public Class FlyoutShowOptions
Inheritance
Object IInspectable FlyoutShowOptions
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Constructors

FlyoutShowOptions()

Initializes a new instance of the FlyoutShowOptions class.

Properties

ExclusionRect

Gets or sets a rectangular area that the flyout tries to not overlap.

Placement

Gets or sets a value that indicates where the flyout is placed in relation to its target element.

Position

Gets or sets the position where the flyout opens.

ShowMode

Gets or sets a value that indicates how the flyout behaves when opened.

Applies to