MainGrid
Defines the Maingrid, a root grid which hosts the UltrachartSurface
継承元: Grid
実装: IMainGrid, IPublishMouseEvents, IHitTestable
コンストラクター
MainGrid()
Initializes a new instance of the MainGrid class.
メソッド
GetBoundsRelativeTo(IHitTestable) : Rect
Gets the bounds of the current HitTestable element relative to another HitTestable element
- relativeTo
- The relative to.
IsPointWithinBounds(Point) : bool
Returns true if the Point is within the bounds of the current HitTestable element
- point
- The point to test
戻り値: true if the Point is within the bounds
TranslatePoint(Point, IHitTestable) : Point
Translates the point relative to the other hittestable element
- point
- The point.
- relativeTo
- The relative to.
イベント
MouseMiddleButtonDown : MouseButtonEventHandler
Occurs when the middle mouse button is pressed while the mouse pointer is over a UIElement.
MouseMiddleButtonUp : MouseButtonEventHandler
Occurs when the middle mouse button is released while the mouse pointer is over a UIElement. However, this event will only be raised if a caller marks the preceding MouseRightButtonDown event as handled; see Remarks.
TouchDown : EventHandler<TouchManipulationEventArgs>
Occurs when an input device begins a manipulation on the UIElement.
TouchMove : EventHandler<TouchManipulationEventArgs>
Occurs when an input device changes position during manipulation.
TouchUp : EventHandler<TouchManipulationEventArgs>
Occurs when a manipulation and inertia on the UIElement object is complete.