Hello, in the DataGridView in .Net you cna change the cell value alignment to CENTER RIGHT and the FORMATTING to CURRENCY.
I need to be able to do this in code for the UltraGrid but I cannot figure out how to do so.
Anyone know how to do this?
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { UltraGridLayout layout = e.Layout; UltraGridBand band = layout.Bands[0]; band.Columns["String 1"].CellAppearance.TextHAlign = HAlign.Right; band.Columns["String 1"].CellAppearance.TextVAlign = VAlign.Middle; band.Columns["String 1"].Format = "c"; }