This class is used as viewmodel for TransactionCodeHeaderPropertyVisibilityGridController.
It is used as a wrapper for properties 'ShowXXX' of TransactionCode
Inheritance
TransactionCodeHeaderProperty
Assembly: LemonEdge.API.Entities.FinancialServices.dll
public class TransactionCodeHeaderProperty : IWrapper, INotifyPropertyChanging, INotifyPropertyChanged
Constructors
Declaration
public TransactionCodeHeaderProperty()
Properties
Declaration
public string Id { get; set; }
Property Value
Declaration
public bool IsVisible { get; set; }
Property Value
Declaration
public string Name { get; set; }
Property Value
The main item that is wrapped by this wrapper
Declaration
public IBaseEntity WrappedItem { get; }
Property Value
Methods
Initializes this wrapper instance used in the UI
Declaration
public void Init(Action<object, string> onChange, IEntityUpdater updater, IBaseEntity mainItem, IBaseEntity[] headers, IEnumerable<IBaseEntity> pivotValues)
Parameters
Type |
Name |
Description |
Action<object, string> |
onChange |
Indicates a property not on the main item has been updated and the system needs to know about
the change
|
IEntityUpdater |
updater |
The updater context that holds the changes made to other entities in the wrapper
|
IBaseEntity |
mainItem |
The main item being wrapper, the one returned by WrappedItem
|
IBaseEntity[] |
headers |
The list of items holding the header columns being wrapped for this entity
|
IEnumerable<IBaseEntity> |
pivotValues |
The optional list of items holding ths values that can be used against the headers
|
Declaration
protected void OnPropertyChanged(string propName)
Parameters
Type |
Name |
Description |
string |
propName |
|
Declaration
protected void OnPropertyChanging(string propName)
Parameters
Type |
Name |
Description |
string |
propName |
|
Events
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Declaration
public event PropertyChangingEventHandler PropertyChanging
Event Type
Implements
Extension Methods