How to implement BackstageButtonItem with ToggleButton behavior
This example demonstrates how to implement a BackstageButtonItem with ToggleButton behavior.This functionality is implemented via a BackstageButtonItem descendant. The BackstageButtonItem acquires the...
View ArticleHow to generate row and cell styles using conditional expressions in WPF DXGrid
This example illustrates how to add the DXGrid behavior when you can use some conditional expressions and apply your custom style for cells and rows.OBSOLETE. Starting from version 14.1, DXGrid...
View ArticleHow to delete all criteria corresponding to a particular field from...
This example demonstrates how to implement a helper that removes all expressions referencing a certain property from the CriteriaOperator. For example, you may want to programmatically remove fragments...
View ArticleHow to use the Messenger in a CRUD application
This example shows how to create a CRUD application based on the DevExpress MVVM Framework. It uses the Entity Framework Code First technology to work with a database and the DevExpress POCO technology...
View ArticleHow to colorize Pushpin items based on data source data
A MapPushpin item is displayed by a simple image. By default, this image is loaded from the current Skin. The only way to change the pushpin color is to replace this image with a custom one using the...
View ArticleHow to handle keyboard focus
This example illustrates how to move keyboard focus between RichEditControl and adjacent controls when the TAB or SHIFT+TAB key combinations are pressed. This allows you to overcome the following...
View ArticleHow to change the size of the scroll bar buttons in the GridView
This example demonstrates how to create a custom scroll bar and use it as a scroll bar in the GridControl.See Also:How to create a GridView descendant class and register it for design-time use.Question...
View ArticleHow to customize a cell in the exported Excel document
When exporting a Pivot Grid control to XLSX (or XLS) format, you can customize a cell appearance in the exported document using the PivotXlsxExportOptions.CustomizeCell (or...
View ArticleHow to dynamically generate Table Of Contents by adding TOC field with...
The main form of this example contains the following elements:1. RichEditControl - to show the Table Of Content (TOC)2. TextEdit - to enter a text for a TOC field header3. SpinEdit - to specify a...
View ArticleHow to draw a logo on RibbonControl
This example demonstrates how to create a helper component that allows drawing a logo at the right side of the RibbonControl.To use this helper in your project, drop it onto the form from the Visual...
View ArticleHow to suppress the "Report has been changed. Do you want to save changes"...
To achieve this goal, it's possible to override the ReportCommand.Closing End-User Report Designer command as described in the How to: Override Commands in the End-User Designer (Custom Saving)...
View ArticleHow to customize file names in DifferentFiles export mode when exporting to...
To achieve this goal, it's necessary to override the PrintingSystemCommand.ExportXlsx command as described in the Override Commands (Custom Exporting) tutorial and rename the resulting files.
View ArticleHow to use the SvgImageSource extension to specify a vector image as...
The SvgImageSource extension allows you to specify a vector image as BarButtonItem's glyph . You can reference a resource in xaml as follows:[XAML]Glyph="{dx:SvgImageSourceUri=Images/Notebook.svg}"...
View ArticleHow to: Use the Integrated Mode of the Security System in Non-XAF Applications
The complete description is available in the How to: Use the Integrated Mode of the Security System in Non-XAF Applications topic.
View ArticleHow to check if a Point is inside a Polygon using the Ray Casting algorithm
This example demonstrates how to use the ray casting algorithm to determine whether a point is inside a polygon. This algorithm is described in the following topics:How can I determine whether a 2D...
View ArticleHow to implement a date range picker in ASPxGridView using a column's field name
This example demonstrates how to implement a date range picker in ASPxGridView using a column's field name.
View ArticleHow to: Add custom buttons before the DXWindow's default buttons
This example demonstrates how to add custom buttons before the DXWindow's default buttons by using the HeaderItems property. To accomplish this task in accordance with the MVVM pattern, bind the...
View ArticleHow to change a page language at runtime (jQuery approach)
This example demonstrates how to localize a web page that uses DevExtreme widgets and allows you to change the current language at runtime. We use LocalStore to save/restore the selected language...
View ArticleHow to scroll TableView on selecting row with moving the mouse outside view...
Obsolete. Starting with 12.1, to achieve this functionality, set the GridControl.SelectionMode property to Cell. This example illustrates how to add the DXGrid behavior which provides the capability to...
View ArticleHow to reorder ASPxGridView rows using buttons or drag-and-drop
This example demonstrates how to move ASPxGridView rows using buttons or jQuery Drag&Drop.To keep the order of rows, it is necessary to set up an extra column to store row order indexes. Then, sort...
View Article