Class GridModel<T>
public class GridModel<T> : ScreenModelBase, IAsyncScreenModel, IScreenModel, IModel, INotifyPropertyChanged where T : IEntity<T>
Type Parameters
T
- Inheritance
-
GridModel<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
GridModel(ISurface)
public GridModel(ISurface surface)
Parameters
surfaceISurface
Properties
AlwaysShowHeader
public bool AlwaysShowHeader { get; set; }
Property Value
AreCommandsEnabled
Indicates whether the screen's commands are enabled. Commands may still be disabled individually even if this returns true
public override bool AreCommandsEnabled { get; }
Property Value
AutoGenerateColumns
public bool AutoGenerateColumns { get; }
Property Value
CanManageColumns
public bool CanManageColumns { get; set; }
Property Value
Columns
public ObservableCollection<GridColumn> Columns { get; set; }
Property Value
Count
public int Count { get; set; }
Property Value
CountItems
public string CountItems { get; }
Property Value
CurrentOrdering
public ListOrdering CurrentOrdering { get; set; }
Property Value
DoChangeOrdering
public ICommand DoChangeOrdering { get; set; }
Property Value
DoExportToCsv
public ICommand DoExportToCsv { get; set; }
Property Value
DoExportToExcel
public ICommand DoExportToExcel { get; set; }
Property Value
DoManageColumns
public ICommand DoManageColumns { get; set; }
Property Value
DoMoveColumn
public ICommand DoMoveColumn { get; set; }
Property Value
DoRemoveColumn
public ICommand DoRemoveColumn { get; set; }
Property Value
DoResetWidth
public ICommand DoResetWidth { get; set; }
Property Value
DoSetWidth
public ICommand DoSetWidth { get; set; }
Property Value
DoShowHideNulls
public ICommand DoShowHideNulls { get; set; }
Property Value
HasChanges
public override bool HasChanges { get; }
Property Value
IsEditable
public override bool IsEditable { get; }
Property Value
IsEditableRW
public bool IsEditableRW { get; set; }
Property Value
IsIndeterminate
public bool IsIndeterminate { get; set; }
Property Value
IsLoading
public bool IsLoading { get; set; }
Property Value
IsValid
public override bool IsValid { get; }
Property Value
List
public IEnumerable<GridRowBase<T>> List { get; set; }
Property Value
LoadingMaximum
public int LoadingMaximum { get; set; }
Property Value
LoadingMinimum
public int LoadingMinimum { get; set; }
Property Value
LoadingValue
public int LoadingValue { get; set; }
Property Value
Selection
public GridRowBase<T> Selection { get; set; }
Property Value
- GridRowBase<T>
SharedLookupContext
public IEntityContext SharedLookupContext { get; }
Property Value
ShowHeader
public bool ShowHeader { get; }
Property Value
ShowNulls
public bool ShowNulls { get; set; }
Property Value
UseDeferredScrolling
public bool UseDeferredScrolling { get; set; }
Property Value
UseRowVirtualization
public bool UseRowVirtualization { get; set; }
Property Value
Methods
GetBlockingChangesAsync()
public override Task<IEnumerable<Change>> GetBlockingChangesAsync()