I have set the MergedCellStyle of the ultragrid,but after merging the data is not displayed in the center of the merged cell, How to let the data be centered in the merged cell ?
Dear Mike Saltzman :
thank you!
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { UltraGridLayout layout = e.Layout; UltraGridOverride ov = layout.Override; ov.HeaderClickAction = HeaderClickAction.SortMulti; ov.MergedCellStyle = MergedCellStyle.OnlyWhenSorted; ov.MergedCellAppearance.TextVAlign = VAlign.Middle; }