Layout API - Simple Example
This example implements a simple Visitor to traverse the document layout tree. Review the Layout API document for more information.
View ArticleWPF Rich Editor Layout API - Simple Example
This example implements a simple Visitor to traverse the document layout tree. Review the Layout API document for more information.
View ArticleHow to add a menu item that allows hiding all tab items
Handle the TabShown event. In this event handler, call the DXTabControl.HideTabItem method, and call the internal PopupClose method via reflection.UpdatedIn 15.1, we introduced the...
View ArticleSpreadsheet Document Server Chart API
This example demonstrates how to use the Spreadsheet Document Server Chart API to programmatically manage charts in worksheets.The application includes the RichEditControl used to display and edit the...
View ArticleHow to pass a dashboard parameter to a filter string
The following example demonstrates how to create a new dashboard parameter and pass it to a dashboard item filter string.In this example, the dashboard data source contains two queries - the...
View ArticleXL Export Library - Getting Started
This example demonstrates how to use the XL Export library to generate a simple spreadsheet document in code.After running this example, a console application creates an XLSX file and opens it in the...
View ArticleHow to generate a page-oriented TXT file from an XtraReport instance...
This example demonstrates how to display information about the end of a page in the ExportToText method result based on the original Report document layout.
View ArticleHow to add an embedded DataNavigator to GridControl via an attached behavior
This example demonstrates how to implement WinForms DataNavigator in WPF via Behavior. For this, it's necessary to re-define the x:Key="{dxgt:TableViewThemeKey ResourceKey=ScrollViewerTemplate}"...
View ArticleHow to define UI at View level and implement UI element functionality using...
This example creates a simple UI consisting of a MainMenuControl with a button. A click on the button invokes the ShowTextCommand defined in a bound POCO View Model.
View ArticleHow to pass a dashboard parameter to a calculated field's expression
The following example demonstrates how to create a new dashboard parameter and pass it to a calculated field's expression.In this example, the dashboard connects to the Northwind database and selects...
View ArticleHow to use XtraSpellChecker in XAF
ScenarioThis example demonstrates how to incorporate the XtraSpellChecker to XAF applications.Steps to implement1. Copy the Spelling.Win project into your solution and build it;2. Invoke the...
View ArticleHow to create closed (hidden) panels
The following example shows how to create closed (hidden) panels. To create closed panels, panel objects are added to the DockLayoutManager.ClosedPanels collection.In the example, the built-in Closed...
View ArticleHow to pass a dashboard parameter to a custom SQL query
The following example demonstrates how to create a new dashboard parameter and pass it to a custom SQL query.In this example, the dashboard parameter is passed to the custom SQL query parameter's...
View ArticleHow to bind a dashboard to an Entity Framework data source at runtime
The following example demonstrates how to bind a dashboard to the SQLite database using Entity Framework 6.In this example, the DashboardEFDataSource class is used to connect the dashboard to the...
View ArticleHow to use the XL Export API to generate a List of Employees
This example demonstrates how to use the XL Export API to generate the "List of Employees" document shown in the image below. In particular, this example introduces API properties and methods used to...
View ArticleASPxSplitter - How to manipulate client-side objects inside a pane with the...
This example demonstrates how to manipulate the client-side programmatic objects inside ASPxSplitter's pane with a specified ContentUrl property.- Get the content IFrame from ASPxSplitter's pane with a...
View ArticleHow to modify the PopupContainerEdit reaction on the outer mouse click
By default, the RepositoryItemPopupContainerEdit.CloseOnOuterMouseClick property allows you to specify that the PopupContainerEdit should not close the pop-up window if the user clicks within another...
View ArticleGridView - How to use Bootstrap Glyphicons as Command Buttons
This example is based on the approach illustrated in the How to emulate the Command Column with a data column DataItemTemplate example.It illustrates how to define custom HTML elements with specific...
View ArticleGridLookUpEdit: multiple selection using checkbox (web style)
The current example extends multiple selection in the web style (via check boxes) functionality, described in the Multiple selection using checkbox (web style) example, for the GridLookUpEdit. In case...
View ArticleEnd-User Restrictions - How to implement a client-side confirmation on...
This example demonstrates how a delete appointment action can be confirmed using a client-side scripting technique. Note that the delete appointment action can be initiated from two places: a context...
View Article