AnnotationPositionChangingEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 Chart 控制項中改變註解位置之事件的資料。
public ref class AnnotationPositionChangingEventArgs : EventArgs
public class AnnotationPositionChangingEventArgs : EventArgs
type AnnotationPositionChangingEventArgs = class
inherit EventArgs
Public Class AnnotationPositionChangingEventArgs
Inherits EventArgs
- 繼承
備註
類別 AnnotationPositionChangingEventArgs 用於 控制項中的 Chart 兩個批註定位事件 AnnotationPositionChanging 和 AnnotationPositionChanged 。
屬性 Annotation 會取得要放置的注釋物件。 這個類別也包含屬性,可擷取已重新置放之批註的新位置、寬度、高度和錨點位置。
建構函式
| AnnotationPositionChangingEventArgs() |
初始化 AnnotationPositionChangingEventArgs 類別的新執行個體。 |
屬性
| Annotation |
取得或設定 Annotation 物件。 |
| NewAnchorLocation |
取得或設定註解的新錨點位置。 |
| NewAnchorLocationX |
取得或設定新註解錨點 X 位置。 |
| NewAnchorLocationY |
取得或設定新註解錨點 Y 位置。 |
| NewLocationX |
取得或設定註解的新 X 座標位置。 |
| NewLocationY |
取得或設定註解位置的新 Y 座標。 |
| NewPosition |
取得或設定註解的新位置和大小。 |
| NewSizeHeight |
取得或設定註解的新高度。 |
| NewSizeWidth |
取得或設定註解的新寬度。 |
方法
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
| GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
| ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |