How to print multiple reports as a single batch
The following example demonstrates how to print several reports in a single batch, instead of sending one report at a time to the printer. Also, in this example, the Print dialog is invoked for the...
View ArticleHow to populate RibbonControl with items
The RibbonControl supports all bar item types from the DXBars Suite. Additionally, the DXRibbon Suite includes items that can be used only in RibbonControl - BarButtonGroup and RibbonGalleryBarItem. To...
View ArticleHow to create a radial context menu
This example shows how to assign a RadialContextMenu to a text box and initialize the menu with items.To assign the RadialContextMenu to the text box, the BarManager.DXContextMenu attached property is...
View ArticleHow to create Backstage View
RibbonControl supports displaying the Office2007-like Application Menu as well as the Backstage View that is available in Office2010 and higher. In this example, we demonstrated how to create a...
View ArticleHow to: Edit multiple property values in a single PropertyGridControl cell
We provide a mechanism to display and edit properties different from the property specified in the property definition’s Path. This can be done using a custom ContentTemplate. Assume that you have an...
View ArticleHow to create an item with sub-items using BarSubItem
This example demonstrates how to create an item with a sub-menu in its popup. To add bar items into BarSubItem, use the Items...
View ArticleHow to: create bars represented by separate containers using ToolBarControl,...
This example shows how to create three bars (File, Edit and StatusBar) using the MainMenuControl, ToolBarControl and StatusBarControl controls.Actions for bar elements are defined by commands...
View ArticleHow to: create bars in one common container using BarManager
This example shows how to create three bars (File, Edit and StatusBar) using the BarManager component. Actions for bar elements are defined by commands implemented in the MyViewModel class. The...
View ArticleHow to: customize bars and items at runtime and serialize the layout into a file
Bars and items in BarManager can be customized at runtime. The Customization Mode as well as the Customization Window can be invoked using one of the following methods:-By double-clicking an empty...
View ArticleHow to associate a popup menu with a control
This example shows how to associate a popup menu with a TextEdit control via the BarManager.DXContextMenu attached property.
View ArticleHow to: customize the way properties are displayed/edited in XAML
This example demonstrates how to customize displayed properties in XAML by adding the required Property Definitions and Collection Definitions objects to the PropertyGridControl.There are several...
View ArticleHow to choose DevExpress themes using BarSplitButtonItem
This example demonstrates how to use the BarSplitButtonItem to select themes. All logic is incorporated into BarSplitItemThemeSelectorBehavior. So, to activate this functionality, assign the behavior...
View ArticleHow to use the Document.CalculateDocumentVariable event to insert a formatted...
This example illustrates how to use a Document.CalculateDocumentVariable Event to insert a formatted content via the DOCVARIABLE field with a parameter that is specified via the MERGEFIELD field. The...
View ArticleHow to make a grid cell read-only and change its background color
This example demonstrates how to disable editing of a grid column based on a value in another column. A disabled cell's appearance is customized to distinguish it from editable cells.See Also:How to...
View ArticleHow to: Automatically merge ribbon controls
In this example, the DockLayoutManager component implements the tabbed MDI interface. The main application window, as well as tabs, contains ribbon controls. The example illustrates pages, page groups...
View ArticleHow to: merge bars in controls that support automatic merging
The automatic bar merging is supported by several DevExpress controls:- DXTabControl - see DXTabControl.AllowMerging Property to learn more on how to enable it.- DXDocking - see MDI Bar Merging.In this...
View ArticleHow to: embed editors into a bar using BarEditItem
This example shows how to embed in-place editors into a bar using BarEditItem objects. Two editors (DateEdit and SpinEdit) are added with the BarEditItem.EditSettings property. Values for the editors...
View ArticleHow to: automatically uncheck items in a group when one item is checked
This example demonstrates how to create a group of items where only one item can be checked. To implement this functionality, a special bar item is used: BarItemSelector. When you select an item...
View ArticleCapability for a single column to fill an empty space in a grid view
In this example we added a FillEmptySpace option to the GridColumn descendant. Only one column in the grid view can have this option enabled, i.e. if you set the FillEmptySpace property to true for a...
View Article