MenuFactoryCreateMenuFlyoutOptions Class
The options to be used when creating a menu flyout using IMenuFactory.
public class MenuFactoryCreateMenuFlyoutOptions
- Inheritance:
- object object
Constructors
MenuFactoryCreateMenuFlyoutOptions()
Initializes an instance of the class.
public MenuFactoryCreateMenuFlyoutOptions()
Properties
MenuItems
Menu items used to initialize the menu.
OverlayDismissEventPassThrough
A value indicating whether the event that closes the flyout is passed through to the parent window.
public bool? OverlayDismissEventPassThrough { get; set; }
Property Value
- bool?
Remarks
Clicks outside the popup cause the popup to close.
When false
, these clicks will be handled by the popup and not be registered by the parent window.
When true
, the events will be passed through to the parent window.
When null
and the Owner is an ILogical
, an attempt will be made to lookup
the current value of the PopupCanDismissPassThrough theme resource.
Owner
An owner for the menu which can be used for additional context.
PlacementMode
The placement mode.
public PlacementMode? PlacementMode { get; set; }
Property Value
- PlacementMode?
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()