public TextBlockElement(DataGridPropertyTextColumn column, PropertyInfo propertyInfo) { Column = column; PropertyInfo = propertyInfo; Initialize(); }
public void Dispose() { DataGrid.CellPointerPressed -= DataGrid_CellPointerPressed; DataGrid = null; Column = null; Cell = null; Items = null; }
private void DataGrid_CellPointerPressed(object sender, DataGridCellPointerPressedEventArgs e) { Cell = e.Cell; Column = e.Column as DataGridPropertyTextColumn; }