Table of Contents

Class GridModel<T>

Namespace
The.WPF.Screens
Assembly
Instagile.WPF.dll
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

surface ISurface

Properties

AlwaysShowHeader

public bool AlwaysShowHeader { get; set; }

Property Value

bool

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

bool

AutoGenerateColumns

public bool AutoGenerateColumns { get; }

Property Value

bool

CanManageColumns

public bool CanManageColumns { get; set; }

Property Value

bool

Columns

public ObservableCollection<GridColumn> Columns { get; set; }

Property Value

ObservableCollection<GridColumn>

Count

public int Count { get; set; }

Property Value

int

CountItems

public string CountItems { get; }

Property Value

string

CurrentOrdering

public ListOrdering CurrentOrdering { get; set; }

Property Value

ListOrdering

DoChangeOrdering

public ICommand DoChangeOrdering { get; set; }

Property Value

ICommand

DoExportToCsv

public ICommand DoExportToCsv { get; set; }

Property Value

ICommand

DoExportToExcel

public ICommand DoExportToExcel { get; set; }

Property Value

ICommand

DoManageColumns

public ICommand DoManageColumns { get; set; }

Property Value

ICommand

DoMoveColumn

public ICommand DoMoveColumn { get; set; }

Property Value

ICommand

DoRemoveColumn

public ICommand DoRemoveColumn { get; set; }

Property Value

ICommand

DoResetWidth

public ICommand DoResetWidth { get; set; }

Property Value

ICommand

DoSetWidth

public ICommand DoSetWidth { get; set; }

Property Value

ICommand

DoShowHideNulls

public ICommand DoShowHideNulls { get; set; }

Property Value

ICommand

HasChanges

public override bool HasChanges { get; }

Property Value

bool

IsEditable

public override bool IsEditable { get; }

Property Value

bool

IsEditableRW

public bool IsEditableRW { get; set; }

Property Value

bool

IsIndeterminate

public bool IsIndeterminate { get; set; }

Property Value

bool

IsLoading

public bool IsLoading { get; set; }

Property Value

bool

IsValid

public override bool IsValid { get; }

Property Value

bool

List

public IEnumerable<GridRowBase<T>> List { get; set; }

Property Value

IEnumerable<GridRowBase<T>>

LoadingMaximum

public int LoadingMaximum { get; set; }

Property Value

int

LoadingMinimum

public int LoadingMinimum { get; set; }

Property Value

int

LoadingValue

public int LoadingValue { get; set; }

Property Value

int

Selection

public GridRowBase<T> Selection { get; set; }

Property Value

GridRowBase<T>

SharedLookupContext

public IEntityContext SharedLookupContext { get; }

Property Value

IEntityContext

ShowHeader

public bool ShowHeader { get; }

Property Value

bool

ShowNulls

public bool ShowNulls { get; set; }

Property Value

bool

UseDeferredScrolling

public bool UseDeferredScrolling { get; set; }

Property Value

bool

UseRowVirtualization

public bool UseRowVirtualization { get; set; }

Property Value

bool

Methods

GetBlockingChangesAsync()

public override Task<IEnumerable<Change>> GetBlockingChangesAsync()

Returns

Task<IEnumerable<Change>>