FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); si.CellPadding = new FarPoint.Win.Spread.CellPadding(2); fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si; listBox1.Items.Add(si.IsCellPaddingSet());
Dim si As New FarPoint.Win.Spread.StyleInfo() si.CellPadding = New FarPoint.Win.Spread.CellPadding(2) fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si ListBox1.Items.Add(si.IsCellPaddingSet())