ViewEventArgs.NewPosition 屬性

定義

取得在座標軸上檢視的新位置。

public:
 property double NewPosition { double get(); void set(double value); };
public double NewPosition { get; set; }
member this.NewPosition : double with get, set
Public Property NewPosition As Double

屬性值

double 值,表示在座標軸上的檢視位置,也就是垂直檢視的底部或水平檢視的左邊位置。

備註

這個屬性會在根 Chart 物件的 和 AxisViewChanging 事件中 AxisViewChanged 公開,並代表檢視的新位置。

NewPosition屬性可以設定為事件中的 AxisViewChanging 新值,但無法設定為事件的新值 AxisViewChanged ,因為在此案例中已建立檢視。

NewPosition一律會測量為座標軸值。

適用於