摘要:
[本篇内容来自网络]public DataGrid CreateDataGrid() {//自定义DataGrid DataGrid dataGrid = null; dataGrid = new DataGrid(); dataGrid.Height = 340; dataGrid.Margin = new Thickness(10, 30, 0, 0); dataGrid.IsReadOnly = true; dataGrid.AutoGenerateColumns = false; dataGrid.CanUserResizeColumns = false; System.Windows 阅读全文