Class GridContainerModel
Configuration container for a IntegratedGridView
Inheritance
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class GridContainerModel : UI.MVC.ViewModelBase
Constructors
| Improve this Doc View SourceGridContainerModel()
Create new container model and initialize needed properties
Declaration
public GridContainerModel()
Properties
| Improve this Doc View SourceExportId
Get or set the export-id of the current configuration object
Declaration
public Guid ExportId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Id
Id of the Grid-Container, must be unique
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
MenuFunctions
List of available menu functions
Declaration
public ObservableCollection<GridMenuConfigurationModel> MenuFunctions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<GridMenuConfigurationModel> |
Name
Intern name (for api use) of the grid. Must be unique
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Profiles
List with all GridView-Configurations as a profile
Declaration
public ObservableCollection<GridProfileConfigurationModel> Profiles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<GridProfileConfigurationModel> |
ProfilesToDelete
Profiles which will be deleted
Declaration
public ObservableCollection<GridProfileConfigurationModel> ProfilesToDelete { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<GridProfileConfigurationModel> |
ReloadGridButtonVisibility
Declaration
public Visibility ReloadGridButtonVisibility { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
RequiredRole
Role which must be required for showing this grid
Declaration
public string RequiredRole { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SearchConfiguration
Configuration name of the optional/default connected search
Declaration
public string SearchConfiguration { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SearchViewModel
Declaration
public SearchViewModel SearchViewModel { get; set; }
Property Value
Type | Description |
---|---|
SearchViewModel |
SelectedMenuFunction
Currently selected menu function
Declaration
public GridMenuConfigurationModel SelectedMenuFunction { get; set; }
Property Value
Type | Description |
---|---|
GridMenuConfigurationModel |
SelectedProfile
Get or set the selected profile
Declaration
public GridProfileConfigurationModel SelectedProfile { get; set; }
Property Value
Type | Description |
---|---|
GridProfileConfigurationModel |
SelectedStackId
Currently selected stack id
Declaration
public Guid? SelectedStackId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Methods
| Improve this Doc View SourceGetDeepCopy()
Create a deep copy of the current model and generate new id's
Declaration
public GridContainerModel GetDeepCopy()
Returns
Type | Description |
---|---|
GridContainerModel | Copy of the current obejct/instance |
GetDeepCopyNewId()
Create a deep copy of the current model and generate new id's
Declaration
public GridContainerModel GetDeepCopyNewId()
Returns
Type | Description |
---|---|
GridContainerModel | Copy of the current obejct/instance |
ToString()
Convert the current object to json
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Model as json |