This example demonstrates how to make the ChartControl's constant line adjustable interactively.
How to provide interactive editing for a constant line
How to show numerical data using a logarithmic scale
This example demonstrates how to use a logarithmic scale in XtraCharts. By default, this scale is disabled. To enable it, set the Axis.Logarithmic property to True, and the Axis.LogarithmicBase property to a value that is required in your scenario.
How to show series labels for hot-tracked points
This example demonstrates how to make a chart show a series point label only for the point that has been hot-tracked.
To do this, in the CustomDrawSeriesPoint event handler, assign an empty string to the LabelText property of each series point, and then assign the point's value to the hot-tracked point, which is obtained in the ObjectHotTracked event handler.
See also:
- How to show a tooltip with a series point's data;
- How to accompany a chart, its pane or series point by text or image annotations.
How to use an axis range and scrolling range properties
This example demonstrates how to use the Range property of an axis, to define its visible range, and the AxisRange.ScrollingRange property - to customize scrolling options.
See also: How to customize the appearance of an axis scroll bar.
How to use series labels resolve overlapping modes
This example demonstrates how series labels' overlapping options can be accessed and customized at runtime.
How to customize the Silverlight Report Designer
This example illustrates how you can customize the Ribbon toolbar of the Silverlight Report Designer (e.g., remove an existing button or add a custom one).
The RibbonControl's items can be customized via the corresponding actions that are passed to the Report Designer using templates in XAML.
For more details, see Customizing Bars via Actions.
Report (Export) Service - How to change the ConnectionString property at runtime
To store a document's temporary data, assign the ConnectionString property at runtime.
OBSOLETE - How to Add a Button to a Form ( Web Forms )
====================================================================
This example is obsolete. Refer to the How to: Add a Button or another Control to a Formhelp article instead.
====================================================================
OBSOLETE - How to Add a Button to a Form ( Windows Forms )
====================================================================
This example is obsolete. Refer to the How to: Add a Button or another Control to a Formhelp article instead.
====================================================================
How to print the schedule using Scheduler Reporting
This example demonstrates how to print the Scheduler content using reporting technique. The process of creating this example is described in the How to: Print a Scheduler Using Reporting Tecnnique (Step-by-Step Guide) document.
How to maintain the zoom factor of a web report displayed by an ASPxDocumentViewer
The document zoom factor of an ASPxDocumentViewer is controlled by the XtraReport.PrintingSystem.Document.ScaleFactor property and depends on the ScaleFactor value saved into the HiddenField.
To manipulate the HiddenField value, use a custom editor added to the Document Viewer Toolbar (ReportToolbarComboBox).
Because the Document.ScaleFactor property value has no effect upon the actual document page size, it may be required to manually adjust the page size to match the current scale factor value.
How to construct an XtraSchedulerReport at runtime
This example demonstrates the creation of a simple Daily style XtraScheduler report at runtime. Then the report is loaded into the Report Designer for editing.
How to implement custom drawing for a ChartControl that is bound to the PivotGrid control
This example demonstrates how to show color description for the pivot grid rows and color graph line according to the selected cells. To accomplish this task, it's only required to handle the ChartControl.CustomDrawSeries event and change the drawing parameters for a chart's series in the desired way and use pivotGridControl1.ValueImages to set images that are displayed within field values.
How to implement drag and drop between two XtraTreeList controls
This example demonstrates how to copy nodes between two TreeList controls.
How to build a full-functional and well-organized MVVM application in a few clicks with DevExpress (Visual Studio 2012)
This Code Central example is the result of a tutorial that demonstrates how to build a fully functional and well-organized MVVM application in a few clicks: Getting Started. You can also watch the WPF Scaffolding Wizards video that replicates the steps of the first lesson in the tutorial.
The example contains two Visual Studio solutions: the first is in C# and the second one - in Visual Basic.
Please note that to get the Visual Basic version, we have converted the C# one. It is related to the fact that in this example, we have used the Scaffolding Wizards feature that does not support Visual Basic: S171399: Scaffolding Wizards - Provide the capability to use Scaffolding Wizards for Visual Basic projects.
The sample is built with Visual Studio 2012 using Framework 4.5 and Entity Framework 5.0. If you use Visual Studio 2010, here is another example that is adapted for this version: E4700: How to build a full-functional and well-organized MVVM application in a few clicks with DevExpress (Visual Studio 2010).
In the solution folder, you can also find the Northwind improved database (with improved pictures and updated dates). This database is used in the sample as a data source.
Example Comments
Added By: Martin Radvansky at: 7/15/2013 9:52:51 AM
Is possible to use XPO?
Added By: Alexander (DevExpress Support) at: 7/15/2013 10:15:55 AMHi Martin,
I am afraid no, XPO is not supported by Scaffolding Wizards at the moment.
How to create drill-through reports in Silverlight
This demonstration illustrates the creation of drill through reporting with our reporting suite in conjunction with Silverlight.
How to build a fully-functional and well-organized MVVM application in a few clicks with DevExpress components (Visual Studio 2010)
This Code Central example is the result of the first lesson of a tutorial that demonstrates how to build a fully functional and well-organized MVVM application in a few clicks: Getting Started. You can also watch the WPF Scaffolding Wizards video that replicates the steps of the first lesson in the tutorial.
The sample is built with Visual Studio 2010. If you use Visual Studio 2012+, here is another example that is adapted for this version: E4693: How to build a fully-functional and well-organized MVVM application in a few clicks with DevExpress components (Visual Studio 2012+).
In the solution folder, you can find a Northwind improved database (with improved pictures and updated dates). This database is used in the sample as a data source.
Please note that our Layout Assistant is available only for VS2012+. Additionally, some of the designer features may not be available. Automatic class generation using our wizards is only possible with Visual Studio 2012+. In addition, in Visual Studio 2010, you will need to use the Toolbox to add DevExpress controls to the designer.
Create details with a grid and custom content and put them in a tabbed container
This example shows how to setup tabbed details within the Grid Control. On the first tab, the detail section is represented by a GridControl, while the second tab displays a memo field. Thus you will see TabViewDetailDescriptor, DataControlDetailDescriptor and ContentDetailDescriptor objects in action.
The form first displays one grid that has been set up via XAML code. There's also a button that created a second identical grid in code, so you can learn both ways to add details to the grid.
How to: Use Domain Components in non-XAF Applications
This example shows how you can use Domain Components in non-XAF applications. The complete description is available in the How to: Use Domain Components in non-XAF Applications help topic.
How to show a "No Data" marker when the DXGrid control has no items
This example demonstrates one of the ways to achieve this goal.
The main concept is to create a custom TableView descendant that provides a property for the "No Data" content template and handles the ItemsSource modifications.