次のサンプルコードは、SpreadPanningMode列挙体を使用します。
fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.HorizontalOrVertical;
private void fpSpread1_PanningModeChanged(object sender, EventArgs e)
{
listBox1.Items.Add("Changed");
}
fpSpread1.PanningMode = FarPoint.Win.Spread.SpreadPanningMode.HorizontalOrVertical
Private Sub fpSpread1_PanningModeChanged(sender As Object, e As EventArgs) Handles fpSpread1.PanningModeChanged
ListBox1.Items.Add("Changed")
End Sub
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.SpreadPanningMode