Quantcast
Browsing all 7205 articles
Browse latest View live

How to automatically generate columns with predefined settings (MVVM)

Update:In version 13.2, we significantly improved Data Annotation attribute support for our controls. You can use standard Data Annotation attributes as well as custom ones provided with our MVVM...

View Article


How to change a cell template based on some condition

This sample illustrates how to change a cell template based on some condition using CellTemplateSelector. The main idea is to create a DataTemplateSelector descendant, and implement your own...

View Article


How to implement the ISearchControlClient interface

We have SearchControl (added in v14.1), which provides the search and filter functionality for the attached object. SearchControl can be attached to objects that support the ISearchControlClient...

View Article

How to create a master-detail grid

Update:Starting with version 12.1, you can create a master-detail grid without any custom templates using the DataControlDetailDescriptor class. See the example project below for more information.With...

View Article

How to select all column cells by clicking the column header with the Ctrl...

Implement a TableView descendant. In the descendant, override the OnColumnHeaderClick method. The last step is to call the SelectCell method for the necessary column while iterating through visible rows.

View Article


How to display the "No data found" text when DXGrid doesn't show any record

This sample shows how to display a custom text line within the grid's view if it does not display any rows.

View Article

How to merge cells horizontally in GridView

This example demonstrates how to merge cells located in the same row. The main idea is to paint merged cell manually. You can find a helper class in this example, which can be easily connected to your...

View Article

How to add Incremental Search into GridControl

This example demonstrates how to add Incremental Search into GridControl.Our GridControl doesn't have Incremental Search. To provide this functionality, we subscribe to the GridControl's...

View Article


How to preview and print the XtraCharts control

This example demonstrates how to use the PrintableComponentLink from the XtraPrinting Library to print the ChartControl with the additional print options set, such as paper kind and the landscape...

View Article


How to create a toolbar for a PropertyGridControl that allows properties to...

In the example a bar with two buttons is created above a PropertyGridControl. The buttons are used to sort properties alphabetically and group properties by categories, respectively.  To change the...

View Article

How to add DragAndDrop capability to the detail grid

This example demonstrates how to add the DragAndDrop capability to the detail grid.Our detail grid with DataControlDetailDescriptor doesn't support drag and drop. To provide this capability in this...

View Article

How to group tree list columns in bands in the same manner as in...

NOTE: This example illustrates an approach to showing bands in a general way. This approach is not adapted by different TreeList features and printing/exporting. It cannot be easily extended to support...

View Article

How to use the DXSerializer.CreateCollectionItem event to deserialize a...

The DXSerializer.CreateCollectionItem event is used to recreate items in a collection when this collection is deserialized. In this event handler, it's necessary to create a new item and add it to the...

View Article


How to replace standard SpreadsheetControl command with your own custom command

This example illustrates the technique used to modify the functionality of existing SpreadsheetControl commands.The SpreadsheetControl exposes the ISpreadsheetCommandFactoryService interface that...

View Article

A simple implementation of FormLayout inside EditFormTemplate

This example demonstrates how to define the FormLayout extension within EditFormTemplate using the SetEditFormTemplateContent method.See the GridView - EditFormTemplate with strong-typed FormLayout...

View Article


GridView - EditFormTemplate with strong-typed FormLayout

You can find how to place a FormLayout inside the EditForm template in the A simple implementation of FormLayout inside EditFormTemplate example. But, the problem in this example is that the FormLayout...

View Article

How to implement the IPrintable interface

The following example demonstrates how a standard control can be modified to enable its use with PrintableComponentLink. To accomplish this, the control should implement the IPrintable interface. In...

View Article


How to use the DXSerializer.FindCollectionItem event to deserialize a custom...

The DXSerializer.FindCollectionItem event is used when it's necessary to deserialize a custom collection and when deserialized items exist in the current layout. For example, the GridControl uses this...

View Article

How to add the capability to check a Tile in TileLayoutControl

This example demonstrates how to add the capability to check a Tile into TileLayoutControl.Our TileLayoutControl doesn't support it for now. To provide this functionality in this sample, we create a...

View Article

How to open a password protected .xls file

This example demonstrates the technique required to open a password protected .xls file prompting user for a correct password. When the Spreadsheet control attempts to open a password protected .xls...

View Article
Browsing all 7205 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>