'使用法 Dim instance As FpScrollBarButtonCollection Dim value As Object Dim value As Integer value = instance.Add(value)
例外 | 説明 |
---|---|
System.NotSupportedException | System.Collections.IListが読み取り専用であるか、またはSystem.Collections.IListのサイズが固定されています。 |
FarPoint.Win.Spread.FpScrollBarButtonCollection buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection(); buttons.Add(new FarPoint.Win.Spread.FpScrollBarButtonBackwardLine()); buttons.Add(new FarPoint.Win.Spread.FpScrollBarComboThumb()); buttons.Add(new FarPoint.Win.Spread.FpScrollBarButtonForwardLine()); fpSpread1.VerticalScrollBar.Buttons = buttons;
Dim buttons As New FarPoint.Win.Spread.FpScrollBarButtonCollection buttons.Add(New FarPoint.Win.Spread.FpScrollBarButtonBackwardLine()) buttons.Add(New FarPoint.Win.Spread.FpScrollBarComboThumb()) buttons.Add(New FarPoint.Win.Spread.FpScrollBarButtonForwardLine()) FpSpread1.VerticalScrollBar.Buttons = buttons