How to Customize Export Options of the Printing System in WinForms
This example demonstrates how to access and customize the PrintingSystem object, which is responsible for the print preview and export settings. In order to do this, the PrintingSettingsLoaded and...
View ArticleHow to access the master DetailView information from a nested ListView...
This example shows how retrieve master detail view information from the controller for the nested list view. In particular, here we need to know the ID of the parent detail view to adjust our logic in...
View ArticleHow to access the grid control when a List View's MasterDetailMode attribute...
You might write the following code within your ViewController:[C#](GridControl)View.Control[VB.NET]CType(View.Control, GridControl)and it might work in certain cases when your List View showed only one...
View ArticleHow to create BarManager, BarAndDockingController and related class descendants
These examples demonstrate how to create descendants of the BarManager, and other classes that are needed for its infrastructure. Here, the following custom classes are implemented: - MyBarManager -...
View ArticleHow to copy custom Event class fields when dragging appointments in the...
If you extended the default DevExpress.Persistent.BaseImpl.Event class or implemented your own class, supporting the DevExpress.Persistent.Base.IEvent interface, then you may face the situation when...
View ArticleHow to use WorkflowInstanceStore to keep the state in more than a dozen of...
This example is based on the How to: Configure Persistence with WorkflowServiceHost and How to: Enable SQL Persistence for Workflows and Workflow Services help articles from MSDN.The only difference is...
View ArticleHow to control the grid column header height by setting the number of text lines
Chris Royle wrote at http://community.devexpress.com/forums/t/77149.aspx:"The code allows one to specify in the model the number of lines to use for grid headers, and enables word wrapping of column...
View ArticleHow to suppress the save confirmation when closing a new unmodified object...
Scenario This example demonstrates how to implement the following behavior (which is default in Microsoft Outlook) in XAF Windows Forms applications:- A user can create a new record, and when its...
View ArticleHow to add an unbound column to GridListEditor to execute a custom action for...
This example shows how to add a custom unbound column to the GridControl in ListView. In the example, a button will be shown in this custom column. When a button is clicked, a custom business action...
View ArticleHow to use a custom Lookup Property Editor control for reference properties...
See the How to work with referenced properties via a simple drop down list instead of the standard LookupPropertyEditor KB article for more information.Question CommentsAdded By: Carlitos at: 8/18/2012...
View ArticleHow to customize ViewNavigator, ViewVisibleInterval and ViewSelector templates
By default the ASPxScheduler control on a page is accompanied with satellite controls, located in the main control's header. They are: ViewNavigator, ViewVisibleInterval and ViewSelector (see the...
View ArticleHow to customize the Edit Appointment Form in the "Shared Resources" scenario
This example illustrates how the appointment editing form with multiple resources selection can be implemented in a project with ASPxScheduler control bound to SQL Server.The CarsXtraScheduling.sql...
View ArticleHow to allow appointment modifications depending on custom field values
This example illustrates how to customize the MenuAppointmentCallbackCommand and AppointmentsChangeCommand (see Callback Commands) to prevent appointments with specific custom field values from...
View ArticleHow to speed up WinForms apps, running in a Remote Desktop Services environment
To achieve this goal, you can disable visual styles, skins, animations, and set various controls options. Note that here we additionally disable visual effects of two most "expensive" controls:...
View ArticleHow to set the attitude position of the scale component relative to other...
In this example we will change the position of the scale in the gauge container. For that purpose the Center property will be used.
View ArticleHow to display detail collections with descendants filtered by an object type
Suppose we have the same classes structure as shown in the How to: Use UpCasting help topic. Our goal is to provide two details collections into a DetailView that will allow end-users to view objects...
View ArticleHow to prevent removing a master record referenced by other records
This example demonstrates how to implement your classes, to save the referential integrity of your tables when removing master objects being referenced by other objects. This solution is appropriate...
View ArticleOBSOLETE - How to use a security system user as a resource for the scheduler...
===================================================These example implementations are NOT designed for the 'new' security system components (SecuritySystemUser/SecuritySystemRole or...
View ArticleHow to create an XPClassInfo descendant to dynamically build a persistent...
This example is a variation of How to generate persistent classes at runtime based on a dataset with the difference that here we create a custom XPClassInfo class that provides metadata information for...
View ArticleOBSOLETE - How to save an application's settings at runtime and then access...
========================================================================This example is now obsolete. Instead refer to the example code given in the ValueManager Class help article....
View Article