PropertyGrid::ContextMenuDefaultLocation Property
.NET Framework (current version)
Gets the default location for the shortcut menu.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property Point ContextMenuDefaultLocation { Point get(); }
Property Value
Type: System.Drawing::PointThe default location for the shortcut menu if the command is invoked. Typically, this is centered over the selected property.
The shortcut menu location is the center of the active property label in the grid. You can use this information to position the shortcut menu when the menu is invoked using the keyboard.
.NET Framework
Available since 1.1
Available since 1.1
Show: