How do I override the font for a summary?
summ = grid.DisplayLayout.Bands(0).Summaries.Add("SummaryName", SummaryType.Sum, _ grid.DisplayLayout.Bands(0).Columns("Test"))summ.Appearance.BackColor = Drawing.Color.LightYellowsumm.Appearance.BorderColor = Drawing.Color.LightGray
I can change the bordercolor, backcolor, but how do I set the font?
I want the summary to have the same font as the grid above it.
Thanks.
summ.Appearance.FontData
Um, what am I supposed to set here?
summ.appearance.FontData.<what property?> = gridAbove.Font
The only available properties are:BoldDisposedItalicNameNonDefaultSettingsNotifyIdSizeInPointsTagUnderline
I tried summ.appearance.FontData.Name = gridAbove.Font.Nameand that didn't change it.