How to add a custom title to a map vector element
This example illustrates how to add a title to a map's dot. To accomplish this, create a ShapeTitleOptions object and assign it to the MapShape.TitleOptions property. Then, specify the title's text via...
View ArticleHow to connect different ORM data models to several databases within a single...
ScenarioThis example demonstrates how to create custom XAF modules with custom business objects and logic that would work with separate databases. These modules do not depend on each other and thus can...
View ArticleHow to print from RichEditDocumentServer in WPF application
This example utilizes the DevExpress.XtraRichEdit.Printing.XpfRichEditPrinter descendant to print the document loaded into the RichEditDocumentServer instance. A custom method iterates all available...
View ArticleHow to invoke a Print Preview dialog and print a document from...
This example illustrates how to use the PrintableComponentLink to invoke a Print Preview dialog for a RichEditDocumentServer. A document server instance is created via code and a simple multiplication...
View ArticleBarManager - How to show both check mark and glyph in BarCheckItem
This example demonstrates how to override default painting mechanism of the BarCheckItem so it allows showing both check mark and glyph. Glyph in this case will be shown at the right side of the...
View ArticleASPxMenu - How to show a sub menu with a full page width
While our team is still working on this functionality in the context of the ASPxMenu - Provide an option to show a sub menu with a full page width thread, you can accomplish this task in the following...
View ArticleHow to implement data paging
Silverlight supports the data paging mechanism natively. In the meantime, there are no easy approaches to implementing the IPagedCollectionView interface in WPF.The easiest way to implement data paging...
View ArticleHow to replace the current cell value with a parent total value if a...
If you use the PercentOfColumn SummaryDisplayType, it is sometimes necessary to show total values in the last level cells. Refer to the attached screenshot. Red cells show a percent of the...
View ArticleASPxGridView - How to filter a column via ASPxTokenBox and allow selection of...
This example illustrates how to modify the ASPxGridView - How to use the TokenBox in a Filter template to filter grid's TokenBoxColumn example so an end-user can select a filter operator (And/Or). In...
View ArticleHow to fix a row in GridControl
This example demonstrates how to provide the capability to fix a row in GridControl. Our GridControl doesn't have the capability to fix a row. So, to provide this capability in this sample, we...
View ArticleASPxGridView - How to use the TokenBox in a Filter template to filter grid's...
Let's assume that we have a column that contains a list of roles for each user (for example, 1,3,5) . We need to show corresponding role names (Administrator, Developer, etc.) in the column and allow...
View ArticleHow to extract images from a PDF document at runtime
This example illustrates the use of the GetImages method for obtaining document bitmaps in code by using PdfDocumentProcessor.
View ArticleHow to find free time intervals for a meeting arrangement
This example illustrates the use of FreeTimeCalculator class to find all available free intervals within the specified period of time. Also, it can be used to find the nearest free slot with the...
View ArticleHow to create custom report controls
The following example demonstrates how to create a custom ProgressBar control.In this example, the progress bar control is implemented as a filled rectangle with variable width, and serves as a...
View ArticleHow to use TreeList for file management (drag and drop files and folders)
This example is based on the Explorer module contained within the TreeListMainDemo sample project. It illustrates how to implement the Drag and Drop functionality in TreeList, which will also allow the...
View ArticleHow to display detail views under each other
By default, the grid displays detail views on tab pages. If there are several child views at the same level, only one can be seen at a time - the one that appears on the selected detail tab.You may...
View ArticleMVC ComboBox Extension - Cascading Combo Boxes
This example illustrates how to implement cascading combo boxes scenario within the MVC ComboBox Extension. It is an illustration of the KA18675: MVC ComboBox Extension - How to implement cascaded...
View ArticleHow to convert the CriteriaOperator to a lambda expression, so, the latter...
Imagine, that an end-user can build a filter criteria, e.g. by using the FilterControl, and you wish to apply this filter criteria to your IQueryable source. The static...
View ArticleHow to specify custom background for DXEditors
In our themes, the Control.BackgroundProperty is defined by several elements with different colors, gradients, margins, paddings and corner rounding. You can't specify this complex functionality with...
View ArticleHow to show/hide a custom button in an editor
Update:Starting with version 10.2.10, you can use the ButtonInfo.Visibility property to hide/show a custom button.This sample illustrates how to show/hide a custom button in the ComboBoxEdit. Inherit...
View Article