Return Value
Object as a copy of the StyleInfo object
FarPoint.Win.Spread.StyleInfo clone = new FarPoint.Win.Spread.StyleInfo(); clone.BackColor = Color.Yellow; object o = new object; o = clone.Clone(); FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo("StyleHeaders", o); fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si;
Dim clone As New FarPoint.Win.Spread.StyleInfo() clone.BackColor = Color.Yellow Dim o As New Object o = clone.Clone() Dim si As New FarPoint.Win.Spread.StyleInfo("StyleHeaders", o) fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si