Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Collapse]Form Layout Managers
    Side Panel
   [Collapse]Layout Manager
    [Expand]Product Information
    [Expand]Getting Started
    [Expand]Layout Control
    [Expand]Data Layout Control
    [Expand]Layout Item
    [Expand]Layout Groups
    [Expand]Tabbed Group
    [Expand]Other Layout Elements
    [Collapse]Customization Capabilities
      Design-Time Customization
      Design-Time Actions: Adding and Removing Controls and Layout Items
      Design-Time Actions: Resizing and Moving Layout Items
      Design-Time Actions: Selecting Controls and Layout Items
      Context Menu
      Customization Form
      Runtime Undo/Redo
      Creating Layout Items at Design Time
      Creating Tabbed Groups at Design Time
      Design-Time Layout Templates
      Dragging Layout Items at Design Time
      Layout Tree View
      Selecting Layout Items at Design Time
      Runtime Customization Overview
      Default Runtime Customization
      Quick Runtime Customization
    [Expand]Size and Alignment
     Flow Layout
     Table Layout
     Focus Management
    [Expand]Appearance and Look and Feel
    [Expand]Miscellaneous
    [Expand]Examples
    [Expand]Member Tables
   [Expand]Tabbed MDI Manager
    Tab Control
   [Expand]Wizard Control
    Workspace Manager
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Context Menu

The Layout Control provides the built-in Customization Context Menu that delivers design-time and runtime customization capabilities. You and your end-user can rename and hide layout items, combine them into groups and tabbed groups, set size constraints, etc.

At design time, you can right-click any layout item, layout group or tabbed group to access customization commands appropriate for the clicked item. At runtime, the Customization Context Menu is available in Default Customization Mode.

The customization menu is context dependent, so different commands are available when different types of layout items are clicked:

The context menu for a single selected regular item
The context menu for a number of continuously selected items
The context menu for a Layout Group
The context menu for a Tabbed Group

Expanded Customization Commands

The available customization commands are listed in the table below:

Command Description
Add Empty Space Item Adds a new resizable empty item (Empty Space Item).
Add Tab Adds a new tab (a layout group) to the currently selected tabbed group.
Best Fit Proportionally resizes items within the current group.
Convert To Converts between the regular, Flow and Table Layout modes.
Create Tabbed Group Creates a tabbed group from the selection.
Group Combines the currently selected layout item(s) into a new group.
Hide Customization Form Hides the Customization Form. At runtime, this command completes the customization mode.
Hide Item Hides the currently selected item or group.
Hide/Show Text Hides/displays the selected item's label.
Rename Renames the selected item's/group's label.
Size Constraints Provides commands that allow the item's size constraints to be customized:

Reset to Default - Applies the default size constraints to the item.

Free Sizing - Allows the item to be freely resized. The item's maximum size is unleashed. The minimum size is limited by the default size constraints.

Lock Size - Locks the layout item's current size, so the layout item cannot be longer resized.

Lock Width - Locks the layout item's current width.

Lock Height - Locks the layout item's current height.

See the Custom Size Constraints topic for detailed information.
Text Position Specifies the label's position. For tabbed groups, it specifies the position of tabs.
Ungroup Ungroups the currently selected group. The selected group is destroyed and its items are moved to the parent group.
Ungroup Tabbed Group Ungroups the currently selected tabbed group. The selected tabbed group is destroyed and its child groups (tabs) are moved to the parent group.

Expanded See Also

How would you rate this topic?​​​​​​​