Example #1
0
 public RowPropertyViewModel(RowProperty prop, DataTemplate headerTemplate, int rowIndex, int propIndex)
 {
     _prop           = prop;
     _headerTemplate = headerTemplate;
     _rowIndex       = rowIndex;
     _propIndex      = propIndex;
     _isHovered      = false;
 }
Example #2
0
 internal ItemViewModel(int colIndex, int rowIndex, int propIndex, int itemIndex,
                        IPGItem item, IPGColumn column, RowProperty property, PropertiesGridControlViewModel vm)
 {
     this._colIndex   = colIndex;
     this._rowIndex   = rowIndex;
     this._propIndex  = propIndex;
     this._itemIndex  = itemIndex;
     this._item       = item;
     this._column     = column;
     this._inEditMode = false;
     this._isHovered  = false;
     this._vm         = vm;
     this._property   = property;
 }
Example #3
0
 set => SetValue(RowProperty, value);