Skip to main content

ContextMenuInfo Properties

Provides basic information about the context menu.
Name Description
Empty static For internal use only.
Header Gets or sets the text shown in the context menu’s header.
IsEmpty Indicates whether the context menu has any content.
MenuContent The object or UI element shown in the context menu.
Settings Gets or sets the flyout settings applied to the context menu.
Target The UI element for which the context menu is shown.
TargetDataContext An object from the DataContext property of a target UI element for which the context menu is shown.
TargetPosition The point relative to which the context menu should be displayed.
See Also