Class GridConfigurationModel
Contains a configuration for a GridView control
Inherited Members
Namespace: Simplic.UI.GridView
Assembly: Simplic.UI.dll
Syntax
public class GridConfigurationModel : ViewModelBase, IViewModelBase, INotifyPropertyChanged, IAsyncViewModel
Constructors
| Improve this Doc View SourceGridConfigurationModel()
Create model and set default values
Declaration
public GridConfigurationModel()
Properties
| Improve this Doc View SourceAutoExpandGroups
Gets or sets whether to automatically expand groups or not
Declaration
public bool AutoExpandGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ColumnConfiguration
Contains the column configuration for a grid view
Declaration
public virtual ObservableCollection<ColumnConfigurationModel> ColumnConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<ColumnConfigurationModel> |
CreateClrAPIModelMethod
Gets or sets the clr method (full qualified) which is required for creating api models out of a grid row
Declaration
public string CreateClrAPIModelMethod { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreateClrAPIModelMethodParameter
Comma seperated list which contains the rows which will passed as objects to the api method
Declaration
public string CreateClrAPIModelMethodParameter { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CustomRowSelector
Function that points to a custom row selector
Declaration
public Func<object, Style> CustomRowSelector { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Object, System.Windows.Style> |
DropDataService
Gets or sets the drop data service
Declaration
public string DropDataService { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EnableDrag
Gets or sets whether drag and drop is enabled or not
Declaration
public bool EnableDrag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableDrop
Gets or sets whether drag and drop is enabled or not
Declaration
public bool EnableDrop { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableStickyGroupHeaders
Gets or sets whether the group headers are sticky or not
Declaration
public bool EnableStickyGroupHeaders { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
GroupConfigurationJson
Gets or sets the virtual group configuration as json
Declaration
public byte[] GroupConfigurationJson { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
RemoveFromDragSrouce
Gets or sets whether to remove an item from the drag source
Declaration
public bool RemoveFromDragSrouce { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SelectedColumn
Currently selected column
Declaration
public ColumnConfigurationModel SelectedColumn { get; set; }
Property Value
Type | Description |
---|---|
ColumnConfigurationModel |
ShowColumnFooter
Show footer for aggregation functions
Declaration
public bool ShowColumnFooter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowNumerationColumn
Show Numeration column
Declaration
public bool ShowNumerationColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseSelectColumn
Defines, whether the grid should show a select column in the first position
Declaration
public bool UseSelectColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
VirtualGroups
Gets or sets a list of virtual groups
Declaration
public ObservableCollection<GridVirtualGroupConfiguration> VirtualGroups { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<GridVirtualGroupConfiguration> |
Methods
| Improve this Doc View SourceInitialize()
Initialize
Declaration
public void Initialize()
PrepareSave()
Prepare saving
Declaration
public void PrepareSave()