I'm am exporting to PDF and in the CellExporting event, I am trying to resolve the e.GridColumn.CellAppearance.TextHAlign property, but can't figure out how. Where is the ResolveAppearance method.
Hi,
It's hard to answer your question without knowing what exactly you are trying to do. The property you listed here is a property of the column. So this setting gets resolved on the cell level, not the column level.
To resolve the on-screen TextHAlign of a cell, you would do something like this:
private void ultraGridDocumentExporter1_CellExporting(object sender, Infragistics.Win.UltraWinGrid.DocumentExport.CellExportingEventArgs e) { UltraGridCell cell = e.GridRow.Cells[e.GridColumn]; AppearanceData appearanceData = new AppearanceData(); AppearancePropFlags appearancePropFlags = AppearancePropFlags.TextHAlign; cell.ResolveAppearance(ref appearanceData, appearancePropFlags); Debug.WriteLine(appearanceData.TextHAlign, "TextHAlign"); }