WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PropertyGridPopupMenu

    Show / Hide Table of Contents

    Class PropertyGridPopupMenu

    Provides designer like context menu support for a PropertyGrid during runtime.

    Inheritance
    System.Object
    BaseComponent
    PopupMenu
    PropertyGridPopupMenu
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    IPopupParent
    IPopupItem
    System.Windows.Forms.IMessageFilter
    IIgnoreWorkingArea
    Inherited Members
    PopupMenu.childMenuUI
    PopupMenu.OnThemeNameChanged(String)
    PopupMenu.GetControlName(String)
    PopupMenu.IsRelatedControl(Control, Boolean)
    PopupMenu.IsShowing()
    PopupMenu.Show(Control, Rectangle)
    PopupMenu.Show(Control, Point)
    PopupMenu.Hide()
    PopupMenu.ShowChildrenUI(Point, IPopupParent)
    PopupMenu.GetSize()
    PopupMenu.GetPopupParentControl()
    PopupMenu.ProcessShortcut(Keys)
    PopupMenu.ProcessShortcut(Keys, Control)
    PopupMenu.ChildClosing(IPopupChild, PopupCloseType)
    PopupMenu.GetBorderOverlapCue(PopupRelativeAlignment)
    PopupMenu.GetLocationForPopupAlignment(PopupRelativeAlignment, PopupRelativeAlignment)
    PopupMenu.GetParentControl()
    PopupMenu.OnBeforePopup(CancelMouseEventArgs)
    PopupMenu.PreFilterMessage(Message)
    PopupMenu.ThemeStyle
    PopupMenu.SourceControl
    PopupMenu.IgnoreWorkingArea
    PopupMenu.SynchronousPopup
    PopupMenu.ParentBarItem
    PopupMenu.DesignTimeForm
    PopupMenu.MenuGrid
    PopupMenu.IPopupParent.IsRightToLeft
    PopupMenu.ParentBarItemChanged
    PopupMenu.BeforePopup
    PopupMenu.Popup
    PopupMenu.Collapse
    BaseComponent.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseComponent.GetActiveThemeName()
    BaseComponent.OnCanApplyThemeChanged(Boolean)
    BaseComponent.OnCanOverrideStyleChanged(Boolean)
    BaseComponent.ThemeName
    BaseComponent.CanOverrideStyle
    BaseComponent.IThemeProvider.BaseThemeName
    BaseComponent.CanApplyTheme
    BaseComponent.ControlName
    BaseComponent.IVisualStyle.VisualTheme
    BaseComponent.IsVisualStyleEnabled
    BaseComponent.ThemeNameChanged
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class PropertyGridPopupMenu : PopupMenu, IThemeProvider, IVisualStyle, IDisposable, IPopupParent, IPopupItem, IMessageFilter, IIgnoreWorkingArea
    Remarks

    This PopupMenu derived menu has a "Reset" menu item, which automatically provides the property-resetting service when made the context-menu of a System.Windows.Forms.PropertyGrid, during runtime. It also includes a "Description" menu item to let you show/hide the description portion of the property grid. Just as in the VS.Net property grid.

    To use this component, just create it passing the PropertyGrid in the constructor. The context menu will then start appearing for that PropertyGrid. There is no design time support for this component.

    Constructors

    PropertyGridPopupMenu(PropertyGrid)

    Creates a new instance of the PropertyGridPopupMenu.

    Declaration
    public PropertyGridPopupMenu(PropertyGrid propertyGrid)
    Parameters
    Type Name Description
    System.Windows.Forms.PropertyGrid propertyGrid

    The System.Windows.Forms.PropertyGrid to which this will be made a context menu.

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    PopupMenu.Dispose(Boolean)

    Implements

    IThemeProvider
    IVisualStyle
    System.IDisposable
    IPopupParent
    IPopupItem
    System.Windows.Forms.IMessageFilter
    IIgnoreWorkingArea
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved