Class DataModelListViewModel
Represents a view model that visualizes a list data model property
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
Namespace: Artemis.UI.Shared.DataModelVisualization.Shared
Assembly: Artemis.UI.Shared.dll
Syntax
public class DataModelListViewModel : DataModelVisualizationViewModel, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IDisposable
Properties
CountDisplay
Gets a human readable display count
Declaration
public string CountDisplay { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayValueType
Gets the type of elements this list contains and that must be displayed as children
Declaration
public Type? DisplayValueType { get; set; }
Property Value
Type | Description |
---|---|
Type |
List
Gets the instance of the list that is being visualized
Declaration
public IEnumerable? List { get; }
Property Value
Type | Description |
---|---|
IEnumerable |
ListChildren
Gets a list of child view models that visualize the elements in the list
Declaration
public ObservableCollection<DataModelVisualizationViewModel> ListChildren { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<DataModelVisualizationViewModel> |
ListCount
Gets amount of elements in the list that is being visualized
Declaration
public int ListCount { get; }
Property Value
Type | Description |
---|---|
int |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Update(IDataModelUIService, DataModelUpdateConfiguration?)
Updates the datamodel and if in an parent, any children
Declaration
public override void Update(IDataModelUIService dataModelUIService, DataModelUpdateConfiguration? configuration)
Parameters
Type | Name | Description |
---|---|---|
IDataModelUIService | dataModelUIService | The data model UI service used during update |
DataModelUpdateConfiguration | configuration | The configuration to apply while updating |
Overrides
Implements
ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
Splat.IEnableLogger