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

How to localize worksheet function names

To localize worksheet function names, the culture-specific satellite assemblies are required. The DevExpress .NET Products Installer delivers satellite assemblies for German, Spanish, Japan and Russian...

View Article


Printing: How to customize default print styles

This example illustrates two methods for setting print style options in code. You can create a custom style which is a descendant of the DailyPrintStyle class and add it to the PrintStyles collection....

View Article


How to determine which scheduler element is hovered by the mouse pointer.

This example demonstrates how to obtain the hit information for the scheduler element over which the mouse pointer is hovering.To accomplish this, handle the SchedulerControl.MouseMove event and use...

View Article

Image may be NSFW.
Clik here to view.

How to add custom buttons to CalcEdit's popup form

This example demonstrates how to add custom buttons to CalcEdit's popup form. It is necessary to create a CalcEdit descendant, override its CreatePopupForm and return a PopupCalcEditForm descendant....

View Article

How to implement ColumnTemplateSelector with GridControl bands

This example shows how to populate GridControl bands and columns from MVVM source and then choose column templates based on custom logic.

View Article


How to create a LayoutView descendant class and register it for design-time use

This is an example of a custom LayoutView and a custom control that inherits the DevExpress.XtraGrid.GridControl. Make sure to build the project prior to opening Form1 in the designer.To obtain general...

View Article

How to compare dates on the client

This example illustrates how to compare values of two ASPxDateEdits on the client side. The result (number of days between the start date and end date is displayed in the ASPxTextBox). If the end date...

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 dynamically pass XtraReport parameters into the underlying...

This example shows how to dynamically add a parameter to XtraReport, compose FilterString in the SqlDataSource and use XtraReport's parameters to filter data in the SqlDataSource.

View Article


How to calculate Total cell values based on the low level Сell summary values

This example demonstrates how to use the CustomSummary Event to resolve the problem described in the Total values calculation seems to be incorrect, how to calculate Min, Max, Average values based on...

View Article

How to load unique (distinct) data via XPO

Use the XPView component, add the required properties to it, and set the properties' Group attribute to True.This example requires a Northwind demo database on a local SQL Server. It demonstrates how...

View Article

How to control state when the Session is being expired and prolong it on demand

This example illustrates how to create a timeout control for web sites (similar to what banks and other financial institutions have) that will display a modal popup dialog displaying the time remaining...

View Article

How to calculate Custom Total values based upon summary values rather than...

You can calculate custom values in this manner via the CustomCellValue event. To access pre calculated summary values use the PivotCellBaseEventArgs.CreateSummaryDataSource method.See Also:How to...

View Article


Image may be NSFW.
Clik here to view.

How to configure Linear Gauge to automatically fill all available space even...

The default Linear Gauge has 1:2 size proportion: Coordinate System. This means that you are not able to resize it wider in automatic mode. If you simplify the gauge layout (e.g. remove  Background...

View Article

How not to serialize certain properties

This example demonstrates how to exclude specific properties from serialization. To accomplish this task, handle the DXSerializer.AllowProperty event for an object whose property shouldn't be...

View Article


DocumentPreview - how to disable toolbar dragging

To prevent Bar from being dragged by a user, set the Bar.ShowDragWidget Property of the "DocumentPreviewToolBar" to false in the BarManager.Loaded event handler instead of the corresponding event...

View Article

How to Create a Checked ComboBox

The following example shows how to create a checked combo box.To enable this appearance, we set the editor's StyleSettings property to...

View Article


How to provide keyboard navigation in NavBar

The current NavBar version does not allow an end-user to navigate between NavBar groups and items using the keyboard.For this reason, we have prepared a workaround for the issue. This workaround...

View Article

Synchronization with MS Outlook - a demonstration example

This example allows you to examine the operation of AppointmentExportSynchronizer and AppointmentImportSynchronizer objects which enable you to implement your own synchronization method.WARNING: When...

View Article

How to edit time with DateEdit in Vista mode

To make editing the time into DateEdit, perform these steps:Create a DateEditCalendar descendant class, override its OnDayCellButtonClick method and add the Time property of the DateTime type;Into the...

View Article
Browsing all 7205 articles
Browse latest View live


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