.Net Framework > v3.0.6920.0 > System > Windows > Controls > ContextMenu ContextMenu
Category
Class
Description
Represents a pop-up menu that enables a control to expose functionality that is specific to the context of the control.
Assembly
PresentationFramework
Character
public
Attributes
NameValue/Assignment
DefaultEventAttributeOpened
Ancestors
MenuBase > ItemsControl > Control > FrameworkElement > UIElement > Visual > DependencyObject > DispatcherObject > Object
Contstructors
ContextMenu()
Properties
CustomPopupPlacementCallback
HandlesScrolling
HasDropShadow
HorizontalOffset
IsOpen
Placement
PlacementRectangle
PlacementTarget
StaysOpen
VerticalOffset
Events
Closed
Opened
Methods
OnClosed(RoutedEventArgs)
OnCreateAutomationPeer()
OnKeyDown(KeyEventArgs)
OnKeyUp(KeyEventArgs)
OnOpened(RoutedEventArgs)
OnVisualParentChanged(DependencyObject)
PrepareContainerForItemOverride(DependencyObject,Object)
Fields
ClosedEvent
CustomPopupPlacementCallbackProperty
HasDropShadowProperty
HorizontalOffsetProperty
IsOpenProperty
OpenedEvent
PlacementProperty
PlacementRectangleProperty
PlacementTargetProperty
StaysOpenProperty
VerticalOffsetProperty
Tags
0103E2B958, 02E3ABA98D, 034B4F5192
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples