Skip to the guide
All guides

Use the controls in the Visual Studio designer

Drag Mordex controls onto a form, use their smart tags and designer dialogs, and edit their properties in the Properties window of Visual Studio.

app Mordex Components 6.0.0checked reading 2 minutes

On this page

How the designer works

WinForms projects for .NET 10 use the out-of-process designer of Visual Studio. The Mordex.Windows package brings its own design files for that designer. You do not install anything else.

Build the project once after you add the package. The controls then show in the toolbox, and you can drag them onto a form.

Open the designer of a control

Many controls have a smart tag (the small arrow at the top right of the control) or extra commands in their right-click menu. These open the designer dialogs of the control.

ControlWhat you can open
MxDataGridThe smart tag and the MxDataGrid Designer dialog
MxRibbonThe New Tab command and the MxRibbon Designer dialog
MxNavigationBarIts tasks and the Add Group command
MxTaskPaneThe Groups Designer
MxTimelineThe Control Designer
MxDockManagerIts commands and the Add Panel Wizard
Designer dialogs of the main controls

MxCommandManager also has a designer dialog where you build the commands, menus and toolbars of a form.

Edit properties

Select a control and open the Properties window. Properties with a special editor show a ... button or a drop-down. The editor opens from there, and the new value is written to the form when you close it.

When you save the form, Visual Studio writes the code for your controls into the Designer.cs file of the form, as for any other control.

When the toolbox is empty

  • Build the project once. The toolbox shows the controls of a package only after a build.
  • Check that the project targets net10.0-windows.
  • Close the form and open it again after you install or update the package.