You can find a description of the dialog box tabs in the Entering Property Values Manually section. Click the tab that contains the property you want to use. The Font dialog box contains all the commands for formatting text, including quite a few that didnt. On the Page Layout tab, click the Page Setup dialog-box-launcher icon. Use the Dialog box launcher to open the Font dialog box.
In the Ribbon Designer, right-click any group, and then click Add DialogBoxLauncher.Īdd code to the xref.RibbonGroup.DialogLauncherClick event of the group to open a custom or built-in dialog box. For some objects, such as OCXs, Alarm Summaries, Data links, and charts, you must right-click the object and select Animations from the pop-up menu. From the Ribbon, click the Page Layout tab. This tutorial focuses on two functions in particular: how to adjust alignment and how to set tabs. To add a dialog box launcher to a Ribbon group Users click this icon to open related dialog boxes or task panes that provide more options that relate to the group. A dialog box launcher is a small icon that appears in a group. You can add a dialog box launcher to any group on a Ribbon. Most probably you use the ShowDialog method of the class for displaying your Dialog box launcher.
How to: Add a Dialog box launcher to a Ribbon group