How to display KPI graphics in ASPxPivotGrid control bound to a regular data...
The following example shows how to display KPI graphics in the ASPxPivotGrid control bound to a regular data source.The ASPxPivotGrid control is bound to a "Sales Person" view in the Northwind...
View ArticleHow to create a modal DocumentPanel in DockLayoutManager
To make a window modal, create a class-helper with two attached properties: IsModal and WindowState. The IsModal property determines whether the window is modal. The WindowState property contains...
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 edit strings in PivotGridControl
To edit strings in PivotGridControl, summaries should be turned off. In this example, the PivotGridField.SummaryType property is set to Min for the data field.
View ArticleHow to implement cascaded combo box columns in ASPxGridView without using...
The example illustrates how to create an editable grid with cascaded combobox columns. The implementation of the example includes the handling of manual callbacks and providing items for appropriate...
View ArticleASPxGridView - How to implement a custom HeaderFilter with a calendar for a...
This example illustrates how to create a custom HeaderFilter for a date column. The main steps are: 1) create a custom HeaderTemplate to prevent default header filter button logic and implement custom...
View ArticleHow to connect to a remote data service instead of using a direct database...
ScenarioIn this example, we will create a WCF IDataStore service that will be used by our client (Console Application) as a data layer. Instead of the direct connection to the database, our client will...
View ArticleHow To: Implement a custom security operation that can be permitted at the...
In the XAF Security System, the following operations can be permitted for a specific type by default: Read, Write, Create, Delete and Navigate. In this topic, an implementation of the additional Export...
View ArticleHow to create a Text Annotation at runtime
This example illustrates how to initialize a TextAnnotation at runtime and enable its RuntimeMoving option.
View ArticleHow to assign different in-place editors to different types of cells
The following code shows how to handle the PivotGridControl.CustomCellEdit event to assign different in-place editors to different types of cells.In the example, two in-place editors (repository items)...
View ArticleHow to make GridControl immediately save changes in a cell after editing
This example shows how to update GridControl DataSource right after a cell editor value has been changed. To implement this scenario, we have introduced the CommitHelper.CommitOnValueChanged attached...
View ArticleHow to customize the ToolTip for a TreeList cell
This example demonstrates how to customize the ToolTip for a TreeList cell. A hint text is changed by handling the ToolTipController.GetActiveObjectInfo event. For more information, please review the...
View ArticleHow to implement hot-track for grid rows during the drag-and-drop operation
This example illustrates how to highlight rows during the drag-and-drop operation. In this example, we have DependencyProperty at the Window class level that stores a current row handle of a row over...
View ArticleHow to provide a sequential number for each row
This example demonstrates how to numerate rows in the grid. For that purpose, a new unbound column will be added. The the CustomColumnDisplayText event will be handled to assign numbers to the cells in...
View ArticleHow to: Use DialogService and DXMessageBoxService
The DXMessageBoxService provides methods to show a message box from a View Model. The DialogService provides the capability to show a dialog window from a View Model. This example demonstrates how to...
View ArticleHow to save the currently opened View as a new View Variant at runtime
This example provides reusable UserViewVariants modules that allow your end-users to add View Variants dynamically. Refer to the Best practices of creating reusable XAF modules by example of a View...
View ArticleDoes the LookUp editor support GUID values?
This example demonstrates how the LookUp editor works with GUID values. For more information, please review the Does the LookUp editor support GUID values? article and see properties' descriptions in...
View ArticleOBSOLETE - How to persist a value as a different type via a ValueConverter
This example is now obsolete. Instead, refer to the following help articles:Value ConvertersMapping Complex Types to the DatabaseQuestion CommentsAdded By: Robert Fuchs at: 6/26/2012 7:21:19 AM The...
View ArticleOBSOLETE - Why are context menus of DX controls not skinned by default?...
See the Why are context menus of DevExpress WinForms controls not skinned by default? KB Article for more information.
View ArticleHow to: Create a Custom Attached Behavior
This example demonstrates how to create a custom attached behavior (a Behavior descendant).Review this documentation topic to learn more.
View Article