When I look at the properties in the property window they all say default, I need to know the default font name and size in points for the grid's cell font, thank you, Jamie
Default properties are resolved based on certain other factors. I'm not entirely sure how cells resolve their font. There might be some ultimate default hard-coded into the grid. But my guess is that the cell just uses the Font of the control, which is probably picked up from whatever container the grid is in.
If you want to get the actual font a cell is using at run-time, then what you can do is use the ResolveAppearance method on the cell. The code would look something like this:
AppearancePropFlags flags = AppearancePropFlags.FontData; AppearanceData appData = new AppearanceData(); this.ultraGrid1.ActiveCell.ResolveAppearance(ref appData, ref flags);
Then you can exmaine the appData.FontData.
is there anyway to get this to work with the column headers?
There's nothing to it. Just use the column.Header.ResolveAppearance.