Class DataModelListItemViewModel
Represents a view model that visualizes a single data model property contained in a DataModelListViewModel
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 DataModelListItemViewModel : DataModelVisualizationViewModel, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IDisposable
Properties
DisplayValue
Gets the value of the property that is being visualized
Declaration
public object? DisplayValue { get; }
Property Value
Type | Description |
---|---|
object |
DisplayViewModel
Gets the view model used to display the display value
Declaration
public DataModelDisplayViewModel? DisplayViewModel { get; }
Property Value
Type | Description |
---|---|
DataModelDisplayViewModel |
Index
Gets the index of the element within the list
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
int |
ListType
Gets the type of elements contained in the list
Declaration
public Type? ListType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
GetCurrentValue()
Gets the current value of the property being visualized
Declaration
public override object? GetCurrentValue()
Returns
Type | Description |
---|---|
object | The current value of the property being visualized |
Overrides
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