MainGrid
StockSharp.Xaml.Charting.Visuals
UltrachartSurface をホストするルートグリッドであるMaingridを定義する
継承元: Grid
実装: IMainGrid, IPublishMouseEvents, IHitTestable
コンストラクター
メソッド
GetBoundsRelativeTo
public Rect GetBoundsRelativeTo(IHitTestable relativeTo)
result = mainGrid.GetBoundsRelativeTo(relativeTo)
別のHitTestable要素に相対的に現在のHitTestable@要素の境界を取得します
- relativeTo
- 相対的なもの。
IsPointWithinBounds
public bool IsPointWithinBounds(Point point)
result = mainGrid.IsPointWithinBounds(point)
ポイントが現在のHitTestable要素の境界内にある場合は、trueを返します
- point
- 試験のポイント
戻り値: ポイントが境界内にある場合 true
TranslatePoint
public Point TranslatePoint(Point point, IHitTestable relativeTo)
result = mainGrid.TranslatePoint(point, relativeTo)
他のhittestable要素に相対的なポイントを翻訳する
- point
- のポイント。
- relativeTo
- 相対的なもの。
イベント
MouseMiddleButtonDown
public event MouseButtonEventHandler MouseMiddleButtonDown
mainGrid.MouseMiddleButtonDown += handler
マウスポインタがUIElement上にあるときに、ミドルマウスボタンを押していると、 占有者。
MouseMiddleButtonUp
public event MouseButtonEventHandler MouseMiddleButtonUp
mainGrid.MouseMiddleButtonUp += handler
マウスポインタがUIElement上にある間、ミドルマウスボタンが解放されると、このイベントは、呼び出し側が処理したMouseRightButtonDownイベントをマークした場合にのみ発生します。 注目を参照してください。
TouchDown
public event EventHandler<TouchManipulationEventArgs> TouchDown
mainGrid.TouchDown += handler
入出力デバイスがUIElementで操作を開始すると、占有者。
TouchMove
public event EventHandler<TouchManipulationEventArgs> TouchMove
mainGrid.TouchMove += handler
操作中に入力デバイスが位置を変えるときに発生します。
TouchUp
public event EventHandler<TouchManipulationEventArgs> TouchUp
mainGrid.TouchUp += handler
UIElementオブジェクトの操作と慣性が完成したら、占領者。