How to set tab stops so that each tab is of certain characters width
This example illustrates how you can set monospaced font as the document default font and use the MeasureSingleLineString method to calculate the width of a string composed of four characters. This...
View ArticleHow to display detail data within a popup window
This example contains a Customers grid with a hyperlink column. When a hyperlink is clicked, a popup window is opened to display detail data - orders - of a given customer. Orders is a separate web...
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 filter the GridView across all columns and highlight the matched text
This example demonstrates how to show only those rows in the GridView whose cells contain a specified text. Matched text is highlighted using the MultiColorDrawString method.
View ArticleHow to show buttons with image in a TreeList's node or GridControl's cell
This example demonstrates how to show a button with image in a TreeList's node or GridControl's cell. Please refer to the How to add a button with image to a TreeList's node or GridControl's cell...
View ArticleHow to customize a dashboard layout
The following example demonstrates how to customize a dashboard layout in code.In this example, the DashboardViewer loads an existing dashboard with the predefined layout form an XML file. The...
View ArticleHow to display custom scale with different working time and cell duration for...
This example demonstrates how to create a custom scale that meets the following requirements:1. Working days: visible time from 7AM till 9PM, time cell duration is 12 minutes;2. Saturday: visible time...
View ArticleHow to create a fixed reference to an existing document range (the Fixed...
This example demonstrates the approach described in the following KB article:Â http://www.devexpress.com/scid=KA18961
View ArticleHow to merge cells in the GridControl
This example demonstrates how to achieve the merged cells effect in the GridControl. The main idea consists of stretching the top merged cell and showing it over other merged cells. For this purpose,...
View ArticleUnit Conversion Library code samples
This example illustrates how to use the Unit Conversion Library to create a QuantityValue object that represents a pressure value, assign a value measured in millimeters of mercury and gets the same...
View ArticleHow to load images into grid asynchronously without using an unbound column
Starting with version 13.2.8, our controls contain the BackgroundImageLoader class that can be used to load Images asynchronously.
View ArticleHow to handle the Click event for the carousel item
Specify our own template for the ItemsControl.ItemTemplate property and handle the PreviewMouseDown event for the control in the ItemTemplate. In the PreviewMouseDown event handler, to make sure that...
View ArticleHow to export a custom control from GridControl
This example shows how to export a custom control from GridControl.
View ArticleHow to show parent nodes during filtering when at least one child nodes meets...
By default, if a child node meets filter criteria but the parent node doesn't, the parent node is hidden. To change this behavior, it is necessary to handle the CustomNodeFilter event and implement...
View ArticleHow to generate bands based on a collection in GridControl
To generate bands from a collection, the BandsSource property was created. Bind this property to a collection of simple objects and specify the BandTemplate property that is used to visualize a band...
View ArticleXtraGrid - How to use the RealTimeSource
This simple example illustrates how to use RealTimeSource with a grid.
View ArticleHow to change the column header background in Silverlight
To change the background of GridControl columns, it is necessary to override the GridColumnHeader's template. Please refer to the How to modify DX themes in Silverlight article to learn more about...
View ArticleHow to: Populate DXListView with Data from Datasource (Final Code)
This example shows how to populate a DXListView control with data from a data source. A tutorial giving you step-by-step instructions to recreate this example can be found in the documentation.
View ArticleHow to: Create a Tabbed View and populate it with items from a bound collection
This example creates a Tabbed View and populates it with items from a bound collection. The headers and contents of items are visualized using two DataTemplates. An item's contents are rendered as a...
View Article