Because of that, it does not save/restore contents of the unopened DXTabControl/ LayoutGroup tabs. The DXSerializer saves/restores layouts of controls that exist in the application’s visual tree. GridControl/ GanttControl/ TreeListControl.Data Layout Control/ LayoutControl/ TileLayoutControl/ FlowLayoutControl.Use the DXSerializer to save/restore layouts of a container (Window, View, UserControl, Control) and its child serializable DevExpress WPF Controls to an XML file/ Stream. Save/Restore Layouts of a Container and its Child Controls Section: Save/Restore Layouts of a Container and its Child ControlsĮach control saves its layout to a separate XML file/ Stream. Use the DXSerializer to customize serialization/deserialization of these controls (for example, cancel layout restoration, restore items from a collection, and so on). The WriteToXML(XmlWriter) and ReadFromXML(XmlReader) methods of the LayoutControlBase and its descendants do not use the DXSerializer class. Refer to the following section for more information on how use these events to cancel layout restoration, restore items from a collection, and more: Advanced Scenarios. If a control uses the DXSerializer class to save/restore its layout, you can use the DXSerializer’s events to customize the control’s serialization/deserialization. Save and Restore the Layout of Dock Panels and Controls LayoutControlBase and its descendants ( FlowLayoutControl, TileLayoutControl, LayoutControl, DataLayoutControl) Supported Controls and Their Save/Restore Methods This mechanism resets all serializable properties to their default values before the restore layout operation. Refer to the following help topic for information on how to customize group summaries: Group Summary Customization.The serialization mechanism does not save properties that are not set locally and have default values. Gets or sets the template that defines the presentation of column values displayed within group rows. GridViewBase.GroupValueTemplate / GridColumn.GroupValueTemplate Gets or sets the template that defines the presentation of group rows. Gets or sets the style applied to group rows. ![]() The table below lists properties used to customize appearance of group rows: Property Users can only group data if data sorting is allowed ( DataViewBase.AllowSorting). The GridControl sorts data against group column values. This feature is not compatible with the Instant Feedback UI Mode. When this option is enabled, grouped columns are displayed within a view regardless of the current value of the GridViewBase.ShowGroupedColumns property. To do this, set the TableView.AllowPartialGrouping property to true. It is possible to hide the group row for groups that consist of a single row. Set the GridViewBase.ShowGroupedColumns property to true to show these columns in the View. Their headers are displayed within the Group Panel. The GridControl hides group columns from the View. This property returns the list of group columns, which allows individual columns to be accessed using indexed notation. Group columns can be accessed from the GridViewBase.GroupedColumns property. If data is grouped against a column that isn’t sorted, the grid will automatically apply sorting to the column in ascending order. Rows are always sorted against group columns. Group row handles are negative (starting from -1). ![]() ![]() ![]() Each group row is assigned a unique integer value - row handle. Group rows are used to organize data rows into a tree when data grouping is applied. If the View is grouped by another column, data rows within each group are arranged into second level groups based on the values of the new group column. When a View is grouped by a single column, data rows that have identical values in this column are arranged into groups. The GridControl allows data to be grouped by an unlimited number of columns.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |