Share via


FlyoutShowOptions.ExclusionRect Property

Definition

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

public:
 property IReference<Rect> ^ ExclusionRect { IReference<Rect> ^ get(); void set(IReference<Rect> ^ value); };
IReference<Rect> ExclusionRect();

void ExclusionRect(IReference<Rect> value);
public System.Nullable<Rect> ExclusionRect { get; set; }
var iReference = flyoutShowOptions.exclusionRect;
flyoutShowOptions.exclusionRect = iReference;
Public Property ExclusionRect As Nullable(Of Rect)

Property Value

The rectangular area that the flyout tries to not overlap.

Remarks

In some cases, the flyout will not be able to honor the exclusion rect; for example, if there is not sufficient space between the exclusion rect and the window edge.

Applies to