How to embed a bar into a dock panel
This example shows how to embed a bar from the DXBars library into a dock panel.Dock panels embed bar containers at their top edges, allowing bars to be displayed in these containers. To add a bar to a...
View ArticleHow to customize a panel's context menu via actions
This example shows how to customize a panel's context menu via customization actions. Menu customization actions are added via the DockLayoutManager.ContextMenuCustomizations collection.
View ArticleHow to associate a command provided by the DXDocking library with a button
The DXDocking library provides a set of commands on dock panels. These are declared in the DockControllerCommand class. For instance, the Close command allows you to close a specific dock panel. The...
View ArticleHow to load an external Window/UserControl into a DocumentPanel
You can define a Window, Page or UserControl in external XAML files and then, with DXDocking, load their contents into DocumentPanel objects.This example demonstrates how to load an external Window and...
View ArticleHow to: Customize items in the Property Menu
Property Menu items can be customized by adding bar items and actions to the PropertyDefinition.MenuCustomizations collection as described at Customizing Property Menus.
View ArticleHow to serialize DockLayoutManager when TabbedDocumentUIService is used
Some of DockLayoutManager’s panel groups can contain documents that were created from ViewModel with IDocumentManagerService. To serialize and restore them correctly, it is necessary to perform these...
View ArticleSpellChecker - Customizing built-in dialogs
In this example you can learn how to customize spell checking dialogs of ASP.NET MVC Spell Checker.ASP.NET MVC Spell Checker provides two built-in forms - one form allows the end-user to accept or...
View ArticleOBSOLETE - How to allow Link/Unlink objects for a ManyToMany collection...
==============================This solution can be applied only to the old Security System. Starting with v13.2, you can configure member permissions to grant access to the associated collections (see...
View ArticleHow to: Edit dynamic properties in the PropertyGridControl
The PropertyGridControl supports the standard ICustomTypeDescriptor interface. To be able to display dynamic properties, you can implement this interface in the data source class and pass the instance...
View ArticleHow to: Validate data in PropertyGridControl
The DXPropertyGrid supports several ways to check if the value entered by a user is correct.First, this functionality can be implemented at the View level by handling the ValidateCell event. This event...
View ArticleHow to create custom shapes with custom connection points for...
The Diagram control supports a special language for defining shapes. The main element that contains shape description is ShapeTemplate. This element describes a shape contour and may contain several...
View ArticleHow to: Specify editors for displayed properties
Cell editors can be specified at the PropertyGridControl level as well as in a ViewModel/Model.In the first case, we will need to create PropertyDefinition objects for required properties. There are...
View ArticleCustom XtraTabbedMdiManager - How to add a button showing MDI child windows...
This sample shows how to add a button showing MDI child windows list to the XtraTabbedMdiManager's header. A button like "Active Files" in Visual Studio. To accomplish this, we've created an...
View ArticleHow to: Show object properties
The PropertyGridControl is the control designed to edit object properties. It can be bound to a specific object as well as a collection of objects.To browse and manage properties of a specific object,...
View ArticleDiagramControl - How to create a custom shape
This example illustrates how to create custom shapes.
View ArticleHow to create a custom theme for shapes in DiagramDesignerControl
Shapes in the Diagram control are colored according to an applied theme. To create a custom theme, add a resource dictionary into your application and add the Theme element into it. Each theme should...
View ArticleHow to create a ToolbarListItem
This example shows how to create a ToolbarListItem, used to provide access to available toolbars. The ToolbarListItem object is added to the sub-menu displayed within the main menu.
View ArticleEditing an in-memory dataset
This example is an illustration of the KA18686: ASPxGridView - How to implement CRUD operations with a custom data source KB Article. Refer to the Article for an explanation.See Also:How to insert,...
View ArticleHow to merge MainMenuControls
This example demonstrates the merging behavior of MainMenuControls.The example creates a TabControl in which a Tab contains three MainMenuControls: 1) an empty menu called 'elementHost', 2) a menu with...
View Article