Quantcast
Channel: DevExpress Support Center (Examples)
Browsing all 7205 articles
Browse latest View live
↧

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 Article


How 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 Article


How 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 Article

How 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 Article

How 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 Article


How 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 Article

How 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 Article

How 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 Article


How 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 Article


How to Create a TransitionControl

This example shows how to use a TransitionControl.

View Article

Unit 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 Article

How 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 Article

How 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 Article


How to export a custom control from GridControl

This example shows how to export a custom control from GridControl.

View Article

How 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 Article


How 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 Article

XtraGrid - How to use the RealTimeSource

This simple example illustrates how to use RealTimeSource with a grid.

View Article


How 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 Article

How 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 Article

How 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
Browsing all 7205 articles
Browse latest View live


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