private void GridViewExtensionPoints_CustomDrawCell(object sender, RowCellCustomDrawEventArgs e) { if (e.Column.FieldName == "Name") { var item = GridViewExtensionPoints.GetDataRow(e.RowHandle); var typeName = item.Field <string>("TypeName"); e.DisplayText = typeName.ToDynamic().Name; } }
public void ExtensionPointFocusedRowChanged(object sender, FocusedRowChangedEventArgs e) { var focusedRow = GridViewExtensionPoints.GetFocusedDataRow(); if (focusedRow != null) { var typeName = focusedRow.Field <string>("TypeName"); _selectedExtensionPoint = typeName.ToDynamic(); } else { _selectedExtensionPoint = null; } }