ContextMenuclass

Identical to Menu except DeleteOnClose defaults to true. Can optionally be made searchable by setting `Editor.ContextMenu.Searchable` to true before opening.

objectMenuContextMenu
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public class Editor.ContextMenu : Editor.Menu

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

protected virtual void OnAboutToShow()PROTECTEDVIRTUAL

Returns:void

Properties1

Showing 1 properties

public bool Editor.ContextMenu.Searchable { get; set; }PUBLICGETSET

Adds a search bar in the context menu. Useful for big menus

Returns:bool

On this page