UIElement UIElement UIElement UIElement Class

定義

UIElement 是以 Windows Presentation Foundation (WPF) 項目和基本呈現方式特性為建置基礎之 WPF 核心層級實作的基底類別。UIElement is a base class for WPF core level implementations building on Windows Presentation Foundation (WPF) elements and basic presentation characteristics.

public ref class UIElement : System::Windows::Media::Visual, System::Windows::IInputElement, System::Windows::Media::Animation::IAnimatable
[System.Windows.Markup.UidProperty("Uid")]
public class UIElement : System.Windows.Media.Visual, System.Windows.IInputElement, System.Windows.Media.Animation.IAnimatable
type UIElement = class
    inherit Visual
    interface IAnimatable
    interface IInputElement
Public Class UIElement
Inherits Visual
Implements IAnimatable, IInputElement
繼承
衍生
屬性
實作

備註

UIElement 提供項目配置的特性,以及公開虛擬方法,衍生類別可以覆寫時,可能會影響轉譯行為的項目和其子元素的版面配置的起始點。UIElement provides a starting point for element layout characteristics, and also exposes virtual methods that derived classes can override, which can influence the layout rendering behavior of the element and its child elements.

大部分的輸入和焦點行為項目的一般情況下也會定義在UIElement類別。Much of the input and focusing behavior for elements in general is also defined in the UIElement class. 這包括鍵盤、 滑鼠及手寫筆輸入及相關的狀態屬性的事件。This includes the events for keyboard, mouse and stylus input, and related status properties. 其中許多事件都是路由的事件,且許多的輸入相關的事件都有兩個事件反昇路由版本,以及事件的通道版本。Many of these events are routed events, and many of the input-related events have both a bubbling routing version as well as a tunneling version of the event. 這些配對的事件通常是控制項作者的最大感興趣的事件。These paired events are typically the events of greatest interest to control authors.

UIElement 也包含APIAPIs相關的WPFWPF事件模型,包括可以引發的方法指定路由事件,其源自項目執行個體。UIElement also includes APIAPIs that relate to the WPFWPF event model, including methods that can raise specified routed events that are sourced from an element instance.

就架構而言,UIElement可以視為大致上相當於視窗控制代碼,以Win32Win32程式設計或中的項目動態 HTML (DHTML)Dynamic HTML (DHTML)程式設計。In terms of architecture, UIElement can be considered roughly equivalent to a window handle in Win32Win32 programming, or an Element in 動態 HTML (DHTML)Dynamic HTML (DHTML) programming. UIElement 是 WPF 核心層級的基底項目。UIElement is a base element at the WPF core level.

AUIElement具有下列功能,特別由定義UIElement類別:A UIElement has the following capabilities that are specifically defined by the UIElement class:

  • 可以轉譯為子元素 (UIElement衍生自Visual,高的層級圖形類別)Can render as a child element (UIElement derives from Visual, a high level graphics class)

  • 包含大小和位置的可能的子項目使用的邏輯UIElement(當解譯由配置系統)Contains logic that is used to size and position possible child elements of a UIElement (when interpreted by a layout system)

  • 可以回應使用者輸入 (包括控制項的輸入取得傳送到何處透過其處理的事件路由,或在命令路由)Can respond to user input (including control of where input is getting sent to via their handling of event routing, or routing of commands)

  • 可以引發邏輯的項目樹狀結構路由的路由的事件Can raise routed events that travel a route through the logical element tree

  • 支援動畫系統的某些層面Supports some aspects of the animation system

FrameworkElement 是為基礎的 WPF 架構層級實作類別UIElement,並將加入 WPF 架構層級的特定互動。FrameworkElement is the WPF framework-level implementation class that builds on UIElement, and adds specific interactions with the WPF framework level. FrameworkElement 新增並定義下列功能:FrameworkElement adds and defines the following capabilities:

  • 額外的架構特定版面配置特性Additional framework-specific layout characteristics

  • 支援更豐富的中繼資料屬性的報告Support for richer metadata reporting on properties

  • 輸入基底類別和其附加的屬性的特定類別的特定實作,或附加事件Class-specific implementation of certain input base classes and their attached properties or attached events

  • 樣式支援Style support

  • 進一步的動畫支援Further animation support

另一個相關的類別是ContentElementAnother related class is ContentElement. ContentElement類別會實作許多相同的成員,如同UIElement; 已將執行其預定使用的整體內容模型中的這兩個類別之間的差異。The ContentElement class implements many of the same members as does UIElement; the difference between these two classes has to do with their intended place in the overall content model. AUIElement衍生的類別通常會將相對固定的內容模型,這表示沒有限制哪些項目可能會在標記中的子項目定義。A UIElement derived class typically defines a relatively rigid content model, meaning that there are restrictions on what elements may be child elements in markup. 可能會花較不嚴格的子內容的容量UIElement,但該容量通常會集中在指定的內容屬性中。There might be capacity for taking less restrictive child content in a UIElement, but that capacity is typically centralized in designated content properties. AContentElement衍生的類別通常不是限制的相關內容,以支援案例,例如流程格式的文件。A ContentElement derived class is typically not as restrictive about content, to support scenarios such as flow-format documents.

重要

Visibility 狀態會影響所有的輸入處理該項目。Visibility state affects all input handling by that element. 不可見的項目不會參與點擊測試,且不會收到輸入的事件,即使在滑鼠位於範圍的項目就是,如果可見。Elements that are not visible do not participate in hit testing and do not receive input events, even if the mouse is over the bounds where the element would be if were visible.

建構函式

UIElement() UIElement() UIElement() UIElement()

初始化 UIElement 類別的新執行個體。Initializes a new instance of the UIElement class.

欄位

AllowDropProperty AllowDropProperty AllowDropProperty AllowDropProperty

識別 AllowDrop 相依性屬性。Identifies the AllowDrop dependency property.

AreAnyTouchesCapturedProperty AreAnyTouchesCapturedProperty AreAnyTouchesCapturedProperty AreAnyTouchesCapturedProperty

識別 AreAnyTouchesCaptured 相依性屬性。Identifies the AreAnyTouchesCaptured dependency property.

AreAnyTouchesCapturedWithinProperty AreAnyTouchesCapturedWithinProperty AreAnyTouchesCapturedWithinProperty AreAnyTouchesCapturedWithinProperty

識別 AreAnyTouchesCapturedWithin 相依性屬性。Identifies the AreAnyTouchesCapturedWithin dependency property.

AreAnyTouchesDirectlyOverProperty AreAnyTouchesDirectlyOverProperty AreAnyTouchesDirectlyOverProperty AreAnyTouchesDirectlyOverProperty

識別 AreAnyTouchesDirectlyOver 相依性屬性。Identifies the AreAnyTouchesDirectlyOver dependency property.

AreAnyTouchesOverProperty AreAnyTouchesOverProperty AreAnyTouchesOverProperty AreAnyTouchesOverProperty

識別 AreAnyTouchesOver 相依性屬性。Identifies the AreAnyTouchesOver dependency property.

BitmapEffectInputProperty BitmapEffectInputProperty BitmapEffectInputProperty BitmapEffectInputProperty

識別 BitmapEffectInput 相依性屬性。Identifies the BitmapEffectInput dependency property.

BitmapEffectProperty BitmapEffectProperty BitmapEffectProperty BitmapEffectProperty

識別 BitmapEffect 相依性屬性。Identifies the BitmapEffect dependency property.

CacheModeProperty CacheModeProperty CacheModeProperty CacheModeProperty

識別 CacheMode 相依性屬性。Identifies the CacheMode dependency property.

ClipProperty ClipProperty ClipProperty ClipProperty

識別 Clip 相依性屬性。Identifies the Clip dependency property.

ClipToBoundsProperty ClipToBoundsProperty ClipToBoundsProperty ClipToBoundsProperty

識別 ClipToBounds 相依性屬性。Identifies the ClipToBounds dependency property.

DragEnterEvent DragEnterEvent DragEnterEvent DragEnterEvent

識別 DragEnter 路由事件。Identifies the DragEnter routed event.

DragLeaveEvent DragLeaveEvent DragLeaveEvent DragLeaveEvent

識別 DragLeave 路由事件。Identifies the DragLeave routed event.

DragOverEvent DragOverEvent DragOverEvent DragOverEvent

識別 DragOver 路由事件。Identifies the DragOver routed event.

DropEvent DropEvent DropEvent DropEvent

識別 Drop 路由事件。Identifies the Drop routed event.

EffectProperty EffectProperty EffectProperty EffectProperty

識別 Effect 相依性屬性。Identifies the Effect dependency property.

FocusableProperty FocusableProperty FocusableProperty FocusableProperty

識別 Focusable 相依性屬性。Identifies the Focusable dependency property.

GiveFeedbackEvent GiveFeedbackEvent GiveFeedbackEvent GiveFeedbackEvent

識別 GiveFeedback 路由事件。Identifies the GiveFeedback routed event.

GotFocusEvent GotFocusEvent GotFocusEvent GotFocusEvent

識別 GotFocus 路由事件。Identifies the GotFocus routed event.

GotKeyboardFocusEvent GotKeyboardFocusEvent GotKeyboardFocusEvent GotKeyboardFocusEvent

識別 GotKeyboardFocus 路由事件。Identifies the GotKeyboardFocus routed event.

GotMouseCaptureEvent GotMouseCaptureEvent GotMouseCaptureEvent GotMouseCaptureEvent

識別 GotMouseCapture 路由事件。Identifies the GotMouseCapture routed event.

GotStylusCaptureEvent GotStylusCaptureEvent GotStylusCaptureEvent GotStylusCaptureEvent

識別 GotStylusCapture 路由事件。Identifies the GotStylusCapture routed event.

GotTouchCaptureEvent GotTouchCaptureEvent GotTouchCaptureEvent GotTouchCaptureEvent

識別 GotTouchCapture 路由事件。Identifies the GotTouchCapture routed event.

IsEnabledProperty IsEnabledProperty IsEnabledProperty IsEnabledProperty

識別 IsEnabled 相依性屬性。Identifies the IsEnabled dependency property.

IsFocusedProperty IsFocusedProperty IsFocusedProperty IsFocusedProperty

識別 IsFocused 相依性屬性。Identifies the IsFocused dependency property.

IsHitTestVisibleProperty IsHitTestVisibleProperty IsHitTestVisibleProperty IsHitTestVisibleProperty

識別 IsHitTestVisible 相依性屬性。Identifies the IsHitTestVisible dependency property.

IsKeyboardFocusedProperty IsKeyboardFocusedProperty IsKeyboardFocusedProperty IsKeyboardFocusedProperty

識別 IsKeyboardFocused 相依性屬性。Identifies the IsKeyboardFocused dependency property.

IsKeyboardFocusWithinProperty IsKeyboardFocusWithinProperty IsKeyboardFocusWithinProperty IsKeyboardFocusWithinProperty

識別 IsKeyboardFocusWithin 相依性屬性。Identifies the IsKeyboardFocusWithin dependency property.

IsManipulationEnabledProperty IsManipulationEnabledProperty IsManipulationEnabledProperty IsManipulationEnabledProperty

識別 IsManipulationEnabled 相依性屬性。Identifies the IsManipulationEnabled dependency property.

IsMouseCapturedProperty IsMouseCapturedProperty IsMouseCapturedProperty IsMouseCapturedProperty

識別 IsMouseCaptured 相依性屬性。Identifies the IsMouseCaptured dependency property.

IsMouseCaptureWithinProperty IsMouseCaptureWithinProperty IsMouseCaptureWithinProperty IsMouseCaptureWithinProperty

識別 IsMouseCaptureWithin 相依性屬性。Identifies the IsMouseCaptureWithin dependency property.

IsMouseDirectlyOverProperty IsMouseDirectlyOverProperty IsMouseDirectlyOverProperty IsMouseDirectlyOverProperty

識別 IsMouseDirectlyOver 相依性屬性。Identifies the IsMouseDirectlyOver dependency property.

IsMouseOverProperty IsMouseOverProperty IsMouseOverProperty IsMouseOverProperty

識別 IsMouseOver 相依性屬性。Identifies the IsMouseOver dependency property.

IsStylusCapturedProperty IsStylusCapturedProperty IsStylusCapturedProperty IsStylusCapturedProperty

識別 IsStylusCaptured 相依性屬性。Identifies the IsStylusCaptured dependency property.

IsStylusCaptureWithinProperty IsStylusCaptureWithinProperty IsStylusCaptureWithinProperty IsStylusCaptureWithinProperty

識別 IsStylusCaptureWithin 相依性屬性。Identifies the IsStylusCaptureWithin dependency property.

IsStylusDirectlyOverProperty IsStylusDirectlyOverProperty IsStylusDirectlyOverProperty IsStylusDirectlyOverProperty

識別 IsStylusDirectlyOver 相依性屬性。Identifies the IsStylusDirectlyOver dependency property.

IsStylusOverProperty IsStylusOverProperty IsStylusOverProperty IsStylusOverProperty

識別 IsStylusOver 相依性屬性。Identifies the IsStylusOver dependency property.

IsVisibleProperty IsVisibleProperty IsVisibleProperty IsVisibleProperty

識別 IsVisible 相依性屬性。Identifies the IsVisible dependency property.

KeyDownEvent KeyDownEvent KeyDownEvent KeyDownEvent

識別 KeyDown 路由事件。Identifies the KeyDown routed event.

KeyUpEvent KeyUpEvent KeyUpEvent KeyUpEvent

識別 KeyUp 路由事件。Identifies the KeyUp routed event.

LostFocusEvent LostFocusEvent LostFocusEvent LostFocusEvent

識別 LostFocus 路由事件。Identifies the LostFocus routed event.

LostKeyboardFocusEvent LostKeyboardFocusEvent LostKeyboardFocusEvent LostKeyboardFocusEvent

識別 LostKeyboardFocus 路由事件。Identifies the LostKeyboardFocus routed event.

LostMouseCaptureEvent LostMouseCaptureEvent LostMouseCaptureEvent LostMouseCaptureEvent

識別 LostMouseCapture 路由事件。Identifies the LostMouseCapture routed event.

LostStylusCaptureEvent LostStylusCaptureEvent LostStylusCaptureEvent LostStylusCaptureEvent

識別 LostStylusCapture 路由事件。Identifies the LostStylusCapture routed event.

LostTouchCaptureEvent LostTouchCaptureEvent LostTouchCaptureEvent LostTouchCaptureEvent

識別 LostTouchCapture 路由事件。Identifies the LostTouchCapture routed event.

ManipulationBoundaryFeedbackEvent ManipulationBoundaryFeedbackEvent ManipulationBoundaryFeedbackEvent ManipulationBoundaryFeedbackEvent

識別 ManipulationBoundaryFeedback 事件。Identifies the ManipulationBoundaryFeedback event.

ManipulationCompletedEvent ManipulationCompletedEvent ManipulationCompletedEvent ManipulationCompletedEvent

識別 ManipulationCompleted 路由事件。Identifies the ManipulationCompleted routed event.

ManipulationDeltaEvent ManipulationDeltaEvent ManipulationDeltaEvent ManipulationDeltaEvent

識別 ManipulationDelta 路由事件。Identifies the ManipulationDelta routed event.

ManipulationInertiaStartingEvent ManipulationInertiaStartingEvent ManipulationInertiaStartingEvent ManipulationInertiaStartingEvent

識別 ManipulationInertiaStarting 路由事件。Identifies the ManipulationInertiaStarting routed event.

ManipulationStartedEvent ManipulationStartedEvent ManipulationStartedEvent ManipulationStartedEvent

識別 ManipulationStarted 路由事件。Identifies the ManipulationStarted routed event.

ManipulationStartingEvent ManipulationStartingEvent ManipulationStartingEvent ManipulationStartingEvent

識別 ManipulationStarting 路由事件。Identifies the ManipulationStarting routed event.

MouseDownEvent MouseDownEvent MouseDownEvent MouseDownEvent

識別 MouseDown 路由事件。Identifies the MouseDown routed event.

MouseEnterEvent MouseEnterEvent MouseEnterEvent MouseEnterEvent

識別 MouseEnter 路由事件。Identifies the MouseEnter routed event.

MouseLeaveEvent MouseLeaveEvent MouseLeaveEvent MouseLeaveEvent

識別 MouseLeave 路由事件。Identifies the MouseLeave routed event.

MouseLeftButtonDownEvent MouseLeftButtonDownEvent MouseLeftButtonDownEvent MouseLeftButtonDownEvent

識別 MouseLeftButtonDown 路由事件。Identifies the MouseLeftButtonDown routed event.

MouseLeftButtonUpEvent MouseLeftButtonUpEvent MouseLeftButtonUpEvent MouseLeftButtonUpEvent

識別 MouseLeftButtonUp 路由事件。Identifies the MouseLeftButtonUp routed event.

MouseMoveEvent MouseMoveEvent MouseMoveEvent MouseMoveEvent

識別 MouseMove 路由事件。Identifies the MouseMove routed event.

MouseRightButtonDownEvent MouseRightButtonDownEvent MouseRightButtonDownEvent MouseRightButtonDownEvent

識別 MouseRightButtonDown 路由事件。Identifies the MouseRightButtonDown routed event.

MouseRightButtonUpEvent MouseRightButtonUpEvent MouseRightButtonUpEvent MouseRightButtonUpEvent

識別 MouseRightButtonUp 路由事件。Identifies the MouseRightButtonUp routed event.

MouseUpEvent MouseUpEvent MouseUpEvent MouseUpEvent

識別 MouseUp 路由事件。Identifies the MouseUp routed event.

MouseWheelEvent MouseWheelEvent MouseWheelEvent MouseWheelEvent

識別 MouseWheel 路由事件。Identifies the MouseWheel routed event.

OpacityMaskProperty OpacityMaskProperty OpacityMaskProperty OpacityMaskProperty

識別 OpacityMask 相依性屬性。Identifies the OpacityMask dependency property.

OpacityProperty OpacityProperty OpacityProperty OpacityProperty

識別 Opacity 相依性屬性。Identifies the Opacity dependency property.

PreviewDragEnterEvent PreviewDragEnterEvent PreviewDragEnterEvent PreviewDragEnterEvent

識別 PreviewDragEnter 路由事件。Identifies the PreviewDragEnter routed event.

PreviewDragLeaveEvent PreviewDragLeaveEvent PreviewDragLeaveEvent PreviewDragLeaveEvent

識別 PreviewDragLeave 路由事件。Identifies the PreviewDragLeave routed event.

PreviewDragOverEvent PreviewDragOverEvent PreviewDragOverEvent PreviewDragOverEvent

識別 PreviewDragOver 路由事件。Identifies the PreviewDragOver routed event.

PreviewDropEvent PreviewDropEvent PreviewDropEvent PreviewDropEvent

識別 PreviewDrop 路由事件。Identifies the PreviewDrop routed event.

PreviewGiveFeedbackEvent PreviewGiveFeedbackEvent PreviewGiveFeedbackEvent PreviewGiveFeedbackEvent

識別 PreviewGiveFeedback 路由事件。Identifies the PreviewGiveFeedback routed event.

PreviewGotKeyboardFocusEvent PreviewGotKeyboardFocusEvent PreviewGotKeyboardFocusEvent PreviewGotKeyboardFocusEvent

識別 PreviewGotKeyboardFocus 路由事件。Identifies the PreviewGotKeyboardFocus routed event.

PreviewKeyDownEvent PreviewKeyDownEvent PreviewKeyDownEvent PreviewKeyDownEvent

識別 PreviewKeyDown 路由事件。Identifies the PreviewKeyDown routed event.

PreviewKeyUpEvent PreviewKeyUpEvent PreviewKeyUpEvent PreviewKeyUpEvent

識別 PreviewKeyUp 路由事件。Identifies the PreviewKeyUp routed event.

PreviewLostKeyboardFocusEvent PreviewLostKeyboardFocusEvent PreviewLostKeyboardFocusEvent PreviewLostKeyboardFocusEvent

識別 PreviewLostKeyboardFocus 路由事件。Identifies the PreviewLostKeyboardFocus routed event.

PreviewMouseDownEvent PreviewMouseDownEvent PreviewMouseDownEvent PreviewMouseDownEvent

識別 PreviewMouseDown 路由事件。Identifies the PreviewMouseDown routed event.

PreviewMouseLeftButtonDownEvent PreviewMouseLeftButtonDownEvent PreviewMouseLeftButtonDownEvent PreviewMouseLeftButtonDownEvent

識別 PreviewMouseLeftButtonDown 路由事件。Identifies the PreviewMouseLeftButtonDown routed event.

PreviewMouseLeftButtonUpEvent PreviewMouseLeftButtonUpEvent PreviewMouseLeftButtonUpEvent PreviewMouseLeftButtonUpEvent

識別 PreviewMouseLeftButtonUp 路由事件。Identifies the PreviewMouseLeftButtonUp routed event.

PreviewMouseMoveEvent PreviewMouseMoveEvent PreviewMouseMoveEvent PreviewMouseMoveEvent

識別 PreviewMouseMove 路由事件。Identifies the PreviewMouseMove routed event.

PreviewMouseRightButtonDownEvent PreviewMouseRightButtonDownEvent PreviewMouseRightButtonDownEvent PreviewMouseRightButtonDownEvent

識別 PreviewMouseRightButtonDown 路由事件。Identifies the PreviewMouseRightButtonDown routed event.

PreviewMouseRightButtonUpEvent PreviewMouseRightButtonUpEvent PreviewMouseRightButtonUpEvent PreviewMouseRightButtonUpEvent

識別 PreviewMouseRightButtonUp 路由事件。Identifies the PreviewMouseRightButtonUp routed event.

PreviewMouseUpEvent PreviewMouseUpEvent PreviewMouseUpEvent PreviewMouseUpEvent

識別 PreviewMouseUp 路由事件。Identifies the PreviewMouseUp routed event.

PreviewMouseWheelEvent PreviewMouseWheelEvent PreviewMouseWheelEvent PreviewMouseWheelEvent

識別 PreviewMouseWheel 路由事件。Identifies the PreviewMouseWheel routed event.

PreviewQueryContinueDragEvent PreviewQueryContinueDragEvent PreviewQueryContinueDragEvent PreviewQueryContinueDragEvent

識別 PreviewQueryContinueDrag 路由事件。Identifies the PreviewQueryContinueDrag routed event.

PreviewStylusButtonDownEvent PreviewStylusButtonDownEvent PreviewStylusButtonDownEvent PreviewStylusButtonDownEvent

識別 PreviewStylusButtonDown 路由事件。Identifies the PreviewStylusButtonDown routed event.

PreviewStylusButtonUpEvent PreviewStylusButtonUpEvent PreviewStylusButtonUpEvent PreviewStylusButtonUpEvent

識別 PreviewStylusButtonUp 路由事件。Identifies the PreviewStylusButtonUp routed event.

PreviewStylusDownEvent PreviewStylusDownEvent PreviewStylusDownEvent PreviewStylusDownEvent

識別 PreviewStylusDown 路由事件。Identifies the PreviewStylusDown routed event.

PreviewStylusInAirMoveEvent PreviewStylusInAirMoveEvent PreviewStylusInAirMoveEvent PreviewStylusInAirMoveEvent

識別 PreviewStylusInAirMove 路由事件。Identifies the PreviewStylusInAirMove routed event.

PreviewStylusInRangeEvent PreviewStylusInRangeEvent PreviewStylusInRangeEvent PreviewStylusInRangeEvent

識別 PreviewStylusInRange 路由事件。Identifies the PreviewStylusInRange routed event.

PreviewStylusMoveEvent PreviewStylusMoveEvent PreviewStylusMoveEvent PreviewStylusMoveEvent

識別 PreviewStylusMove 路由事件。Identifies the PreviewStylusMove routed event.

PreviewStylusOutOfRangeEvent PreviewStylusOutOfRangeEvent PreviewStylusOutOfRangeEvent PreviewStylusOutOfRangeEvent

識別 PreviewStylusOutOfRange 路由事件。Identifies the PreviewStylusOutOfRange routed event.

PreviewStylusSystemGestureEvent PreviewStylusSystemGestureEvent PreviewStylusSystemGestureEvent PreviewStylusSystemGestureEvent

識別 PreviewStylusSystemGesture 路由事件。Identifies the PreviewStylusSystemGesture routed event.

PreviewStylusUpEvent PreviewStylusUpEvent PreviewStylusUpEvent PreviewStylusUpEvent

識別 PreviewStylusUp 路由事件。Identifies the PreviewStylusUp routed event.

PreviewTextInputEvent PreviewTextInputEvent PreviewTextInputEvent PreviewTextInputEvent

識別 PreviewTextInput 路由事件。Identifies the PreviewTextInput routed event.

PreviewTouchDownEvent PreviewTouchDownEvent PreviewTouchDownEvent PreviewTouchDownEvent

識別 PreviewTouchDown 路由事件。Identifies the PreviewTouchDown routed event.

PreviewTouchMoveEvent PreviewTouchMoveEvent PreviewTouchMoveEvent PreviewTouchMoveEvent

識別 PreviewTouchMove 路由事件。Identifies the PreviewTouchMove routed event.

PreviewTouchUpEvent PreviewTouchUpEvent PreviewTouchUpEvent PreviewTouchUpEvent

識別 PreviewTouchUp 路由事件。Identifies the PreviewTouchUp routed event.

QueryContinueDragEvent QueryContinueDragEvent QueryContinueDragEvent QueryContinueDragEvent

識別 QueryContinueDrag 路由事件。Identifies the QueryContinueDrag routed event.

QueryCursorEvent QueryCursorEvent QueryCursorEvent QueryCursorEvent

識別 QueryCursor 路由事件。Identifies the QueryCursor routed event.

RenderTransformOriginProperty RenderTransformOriginProperty RenderTransformOriginProperty RenderTransformOriginProperty

識別 RenderTransformOrigin 相依性屬性。Identifies the RenderTransformOrigin dependency property.

RenderTransformProperty RenderTransformProperty RenderTransformProperty RenderTransformProperty

識別 RenderTransform 相依性屬性。Identifies the RenderTransform dependency property.

SnapsToDevicePixelsProperty SnapsToDevicePixelsProperty SnapsToDevicePixelsProperty SnapsToDevicePixelsProperty

識別 SnapsToDevicePixels 相依性屬性。Identifies the SnapsToDevicePixels dependency property.

StylusButtonDownEvent StylusButtonDownEvent StylusButtonDownEvent StylusButtonDownEvent

識別 StylusButtonDown 路由事件。Identifies the StylusButtonDown routed event.

StylusButtonUpEvent StylusButtonUpEvent StylusButtonUpEvent StylusButtonUpEvent

識別 StylusButtonUp 路由事件。Identifies the StylusButtonUp routed event.

StylusDownEvent StylusDownEvent StylusDownEvent StylusDownEvent

識別 StylusDown 路由事件。Identifies the StylusDown routed event.

StylusEnterEvent StylusEnterEvent StylusEnterEvent StylusEnterEvent

識別 StylusEnter 路由事件。Identifies the StylusEnter routed event.

StylusInAirMoveEvent StylusInAirMoveEvent StylusInAirMoveEvent StylusInAirMoveEvent

識別 StylusInAirMove 路由事件。Identifies the StylusInAirMove routed event.

StylusInRangeEvent StylusInRangeEvent StylusInRangeEvent StylusInRangeEvent

識別 StylusInRange 路由事件。Identifies the StylusInRange routed event.

StylusLeaveEvent StylusLeaveEvent StylusLeaveEvent StylusLeaveEvent

識別 StylusLeave 路由事件。Identifies the StylusLeave routed event.

StylusMoveEvent StylusMoveEvent StylusMoveEvent StylusMoveEvent

識別 StylusMove 路由事件。Identifies the StylusMove routed event.

StylusOutOfRangeEvent StylusOutOfRangeEvent StylusOutOfRangeEvent StylusOutOfRangeEvent

識別 StylusOutOfRange 路由事件。Identifies the StylusOutOfRange routed event.

StylusSystemGestureEvent StylusSystemGestureEvent StylusSystemGestureEvent StylusSystemGestureEvent

識別 StylusSystemGesture 路由事件。Identifies the StylusSystemGesture routed event.

StylusUpEvent StylusUpEvent StylusUpEvent StylusUpEvent

識別 StylusUp 路由事件。Identifies the StylusUp routed event.

TextInputEvent TextInputEvent TextInputEvent TextInputEvent

識別 TextInput 路由事件。Identifies the TextInput routed event.

TouchDownEvent TouchDownEvent TouchDownEvent TouchDownEvent

識別 TouchDown 路由事件。Identifies the TouchDown routed event.

TouchEnterEvent TouchEnterEvent TouchEnterEvent TouchEnterEvent

識別 TouchEnter 路由事件。Identifies the TouchEnter routed event.

TouchLeaveEvent TouchLeaveEvent TouchLeaveEvent TouchLeaveEvent

識別 TouchLeave 路由事件。Identifies the TouchLeave routed event.

TouchMoveEvent TouchMoveEvent TouchMoveEvent TouchMoveEvent

識別 TouchMove 路由事件。Identifies the TouchMove routed event.

TouchUpEvent TouchUpEvent TouchUpEvent TouchUpEvent

識別 TouchUp 路由事件。Identifies the TouchUp routed event.

UidProperty UidProperty UidProperty UidProperty

識別 Uid 相依性屬性。Identifies the Uid dependency property.

VisibilityProperty VisibilityProperty VisibilityProperty VisibilityProperty

識別 Visibility 相依性屬性。Identifies the Visibility dependency property.

屬性

AllowDrop AllowDrop AllowDrop AllowDrop

取得或設定此元素是否可以當做拖放操作目標的值。Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. 這是相依性屬性。This is a dependency property.

AreAnyTouchesCaptured AreAnyTouchesCaptured AreAnyTouchesCaptured AreAnyTouchesCaptured

取得值,這個值表示是否至少有一個觸控擷取至這個項目。Gets a value that indicates whether at least one touch is captured to this element.

AreAnyTouchesCapturedWithin AreAnyTouchesCapturedWithin AreAnyTouchesCapturedWithin AreAnyTouchesCapturedWithin

取得值,這個值表示是否至少有一個觸控擷取至這個項目或其視覺化樹狀結構中的任何子項目。Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree.

AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver

取得值,這個值表示是否至少有一個觸控在這個項目上按下。Gets a value that indicates whether at least one touch is pressed over this element.

AreAnyTouchesOver AreAnyTouchesOver AreAnyTouchesOver AreAnyTouchesOver

取得值,這個值表示是否至少有一個觸控在這個項目或其視覺化樹狀結構中的任何子項目上按下。Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree.

BitmapEffect BitmapEffect BitmapEffect BitmapEffect

取得或設定直接套用至此元素呈現內容的點陣圖效果。Gets or sets a bitmap effect that applies directly to the rendered content for this element. 這是相依性屬性。This is a dependency property.

BitmapEffectInput BitmapEffectInput BitmapEffectInput BitmapEffectInput

取得或設定直接套用至此元素呈現內容的點陣圖效果輸入來源。Gets or sets an input source for the bitmap effect that applies directly to the rendered content for this element. 這是相依性屬性。This is a dependency property.

CacheMode CacheMode CacheMode CacheMode

取得或設定 UIElement 的快取表示。Gets or sets a cached representation of the UIElement.

Clip Clip Clip Clip

取得或設定用來定義項目內容外框的幾何。Gets or sets the geometry used to define the outline of the contents of an element. 這是相依性屬性。This is a dependency property.

ClipToBounds ClipToBounds ClipToBounds ClipToBounds

取得或設定是否裁剪此元素 (或來自此元素的子元素) 的內容,以符合容器元素大小的值。Gets or sets a value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element. 這是相依性屬性。This is a dependency property.

CommandBindings CommandBindings CommandBindings CommandBindings

取得與這個項目關聯的 CommandBinding 物件集合。Gets a collection of CommandBinding objects associated with this element. CommandBinding 會啟用此項目的命令處理,並宣告命令、其事件及此項目所附加之處理常式之間的連結。A CommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element.

DependencyObjectType DependencyObjectType DependencyObjectType DependencyObjectType

取得包裝此執行個體之 CLRCLR 型別的 DependencyObjectTypeGets the DependencyObjectType that wraps the CLRCLR type of this instance.

(Inherited from DependencyObject)
DesiredSize DesiredSize DesiredSize DesiredSize

取得這個項目在版面配置處理序的測量傳遞期間所計算的大小。Gets the size that this element computed during the measure pass of the layout process.

Dispatcher Dispatcher Dispatcher Dispatcher

取得DispatcherDispatcherObject相關聯。Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
Effect Effect Effect Effect

取得或設定要套用至 UIElement 的點陣圖效果。Gets or sets the bitmap effect to apply to the UIElement. 這是相依性屬性。This is a dependency property.

Focusable Focusable Focusable Focusable

取得或設定元素是否能夠接收焦點的值。Gets or sets a value that indicates whether the element can receive focus. 這是相依性屬性。This is a dependency property.

HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties

取得值,這個值表示此項目是否有任何動畫屬性。Gets a value indicating whether this element has any animated properties.

HasEffectiveKeyboardFocus HasEffectiveKeyboardFocus HasEffectiveKeyboardFocus HasEffectiveKeyboardFocus

取得值,指出 UIElement 是否具有焦點。Gets a value that indicates whether the UIElement has focus.

InputBindings InputBindings InputBindings InputBindings

取得與此元素關聯的輸入繫結集合。Gets the collection of input bindings associated with this element.

IsArrangeValid IsArrangeValid IsArrangeValid IsArrangeValid

取得值,這個值表示在此項目之配置中子項目的計算大小和位置是有效的。Gets a value indicating whether the computed size and position of child elements in this element's layout are valid.

IsEnabled IsEnabled IsEnabled IsEnabled

取得或設定值,這個值表示 使用者介面 (UI)user interface (UI) 中是否已啟用這個項目。Gets or sets a value indicating whether this element is enabled in the 使用者介面 (UI)user interface (UI). 這是相依性屬性。This is a dependency property.

IsEnabledCore IsEnabledCore IsEnabledCore IsEnabledCore

取得值,這個值會成為衍生類別中 IsEnabled 的傳回值。Gets a value that becomes the return value of IsEnabled in derived classes.

IsFocused IsFocused IsFocused IsFocused

取得值,決定這個項目是否具有邏輯焦點。Gets a value that determines whether this element has logical focus. 這是相依性屬性。This is a dependency property.

IsHitTestVisible IsHitTestVisible IsHitTestVisible IsHitTestVisible

取得或設定宣告此元素是否可以從其呈現內容的某些部分傳回,作為點擊測試結果的值。Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. 這是相依性屬性。This is a dependency property.

IsInputMethodEnabled IsInputMethodEnabled IsInputMethodEnabled IsInputMethodEnabled

取得值,指出輸入法系統 (例如 輸入法 (IME)Input Method Editor (IME)) 是否已為處理這個項目的輸入而啟用。Gets a value indicating whether an input method system, such as an 輸入法 (IME)Input Method Editor (IME), is enabled for processing the input to this element.

IsKeyboardFocused IsKeyboardFocused IsKeyboardFocused IsKeyboardFocused

取得值,指出這個項目是否具有鍵盤焦點。Gets a value indicating whether this element has keyboard focus. 這是相依性屬性。This is a dependency property.

IsKeyboardFocusWithin IsKeyboardFocusWithin IsKeyboardFocusWithin IsKeyboardFocusWithin

取得值,表示鍵盤焦點是否在項目或其視覺化樹狀結構子項目內的任何位置。Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. 這是相依性屬性。This is a dependency property.

IsManipulationEnabled IsManipulationEnabled IsManipulationEnabled IsManipulationEnabled

取得或設定值,這個值表示是否在此 UIElement 上啟用操作事件。Gets or sets a value that indicates whether manipulation events are enabled on this UIElement.

IsMeasureValid IsMeasureValid IsMeasureValid IsMeasureValid

取得值,這個值表示配置測量所傳回的目前大小是否有效。Gets a value indicating whether the current size returned by layout measure is valid.

IsMouseCaptured IsMouseCaptured IsMouseCaptured IsMouseCaptured

取得值,指出是否將滑鼠擷取至這個項目。Gets a value indicating whether the mouse is captured to this element. 這是相依性屬性。This is a dependency property.

IsMouseCaptureWithin IsMouseCaptureWithin IsMouseCaptureWithin IsMouseCaptureWithin

取得值,這個值決定滑鼠擷取是由這個項目持有,還是由其視覺化樹狀中的子項目持有。Gets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. 這是相依性屬性。This is a dependency property.

IsMouseDirectlyOver IsMouseDirectlyOver IsMouseDirectlyOver IsMouseDirectlyOver

取得值,指出滑鼠指標位置是否與點擊測試結果對應,該結果會將複合項目納入考量。Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. 這是相依性屬性。This is a dependency property.

IsMouseOver IsMouseOver IsMouseOver IsMouseOver

取得值,指出滑鼠指標是否在這個項目上方 (包括視覺化樹狀中的子項目)。Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree). 這是相依性屬性。This is a dependency property.

IsSealed IsSealed IsSealed IsSealed

取得值,這個值表示此執行個體目前是否已密封 (唯讀)。Gets a value that indicates whether this instance is currently sealed (read-only).

(Inherited from DependencyObject)
IsStylusCaptured IsStylusCaptured IsStylusCaptured IsStylusCaptured

取得值,指出這個項目是否擷取手寫筆。Gets a value indicating whether the stylus is captured by this element. 這是相依性屬性。This is a dependency property.

IsStylusCaptureWithin IsStylusCaptureWithin IsStylusCaptureWithin IsStylusCaptureWithin

取得值,這個值決定手寫筆擷取是由這個項目持有,還是由項目範圍及其視覺化樹狀結構中的項目持有。Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. 這是相依性屬性。This is a dependency property.

IsStylusDirectlyOver IsStylusDirectlyOver IsStylusDirectlyOver IsStylusDirectlyOver

取得值,指出手寫筆位置是否與點擊測試結果相對應,該結果會將複合項目納入考量。Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. 這是相依性屬性。This is a dependency property.

IsStylusOver IsStylusOver IsStylusOver IsStylusOver

取得值,指出手寫筆游標是否位在這個項目上方 (包括視覺子項目)。Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). 這是相依性屬性。This is a dependency property.

IsVisible IsVisible IsVisible IsVisible

取得值,表示這個項目在 使用者介面 (UI)user interface (UI) 中是否可見。Gets a value indicating whether this element is visible in the 使用者介面 (UI)user interface (UI). 這是相依性屬性。This is a dependency property.

Opacity Opacity Opacity Opacity

取得或設定套用至整個 UIElement (在 使用者介面 (UI)user interface (UI) 中呈現時) 的不透明度因數。Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the 使用者介面 (UI)user interface (UI). 這是相依性屬性。This is a dependency property.

OpacityMask OpacityMask OpacityMask OpacityMask

取得或設定套用至任何 Alpha 色板遮罩 (用來遮住此項目的呈現內容) 時實作 Brush 的不透明度遮罩。Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. 這是相依性屬性。This is a dependency property.

PersistId PersistId PersistId PersistId

取得值,這個值可唯一識別此項目。Gets a value that uniquely identifies this element.

RenderSize RenderSize RenderSize RenderSize

取得 (或設定) 這個項目的最終呈現大小。Gets (or sets) the final render size of this element.

RenderTransform RenderTransform RenderTransform RenderTransform

取得或設定影響這個項目呈現位置的轉換資訊。Gets or sets transform information that affects the rendering position of this element. 這是相依性屬性。This is a dependency property.

RenderTransformOrigin RenderTransformOrigin RenderTransformOrigin RenderTransformOrigin

取得或設定 RenderTransform (相對於項目邊界) 宣告任何可能呈現轉換的中心點。Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. 這是相依性屬性。This is a dependency property.

SnapsToDevicePixels SnapsToDevicePixels SnapsToDevicePixels SnapsToDevicePixels

取得或設定值,該值判斷這個項目的呈現在呈現期間是否該使用裝置特定像素的設定。Gets or sets a value that determines whether rendering for this element should use device-specific pixel settings during rendering. 這是相依性屬性。This is a dependency property.

StylusPlugIns StylusPlugIns StylusPlugIns StylusPlugIns

取得與這個項目關聯的所有手寫筆外掛程式 (自訂) 物件集合。Gets a collection of all stylus plug-in (customization) objects associated with this element.

TouchesCaptured TouchesCaptured TouchesCaptured TouchesCaptured

取得已擷取至這個項目的所有觸控裝置。Gets all touch devices that are captured to this element.

TouchesCapturedWithin TouchesCapturedWithin TouchesCapturedWithin TouchesCapturedWithin

取得已擷取至這個項目或其視覺化樹狀結構中之任何子項目的所有觸控裝置。Gets all touch devices that are captured to this element or any child elements in its visual tree.

TouchesDirectlyOver TouchesDirectlyOver TouchesDirectlyOver TouchesDirectlyOver

取得在這個項目上停留的所有觸控裝置。Gets all touch devices that are over this element.

TouchesOver TouchesOver TouchesOver TouchesOver

取得在這個項目或其視覺化樹狀結構中之任何子項目上停留的所有觸控裝置。Gets all touch devices that are over this element or any child elements in its visual tree.

Uid Uid Uid Uid

取得或設定這個項目的唯一識別項 (適用於當地語系化)。Gets or sets the unique identifier (for localization) for this element. 這是相依性屬性。This is a dependency property.

Visibility Visibility Visibility Visibility

取得或設定這個項目的 使用者介面 (UI)user interface (UI) 可見性。Gets or sets the 使用者介面 (UI)user interface (UI) visibility of this element. 這是相依性屬性。This is a dependency property.

VisualBitmapEffect VisualBitmapEffect VisualBitmapEffect VisualBitmapEffect

取得或設定 BitmapEffectVisual 值。Gets or sets the BitmapEffect value for the Visual.

(Inherited from Visual)
VisualBitmapEffectInput VisualBitmapEffectInput VisualBitmapEffectInput VisualBitmapEffectInput

取得或設定 BitmapEffectInputVisual 值。Gets or sets the BitmapEffectInput value for the Visual.

(Inherited from Visual)
VisualBitmapScalingMode VisualBitmapScalingMode VisualBitmapScalingMode VisualBitmapScalingMode

取得或設定 BitmapScalingModeVisualGets or sets the BitmapScalingMode for the Visual.

(Inherited from Visual)
VisualCacheMode VisualCacheMode VisualCacheMode VisualCacheMode

取得或設定 Visual 的快取表示。Gets or sets a cached representation of the Visual.

(Inherited from Visual)
VisualChildrenCount VisualChildrenCount VisualChildrenCount VisualChildrenCount

取得 Visual 的子項目數量。Gets the number of child elements for the Visual.

(Inherited from Visual)
VisualClearTypeHint VisualClearTypeHint VisualClearTypeHint VisualClearTypeHint

取得或設定 ClearTypeHint,以決定 Visual 中的 ClearType 呈現方式。Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual.

(Inherited from Visual)
VisualClip VisualClip VisualClip VisualClip

取得或設定 Visual 的裁剪區域做為 Geometry 值。Gets or sets the clip region of the Visual as a Geometry value.

(Inherited from Visual)
VisualEdgeMode VisualEdgeMode VisualEdgeMode VisualEdgeMode

取得或設定 Visual 的邊緣模式做為 EdgeMode 值。Gets or sets the edge mode of the Visual as an EdgeMode value.

(Inherited from Visual)
VisualEffect VisualEffect VisualEffect VisualEffect

取得或設定要套用至 Visual 的點陣圖效果。Gets or sets the bitmap effect to apply to the Visual.

(Inherited from Visual)
VisualOffset VisualOffset VisualOffset VisualOffset

取得或設定視覺物件的位移值。Gets or sets the offset value of the visual object.

(Inherited from Visual)
VisualOpacity VisualOpacity VisualOpacity VisualOpacity

取得或設定 Visual 的不透明度。Gets or sets the opacity of the Visual.

(Inherited from Visual)
VisualOpacityMask VisualOpacityMask VisualOpacityMask VisualOpacityMask

取得或設定 Brush 值,這個值表示 Visual 的不透明遮罩。Gets or sets the Brush value that represents the opacity mask of the Visual.

(Inherited from Visual)
VisualParent VisualParent VisualParent VisualParent

取得視覺物件的視覺化樹狀結構父物件。Gets the visual tree parent of the visual object.

(Inherited from Visual)
VisualScrollableAreaClip VisualScrollableAreaClip VisualScrollableAreaClip VisualScrollableAreaClip

取得或設定 Visual 的可捲動裁剪區域。Gets or sets a clipped scrollable area for the Visual.

(Inherited from Visual)
VisualTextHintingMode VisualTextHintingMode VisualTextHintingMode VisualTextHintingMode

取得或設定 VisualTextHintingModeGets or sets the TextHintingMode of the Visual.

(Inherited from Visual)
VisualTextRenderingMode VisualTextRenderingMode VisualTextRenderingMode VisualTextRenderingMode

取得或設定 VisualTextRenderingModeGets or sets the TextRenderingMode of the Visual.

(Inherited from Visual)
VisualTransform VisualTransform VisualTransform VisualTransform

取得或設定 TransformVisual 值。Gets or sets the Transform value for the Visual.

(Inherited from Visual)
VisualXSnappingGuidelines VisualXSnappingGuidelines VisualXSnappingGuidelines VisualXSnappingGuidelines

取得或設定 X 座標 (垂直) 導線集合。Gets or sets the x-coordinate (vertical) guideline collection.

(Inherited from Visual)
VisualYSnappingGuidelines VisualYSnappingGuidelines VisualYSnappingGuidelines VisualYSnappingGuidelines

取得或設定 Y 座標 (水平) 導線集合。Gets or sets the y-coordinate (horizontal) guideline collection.

(Inherited from Visual)

方法

AddHandler(RoutedEvent, Delegate) AddHandler(RoutedEvent, Delegate) AddHandler(RoutedEvent, Delegate) AddHandler(RoutedEvent, Delegate)

加入所指定路由事件的路由事件處理常式,會將此處理常式加入目前項目的處理常式集合中。Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element.

AddHandler(RoutedEvent, Delegate, Boolean) AddHandler(RoutedEvent, Delegate, Boolean) AddHandler(RoutedEvent, Delegate, Boolean) AddHandler(RoutedEvent, Delegate, Boolean)

加入所指定路由事件的路由事件處理常式,會將此處理常式加入目前項目的處理常式集合中。Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. handledEventsToo 指定為 true,為已標示為由事件路由上另一個項目處理的事件叫用提供的處理常式。Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.

AddToEventRoute(EventRoute, RoutedEventArgs) AddToEventRoute(EventRoute, RoutedEventArgs) AddToEventRoute(EventRoute, RoutedEventArgs) AddToEventRoute(EventRoute, RoutedEventArgs)

針對目前的 EventRoute 事件處理常式集合,將處理常式加入至指定的 UIElementAdds handlers to the specified EventRoute for the current UIElement event handler collection.

AddVisualChild(Visual) AddVisualChild(Visual) AddVisualChild(Visual) AddVisualChild(Visual)

定義兩個視覺項目之間的父-子關係。Defines the parent-child relationship between two visuals.

(Inherited from Visual)
ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock)

將動畫套用至這個項目上所指定的相依性屬性。Applies an animation to a specified dependency property on this element. 任何現有動畫都會停止並取代為新的動畫。Any existing animations are stopped and replaced with the new animation.

ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

將動畫套用至這個項目上所指定的相依性屬性,且可以指定此屬性已經有執行中的動畫時會發生哪種情況。Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation.

Arrange(Rect) Arrange(Rect) Arrange(Rect) Arrange(Rect)

放置子項目,並且判斷 UIElement 的大小。Positions child elements and determines a size for a UIElement. 父項目從 ArrangeCore(Rect) 實作 (或 WPF 架構層級對等項目) 中呼叫此方法,以形成遞迴配置更新。Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. 這個方法會構成配置更新的第二個階段。This method constitutes the second pass of a layout update.

ArrangeCore(Rect) ArrangeCore(Rect) ArrangeCore(Rect) ArrangeCore(Rect)

定義 WPF 核心層級排列版面配置定義的範本。Defines the template for WPF core-level arrange layout definition.

BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline)

針對這個項目之指定的動畫屬性,開始播放動畫。Starts an animation for a specified animated property on this element.

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

針對此項目上指定的動畫屬性啟動特定動畫,且可以選擇指定如果屬性已經有執行中的動畫時會發生何種情況。Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation.

CaptureMouse() CaptureMouse() CaptureMouse() CaptureMouse()

嘗試強制將滑鼠的捕捉給這個項目。Attempts to force capture of the mouse to this element.

CaptureStylus() CaptureStylus() CaptureStylus() CaptureStylus()

嘗試強制將手寫筆的捕捉給這個項目。Attempts to force capture of the stylus to this element.

CaptureTouch(TouchDevice) CaptureTouch(TouchDevice) CaptureTouch(TouchDevice) CaptureTouch(TouchDevice)

嘗試強制將觸控擷取至這個項目。Attempts to force capture of a touch to this element.

CheckAccess() CheckAccess() CheckAccess() CheckAccess()

判斷呼叫的執行緒是否可以存取這個DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

清除屬性的區域數值。Clears the local value of a property. 要清除的屬性是由 DependencyProperty 識別項所指定。The property to be cleared is specified by a DependencyProperty identifier.

(Inherited from DependencyObject)
ClearValue(DependencyPropertyKey) ClearValue(DependencyPropertyKey) ClearValue(DependencyPropertyKey) ClearValue(DependencyPropertyKey)

清除唯讀屬性的區域數值。Clears the local value of a read-only property. 要清除的屬性是由 DependencyPropertyKey 所指定。The property to be cleared is specified by a DependencyPropertyKey.

(Inherited from DependencyObject)
CoerceValue(DependencyProperty) CoerceValue(DependencyProperty) CoerceValue(DependencyProperty) CoerceValue(DependencyProperty)

強制轉型所指定相依性屬性的值。Coerces the value of the specified dependency property. 叫用存在於呼叫 CoerceValueCallback 上相依性屬性之屬性中繼資料內所指定的任何 DependencyObject 函式,就可以達到這一點。This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(Inherited from DependencyObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷提供的 DependencyObject 和目前的 DependencyObject 是否相等。Determines whether a provided DependencyObject is equivalent to the current DependencyObject.

(Inherited from DependencyObject)
FindCommonVisualAncestor(DependencyObject) FindCommonVisualAncestor(DependencyObject) FindCommonVisualAncestor(DependencyObject) FindCommonVisualAncestor(DependencyObject)

傳回兩個視覺物件的共同祖系。Returns the common ancestor of two visual objects.

(Inherited from Visual)
Focus() Focus() Focus() Focus()

嘗試將焦點設定至此項目。Attempts to set focus to this element.

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

傳回這個項目上指定屬性的基底屬性值,不管任何執行中的可能動畫值,或停止動畫。Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

取得這個 DependencyObject 的雜湊程式碼。Gets a hash code for this DependencyObject.

(Inherited from DependencyObject)
GetLayoutClip(Size) GetLayoutClip(Size) GetLayoutClip(Size) GetLayoutClip(Size)

如果 ClipToBounds 設定為 true,則傳回表示所要裁剪之區域的替代裁剪幾何。Returns an alternative clipping geometry that represents the region that would be clipped if ClipToBounds were set to true.

GetLocalValueEnumerator() GetLocalValueEnumerator() GetLocalValueEnumerator() GetLocalValueEnumerator()

建立特定的列舉值,以判斷哪些相依性屬性在此 DependencyObject 上具有本機設定的值。Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.

(Inherited from DependencyObject)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
GetUIParentCore() GetUIParentCore() GetUIParentCore() GetUIParentCore()

當在衍生類別中覆寫時,如果沒有視覺化父項目存在,則會為這個項目傳回替代的使用者介面 (UI)user interface (UI) 父項目。When overridden in a derived class, returns an alternative 使用者介面 (UI)user interface (UI) parent for this element if no visual parent exists.

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

傳回 DependencyObject 的這個執行個體上之相依性屬性的目前有效值。Returns the current effective value of a dependency property on this instance of a DependencyObject.

(Inherited from DependencyObject)
GetVisualChild(Int32) GetVisualChild(Int32) GetVisualChild(Int32) GetVisualChild(Int32)

傳回父 Visual 中所指定的 VisualCollectionReturns the specified Visual in the parent VisualCollection.

(Inherited from Visual)
HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters) HitTestCore(GeometryHitTestParameters)

實作 HitTestCore(GeometryHitTestParameters)以提供基底項目點擊測試行為 (傳回 GeometryHitTestResult)。Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult).

HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters) HitTestCore(PointHitTestParameters)

實作 HitTestCore(PointHitTestParameters)以提供基底項目點擊測試行為 (傳回 HitTestResult)。Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult).

InputHitTest(Point) InputHitTest(Point) InputHitTest(Point) InputHitTest(Point)

在目前項目範圍中傳回的輸入項目,輸入項目位在相對於目前項目原點的指定座標。Returns the input element within the current element that is at the specified coordinates, relative to the current element's origin.

InvalidateArrange() InvalidateArrange() InvalidateArrange() InvalidateArrange()

使項目的排列狀態 (配置) 失效。Invalidates the arrange state (layout) for the element. 失效之後,項目將更新其配置,而且,除非之後由 UpdateLayout() 強制執行,否則這項作業會以非同步方式發生。After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout().

InvalidateMeasure() InvalidateMeasure() InvalidateMeasure() InvalidateMeasure()

使項目的測量狀態 (配置) 失效。Invalidates the measurement state (layout) for the element.

InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty)

重新評估指定之相依性屬性的有效值。Re-evaluates the effective value for the specified dependency property

(Inherited from DependencyObject)
InvalidateVisual() InvalidateVisual() InvalidateVisual() InvalidateVisual()

讓項目的呈現失效,並強制全新的配置傳遞。Invalidates the rendering of the element, and forces a complete new layout pass. 完成配置循環之後,會呼叫 OnRender(DrawingContext)OnRender(DrawingContext) is called after the layout cycle is completed.

IsAncestorOf(DependencyObject) IsAncestorOf(DependencyObject) IsAncestorOf(DependencyObject) IsAncestorOf(DependencyObject)

判斷視覺物件是否為子系視覺物件的祖系。Determines whether the visual object is an ancestor of the descendant visual object.

(Inherited from Visual)
IsDescendantOf(DependencyObject) IsDescendantOf(DependencyObject) IsDescendantOf(DependencyObject) IsDescendantOf(DependencyObject)

判斷視覺物件是否為祖系視覺物件的子系。Determines whether the visual object is a descendant of the ancestor visual object.

(Inherited from Visual)
Measure(Size) Measure(Size) Measure(Size) Measure(Size)

更新 UIElementDesiredSizeUpdates the DesiredSize of a UIElement. 父項目從本身的 MeasureCore(Size) 實作中呼叫此方法,以形成遞迴配置更新。Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. 呼叫此方法即構成配置更新的第一次傳遞 (「量值」傳遞)。Calling this method constitutes the first pass (the "Measure" pass) of a layout update.

MeasureCore(Size) MeasureCore(Size) MeasureCore(Size) MeasureCore(Size)

任一項目在衍生類別中被覆寫時,會提供可以正確調整該項目的度量邏輯,並且也會同時考慮所有子項目內容的大小。When overridden in a derived class, provides measurement logic for sizing this element properly, with consideration of the size of any child element content.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(Inherited from Object)
MoveFocus(TraversalRequest) MoveFocus(TraversalRequest) MoveFocus(TraversalRequest) MoveFocus(TraversalRequest)

嘗試將焦點從這個項目移至另一個項目。Attempts to move focus from this element to another element. 移動焦點的方向是由指引方向所指定,該指引方向是在這個項目之視覺化父代的組織內解譯。The direction to move focus is specified by a guidance direction, which is interpreted within the organization of the visual parent for this element.

OnAccessKey(AccessKeyEventArgs) OnAccessKey(AccessKeyEventArgs) OnAccessKey(AccessKeyEventArgs) OnAccessKey(AccessKeyEventArgs)

當叫用對這個項目有意義的便捷鍵 (Access Key) 時,為其提供類別處理。Provides class handling for when an access key that is meaningful for this element is invoked.

OnChildDesiredSizeChanged(UIElement) OnChildDesiredSizeChanged(UIElement) OnChildDesiredSizeChanged(UIElement) OnChildDesiredSizeChanged(UIElement)

會在調整子項目的大小時支援配置行為。Supports layout behavior when a child element is resized.

OnCreateAutomationPeer() OnCreateAutomationPeer() OnCreateAutomationPeer() OnCreateAutomationPeer()

Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構傳回類別特定的 AutomationPeer 實作。Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure.

OnDpiChanged(DpiScale, DpiScale) OnDpiChanged(DpiScale, DpiScale) OnDpiChanged(DpiScale, DpiScale) OnDpiChanged(DpiScale, DpiScale)

當轉譯此 View 的 DPI 變更時呼叫。Called when the DPI at which this View is rendered changes.

(Inherited from Visual)
OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs)

當未處理的 DragEnter 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnDragLeave(DragEventArgs) OnDragLeave(DragEventArgs) OnDragLeave(DragEventArgs) OnDragLeave(DragEventArgs)

當未處理的 DragLeave 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled DragLeave attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnDragOver(DragEventArgs) OnDragOver(DragEventArgs) OnDragOver(DragEventArgs) OnDragOver(DragEventArgs)

當未處理的 DragOver 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled DragOver attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnDrop(DragEventArgs) OnDrop(DragEventArgs) OnDrop(DragEventArgs) OnDrop(DragEventArgs)

當未處理的 DragEnter 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnGiveFeedback(GiveFeedbackEventArgs) OnGiveFeedback(GiveFeedbackEventArgs) OnGiveFeedback(GiveFeedbackEventArgs) OnGiveFeedback(GiveFeedbackEventArgs)

當未處理的 GiveFeedback 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled GiveFeedback attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs)

使用所提供的事件資料引發 GotFocus 路由事件。Raises the GotFocus routed event by using the event data provided.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

當未處理的 GotKeyboardFocus 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled GotKeyboardFocus attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnGotMouseCapture(MouseEventArgs) OnGotMouseCapture(MouseEventArgs) OnGotMouseCapture(MouseEventArgs) OnGotMouseCapture(MouseEventArgs)

當未處理的 GotMouseCapture 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled GotMouseCapture attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnGotStylusCapture(StylusEventArgs) OnGotStylusCapture(StylusEventArgs) OnGotStylusCapture(StylusEventArgs) OnGotStylusCapture(StylusEventArgs)

當未處理的 GotStylusCapture 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled GotStylusCapture attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnGotTouchCapture(TouchEventArgs) OnGotTouchCapture(TouchEventArgs) OnGotTouchCapture(TouchEventArgs) OnGotTouchCapture(TouchEventArgs)

提供 GotTouchCapture 路由事件的類別處理,而這個事件會在擷取到對此項目的觸控時發生。Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element.

OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

當這個項目上引發未處理的 IsKeyboardFocusedChanged 事件時叫用。Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

在此項目引發 IsKeyboardFocusWithinChanged 事件前叫用。Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

當這個項目上引發未處理的 IsMouseCapturedChanged 事件時叫用。Invoked when an unhandled IsMouseCapturedChanged event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

當這個項目上引發未處理的 IsMouseCaptureWithinChanged 事件時叫用。Invoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

當這個項目上引發未處理的 IsMouseDirectlyOverChanged 事件時叫用。Invoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

當這個項目上引發未處理的 IsStylusCapturedChanged 事件時叫用。Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

當這個項目上引發未處理的 IsStylusCaptureWithinChanged 事件時叫用。Invoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

當這個項目上引發未處理的 IsStylusDirectlyOverChanged 事件時叫用。Invoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs)

當未處理的 KeyDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled KeyDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs)

當未處理的 KeyUp 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled KeyUp attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs)

使用所提供的事件資料引發 LostFocus 路由事件。Raises the LostFocus routed event by using the event data that is provided.

OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

當未處理的 LostKeyboardFocus 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled LostKeyboardFocus attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnLostMouseCapture(MouseEventArgs) OnLostMouseCapture(MouseEventArgs) OnLostMouseCapture(MouseEventArgs) OnLostMouseCapture(MouseEventArgs)

當未處理的 LostMouseCapture 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnLostStylusCapture(StylusEventArgs) OnLostStylusCapture(StylusEventArgs) OnLostStylusCapture(StylusEventArgs) OnLostStylusCapture(StylusEventArgs)

當未處理的 LostStylusCapture 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled LostStylusCapture attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnLostTouchCapture(TouchEventArgs) OnLostTouchCapture(TouchEventArgs) OnLostTouchCapture(TouchEventArgs) OnLostTouchCapture(TouchEventArgs)

提供 LostTouchCapture 路由事件的類別處理,而這個事件會在此項目失去觸控擷取時發生。Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture.

OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs) OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs) OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs) OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs)

ManipulationBoundaryFeedback 事件發生時呼叫。Called when the ManipulationBoundaryFeedback event occurs.

OnManipulationCompleted(ManipulationCompletedEventArgs) OnManipulationCompleted(ManipulationCompletedEventArgs) OnManipulationCompleted(ManipulationCompletedEventArgs) OnManipulationCompleted(ManipulationCompletedEventArgs)

ManipulationCompleted 事件發生時呼叫。Called when the ManipulationCompleted event occurs.

OnManipulationDelta(ManipulationDeltaEventArgs) OnManipulationDelta(ManipulationDeltaEventArgs) OnManipulationDelta(ManipulationDeltaEventArgs) OnManipulationDelta(ManipulationDeltaEventArgs)

ManipulationDelta 事件發生時呼叫。Called when the ManipulationDelta event occurs.

OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs) OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs) OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs) OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs)

ManipulationInertiaStarting 事件發生時呼叫。Called when the ManipulationInertiaStarting event occurs.

OnManipulationStarted(ManipulationStartedEventArgs) OnManipulationStarted(ManipulationStartedEventArgs) OnManipulationStarted(ManipulationStartedEventArgs) OnManipulationStarted(ManipulationStartedEventArgs)

ManipulationStarted 事件發生時呼叫。Called when the ManipulationStarted event occurs.

OnManipulationStarting(ManipulationStartingEventArgs) OnManipulationStarting(ManipulationStartingEventArgs) OnManipulationStarting(ManipulationStartingEventArgs) OnManipulationStarting(ManipulationStartingEventArgs)

提供當第一次建立操作處理器時,所發生 ManipulationStarting 路由事件的類別處理。Provides class handling for the ManipulationStarting routed event that occurs when the manipulation processor is first created.

OnMouseDown(MouseButtonEventArgs) OnMouseDown(MouseButtonEventArgs) OnMouseDown(MouseButtonEventArgs) OnMouseDown(MouseButtonEventArgs)

當未處理的 MouseDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled MouseDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseEnter(MouseEventArgs) OnMouseEnter(MouseEventArgs) OnMouseEnter(MouseEventArgs) OnMouseEnter(MouseEventArgs)

當這個項目上引發未處理的 MouseEnter 附加事件時叫用。Invoked when an unhandled MouseEnter attached event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseLeave(MouseEventArgs) OnMouseLeave(MouseEventArgs) OnMouseLeave(MouseEventArgs) OnMouseLeave(MouseEventArgs)

當這個項目上引發未處理的 MouseLeave 附加事件時叫用。Invoked when an unhandled MouseLeave attached event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseLeftButtonDown(MouseButtonEventArgs) OnMouseLeftButtonDown(MouseButtonEventArgs) OnMouseLeftButtonDown(MouseButtonEventArgs) OnMouseLeftButtonDown(MouseButtonEventArgs)

當這個項目上引發未處理的 MouseLeftButtonDown 路由事件時叫用。Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseLeftButtonUp(MouseButtonEventArgs) OnMouseLeftButtonUp(MouseButtonEventArgs) OnMouseLeftButtonUp(MouseButtonEventArgs) OnMouseLeftButtonUp(MouseButtonEventArgs)

當未處理的 MouseLeftButtonUp 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs)

當未處理的 MouseMove 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseRightButtonDown(MouseButtonEventArgs) OnMouseRightButtonDown(MouseButtonEventArgs) OnMouseRightButtonDown(MouseButtonEventArgs) OnMouseRightButtonDown(MouseButtonEventArgs)

當未處理的 MouseRightButtonDown 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled MouseRightButtonDown routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseRightButtonUp(MouseButtonEventArgs) OnMouseRightButtonUp(MouseButtonEventArgs) OnMouseRightButtonUp(MouseButtonEventArgs) OnMouseRightButtonUp(MouseButtonEventArgs)

當未處理的 MouseRightButtonUp 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseUp(MouseButtonEventArgs) OnMouseUp(MouseButtonEventArgs) OnMouseUp(MouseButtonEventArgs) OnMouseUp(MouseButtonEventArgs)

當未處理的 MouseUp 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled MouseUp routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnMouseWheel(MouseWheelEventArgs) OnMouseWheel(MouseWheelEventArgs) OnMouseWheel(MouseWheelEventArgs) OnMouseWheel(MouseWheelEventArgs)

當未處理的 MouseWheel 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewDragEnter(DragEventArgs) OnPreviewDragEnter(DragEventArgs) OnPreviewDragEnter(DragEventArgs) OnPreviewDragEnter(DragEventArgs)

當未處理的 PreviewDragEnter 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewDragEnter attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewDragLeave(DragEventArgs) OnPreviewDragLeave(DragEventArgs) OnPreviewDragLeave(DragEventArgs) OnPreviewDragLeave(DragEventArgs)

當未處理的 PreviewDragLeave 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewDragLeave attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewDragOver(DragEventArgs) OnPreviewDragOver(DragEventArgs) OnPreviewDragOver(DragEventArgs) OnPreviewDragOver(DragEventArgs)

當未處理的 PreviewDragOver 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewDragOver attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewDrop(DragEventArgs) OnPreviewDrop(DragEventArgs) OnPreviewDrop(DragEventArgs) OnPreviewDrop(DragEventArgs)

當未處理的 PreviewDrop 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewDrop attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewGiveFeedback(GiveFeedbackEventArgs) OnPreviewGiveFeedback(GiveFeedbackEventArgs) OnPreviewGiveFeedback(GiveFeedbackEventArgs) OnPreviewGiveFeedback(GiveFeedbackEventArgs)

當未處理的 PreviewGiveFeedback 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewGiveFeedback attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs)

當未處理的 PreviewGotKeyboardFocus 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewKeyDown(KeyEventArgs) OnPreviewKeyDown(KeyEventArgs) OnPreviewKeyDown(KeyEventArgs) OnPreviewKeyDown(KeyEventArgs)

當未處理的 PreviewKeyDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewKeyUp(KeyEventArgs) OnPreviewKeyUp(KeyEventArgs) OnPreviewKeyUp(KeyEventArgs) OnPreviewKeyUp(KeyEventArgs)

當未處理的 PreviewKeyUp 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewKeyUp attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)

當未處理的 PreviewKeyDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseDown(MouseButtonEventArgs) OnPreviewMouseDown(MouseButtonEventArgs) OnPreviewMouseDown(MouseButtonEventArgs) OnPreviewMouseDown(MouseButtonEventArgs)

當未處理的 PreviewMouseDown 附加路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseDown attached routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

當未處理的 PreviewMouseLeftButtonDown 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

當未處理的 PreviewMouseLeftButtonUp 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseMove(MouseEventArgs) OnPreviewMouseMove(MouseEventArgs) OnPreviewMouseMove(MouseEventArgs) OnPreviewMouseMove(MouseEventArgs)

當未處理的 PreviewMouseMove 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseMove attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseRightButtonDown(MouseButtonEventArgs) OnPreviewMouseRightButtonDown(MouseButtonEventArgs) OnPreviewMouseRightButtonDown(MouseButtonEventArgs) OnPreviewMouseRightButtonDown(MouseButtonEventArgs)

當未處理的 PreviewMouseRightButtonDown 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseRightButtonDown routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseRightButtonUp(MouseButtonEventArgs) OnPreviewMouseRightButtonUp(MouseButtonEventArgs) OnPreviewMouseRightButtonUp(MouseButtonEventArgs) OnPreviewMouseRightButtonUp(MouseButtonEventArgs)

當未處理的 PreviewMouseRightButtonUp 路由事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseUp(MouseButtonEventArgs) OnPreviewMouseUp(MouseButtonEventArgs) OnPreviewMouseUp(MouseButtonEventArgs) OnPreviewMouseUp(MouseButtonEventArgs)

當未處理的 PreviewMouseUp 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseUp attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewMouseWheel(MouseWheelEventArgs) OnPreviewMouseWheel(MouseWheelEventArgs) OnPreviewMouseWheel(MouseWheelEventArgs) OnPreviewMouseWheel(MouseWheelEventArgs)

當未處理的 PreviewMouseWheel 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewMouseWheel attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) OnPreviewQueryContinueDrag(QueryContinueDragEventArgs)

當未處理的 PreviewQueryContinueDrag 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewQueryContinueDrag attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusButtonDown(StylusButtonEventArgs) OnPreviewStylusButtonDown(StylusButtonEventArgs) OnPreviewStylusButtonDown(StylusButtonEventArgs) OnPreviewStylusButtonDown(StylusButtonEventArgs)

當未處理的 PreviewStylusButtonDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusButtonDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusButtonUp(StylusButtonEventArgs) OnPreviewStylusButtonUp(StylusButtonEventArgs) OnPreviewStylusButtonUp(StylusButtonEventArgs) OnPreviewStylusButtonUp(StylusButtonEventArgs)

當未處理的 PreviewStylusButtonUp 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusButtonUp attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusDown(StylusDownEventArgs) OnPreviewStylusDown(StylusDownEventArgs) OnPreviewStylusDown(StylusDownEventArgs) OnPreviewStylusDown(StylusDownEventArgs)

當未處理的 PreviewStylusDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusInAirMove(StylusEventArgs) OnPreviewStylusInAirMove(StylusEventArgs) OnPreviewStylusInAirMove(StylusEventArgs) OnPreviewStylusInAirMove(StylusEventArgs)

當未處理的 PreviewStylusInAirMove 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusInAirMove attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusInRange(StylusEventArgs) OnPreviewStylusInRange(StylusEventArgs) OnPreviewStylusInRange(StylusEventArgs) OnPreviewStylusInRange(StylusEventArgs)

當未處理的 PreviewStylusInRange 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusInRange attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusMove(StylusEventArgs) OnPreviewStylusMove(StylusEventArgs) OnPreviewStylusMove(StylusEventArgs) OnPreviewStylusMove(StylusEventArgs)

當未處理的 PreviewStylusMove 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusMove attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusOutOfRange(StylusEventArgs) OnPreviewStylusOutOfRange(StylusEventArgs) OnPreviewStylusOutOfRange(StylusEventArgs) OnPreviewStylusOutOfRange(StylusEventArgs)

當未處理的 PreviewStylusOutOfRange 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)

當未處理的 PreviewStylusSystemGesture 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewStylusUp(StylusEventArgs) OnPreviewStylusUp(StylusEventArgs) OnPreviewStylusUp(StylusEventArgs) OnPreviewStylusUp(StylusEventArgs)

當未處理的 PreviewStylusUp 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewStylusUp attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewTextInput(TextCompositionEventArgs) OnPreviewTextInput(TextCompositionEventArgs) OnPreviewTextInput(TextCompositionEventArgs) OnPreviewTextInput(TextCompositionEventArgs)

當未處理的 PreviewTextInput 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled PreviewTextInput attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnPreviewTouchDown(TouchEventArgs) OnPreviewTouchDown(TouchEventArgs) OnPreviewTouchDown(TouchEventArgs) OnPreviewTouchDown(TouchEventArgs)

提供 PreviewTouchDown 路由事件的類別處理,而這個事件會在觸控按下此項目時發生。Provides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element.

OnPreviewTouchMove(TouchEventArgs) OnPreviewTouchMove(TouchEventArgs) OnPreviewTouchMove(TouchEventArgs) OnPreviewTouchMove(TouchEventArgs)

提供 PreviewTouchMove 路由事件的類別處理,而這個事件會在觸控尚處於此項目內並有所移動時發生。Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element.

OnPreviewTouchUp(TouchEventArgs) OnPreviewTouchUp(TouchEventArgs) OnPreviewTouchUp(TouchEventArgs) OnPreviewTouchUp(TouchEventArgs)

提供 PreviewTouchUp 路由事件的類別處理,而這個事件會在觸控於此項目內放開時發生。Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.

OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs)

每當這個 DependencyObject 上任何相依性屬性的有效值已更新時叫用。Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. 已變更的特定相依性屬性會在事件資料中報告。The specific dependency property that changed is reported in the event data.

(Inherited from DependencyObject)
OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs)

當未處理的 QueryContinueDrag 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled QueryContinueDrag attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnQueryCursor(QueryCursorEventArgs) OnQueryCursor(QueryCursorEventArgs) OnQueryCursor(QueryCursorEventArgs) OnQueryCursor(QueryCursorEventArgs)

當未處理的 QueryCursor 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled QueryCursor attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnRender(DrawingContext) OnRender(DrawingContext) OnRender(DrawingContext) OnRender(DrawingContext)

在衍生類別中覆寫時,參與由配置系統導向的呈現作業。When overridden in a derived class, participates in rendering operations that are directed by the layout system. 這個項目的呈現指令不會在叫用此方法時直接使用,而是會加以保留,以便稍後由配置和繪圖做非同步使用。The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.

OnRenderSizeChanged(SizeChangedInfo) OnRenderSizeChanged(SizeChangedInfo) OnRenderSizeChanged(SizeChangedInfo) OnRenderSizeChanged(SizeChangedInfo)

在衍生類別中覆寫時,參與由配置系統導向的呈現作業。When overridden in a derived class, participates in rendering operations that are directed by the layout system. 如果項目的 RenderSize 因配置更新而改變,則會在版面配置更新之後,並在呈現前叫用這個方法。This method is invoked after layout update, and before rendering, if the element's RenderSize has changed as a result of layout update.

OnStylusButtonDown(StylusButtonEventArgs) OnStylusButtonDown(StylusButtonEventArgs) OnStylusButtonDown(StylusButtonEventArgs) OnStylusButtonDown(StylusButtonEventArgs)

當未處理的 StylusButtonDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusButtonDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusButtonUp(StylusButtonEventArgs) OnStylusButtonUp(StylusButtonEventArgs) OnStylusButtonUp(StylusButtonEventArgs) OnStylusButtonUp(StylusButtonEventArgs)

當未處理的 StylusButtonUp 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusButtonUp attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusDown(StylusDownEventArgs) OnStylusDown(StylusDownEventArgs) OnStylusDown(StylusDownEventArgs) OnStylusDown(StylusDownEventArgs)

當未處理的 StylusDown 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusDown attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusEnter(StylusEventArgs) OnStylusEnter(StylusEventArgs) OnStylusEnter(StylusEventArgs) OnStylusEnter(StylusEventArgs)

當這個項目引發未處理的 StylusEnter 附加事件時叫用。Invoked when an unhandled StylusEnter attached event is raised by this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusInAirMove(StylusEventArgs) OnStylusInAirMove(StylusEventArgs) OnStylusInAirMove(StylusEventArgs) OnStylusInAirMove(StylusEventArgs)

當未處理的 StylusInAirMove 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusInAirMove attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusInRange(StylusEventArgs) OnStylusInRange(StylusEventArgs) OnStylusInRange(StylusEventArgs) OnStylusInRange(StylusEventArgs)

當未處理的 StylusInRange 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusInRange attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusLeave(StylusEventArgs) OnStylusLeave(StylusEventArgs) OnStylusLeave(StylusEventArgs) OnStylusLeave(StylusEventArgs)

當這個項目引發未處理的 StylusLeave 附加事件時叫用。Invoked when an unhandled StylusLeave attached event is raised by this element. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusMove(StylusEventArgs) OnStylusMove(StylusEventArgs) OnStylusMove(StylusEventArgs) OnStylusMove(StylusEventArgs)

當未處理的 StylusMove 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusMove attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusOutOfRange(StylusEventArgs) OnStylusOutOfRange(StylusEventArgs) OnStylusOutOfRange(StylusEventArgs) OnStylusOutOfRange(StylusEventArgs)

當未處理的 StylusOutOfRange 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusOutOfRange attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusSystemGesture(StylusSystemGestureEventArgs) OnStylusSystemGesture(StylusSystemGestureEventArgs) OnStylusSystemGesture(StylusSystemGestureEventArgs) OnStylusSystemGesture(StylusSystemGestureEventArgs)

當未處理的 StylusSystemGesture 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusSystemGesture attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnStylusUp(StylusEventArgs) OnStylusUp(StylusEventArgs) OnStylusUp(StylusEventArgs) OnStylusUp(StylusEventArgs)

當未處理的 StylusUp 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled StylusUp attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnTextInput(TextCompositionEventArgs) OnTextInput(TextCompositionEventArgs) OnTextInput(TextCompositionEventArgs) OnTextInput(TextCompositionEventArgs)

當未處理的 TextInput 附加事件到達其路由中衍生自此類別的項目時叫用。Invoked when an unhandled TextInput attached event reaches an element in its route that is derived from this class. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

OnTouchDown(TouchEventArgs) OnTouchDown(TouchEventArgs) OnTouchDown(TouchEventArgs) OnTouchDown(TouchEventArgs)

提供 TouchDown 路由事件的類別處理,而這個事件會在觸控按下此項目內部時發生。Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element.

OnTouchEnter(TouchEventArgs) OnTouchEnter(TouchEventArgs) OnTouchEnter(TouchEventArgs) OnTouchEnter(TouchEventArgs)

提供 TouchEnter 路由事件的類別處理,而這個事件會在觸控從外面移至此項目範圍內時發生。Provides class handling for the TouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element.

OnTouchLeave(TouchEventArgs) OnTouchLeave(TouchEventArgs) OnTouchLeave(TouchEventArgs) OnTouchLeave(TouchEventArgs)

提供 TouchLeave 路由事件的類別處理,而這個事件會在觸控輸入從此 UIElement 內移至其範圍外時發生。Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this UIElement.

OnTouchMove(TouchEventArgs) OnTouchMove(TouchEventArgs) OnTouchMove(TouchEventArgs) OnTouchMove(TouchEventArgs)

提供 TouchMove 路由事件的類別處理,而這個事件會在觸控尚處於此項目內並有所移動時發生。Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.

OnTouchUp(TouchEventArgs) OnTouchUp(TouchEventArgs) OnTouchUp(TouchEventArgs) OnTouchUp(TouchEventArgs)

提供 TouchUp 路由事件的類別處理,而這個事件會在觸控於此項目內放開時發生。Provides class handling for the TouchUp routed event that occurs when a touch is released inside this element.

OnVisualChildrenChanged(DependencyObject, DependencyObject) OnVisualChildrenChanged(DependencyObject, DependencyObject) OnVisualChildrenChanged(DependencyObject, DependencyObject) OnVisualChildrenChanged(DependencyObject, DependencyObject)

當視覺物件的 VisualCollection 已修改時呼叫。Called when the VisualCollection of the visual object is modified.

(Inherited from Visual)
OnVisualParentChanged(DependencyObject) OnVisualParentChanged(DependencyObject) OnVisualParentChanged(DependencyObject) OnVisualParentChanged(DependencyObject)

當這個 UIElement 的父項目報告其基礎視覺化父項目的變更時叫用。Invoked when the parent element of this UIElement reports a change to its underlying visual parent.

PointFromScreen(Point) PointFromScreen(Point) PointFromScreen(Point) PointFromScreen(Point)

將螢幕座標中的 Point 轉換為 Point,表示 Visual 的目前座標系統。Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual.

(Inherited from Visual)
PointToScreen(Point) PointToScreen(Point) PointToScreen(Point) PointToScreen(Point)

將表示 Point 之目前座標系統的 Visual 轉換為螢幕座標中的 PointConverts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.

(Inherited from Visual)
PredictFocus(FocusNavigationDirection) PredictFocus(FocusNavigationDirection) PredictFocus(FocusNavigationDirection) PredictFocus(FocusNavigationDirection)

在衍生類別中覆寫時,傳回會針對指定之焦點周遊方向接收焦點的項目,而不用實際將焦點移至該項目。When overridden in a derived class, returns the element that would receive focus for a specified focus traversal direction, without actually moving focus to that element.

RaiseEvent(RoutedEventArgs) RaiseEvent(RoutedEventArgs) RaiseEvent(RoutedEventArgs) RaiseEvent(RoutedEventArgs)

引發特定路由事件。Raises a specific routed event. 要引發的 RoutedEvent 是在所提供的 RoutedEventArgs 執行個體內識別 (作為該事件資料的 RoutedEvent 屬性)。The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data).

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

傳回相依性屬性的區域值 (如果存在)。Returns the local value of a dependency property, if it exists.

(Inherited from DependencyObject)
ReleaseAllTouchCaptures() ReleaseAllTouchCaptures() ReleaseAllTouchCaptures() ReleaseAllTouchCaptures()

從這個項目釋放所有擷取到的觸控裝置。Releases all captured touch devices from this element.

ReleaseMouseCapture() ReleaseMouseCapture() ReleaseMouseCapture() ReleaseMouseCapture()

如果這個項目保有滑鼠捕捉,則釋放捕捉。Releases the mouse capture, if this element held the capture.

ReleaseStylusCapture() ReleaseStylusCapture() ReleaseStylusCapture() ReleaseStylusCapture()

如果這個項目保有手寫筆裝置捕捉,則釋放捕捉。Releases the stylus device capture, if this element held the capture.

ReleaseTouchCapture(TouchDevice) ReleaseTouchCapture(TouchDevice) ReleaseTouchCapture(TouchDevice) ReleaseTouchCapture(TouchDevice)

嘗試從這個項目中釋放指定的觸控裝置。Attempts to release the specified touch device from this element.

RemoveHandler(RoutedEvent, Delegate) RemoveHandler(RoutedEvent, Delegate) RemoveHandler(RoutedEvent, Delegate) RemoveHandler(RoutedEvent, Delegate)

從這個項目中移除指定的路由事件處理常式。Removes the specified routed event handler from this element.

RemoveVisualChild(Visual) RemoveVisualChild(Visual) RemoveVisualChild(Visual) RemoveVisualChild(Visual)

移除兩個視覺物件之間的父-子關係。Removes the parent-child relationship between two visuals.

(Inherited from Visual)
SetCurrentValue(DependencyProperty, Object) SetCurrentValue(DependencyProperty, Object) SetCurrentValue(DependencyProperty, Object) SetCurrentValue(DependencyProperty, Object)

設定相依性屬性的值,而不需要變更其值來源。Sets the value of a dependency property without changing its value source.

(Inherited from DependencyObject)
SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object)

設定相依性屬性的區域值 (由相依性屬性的識別碼所指定)。Sets the local value of a dependency property, specified by its dependency property identifier.

(Inherited from DependencyObject)
SetValue(DependencyPropertyKey, Object) SetValue(DependencyPropertyKey, Object) SetValue(DependencyPropertyKey, Object) SetValue(DependencyPropertyKey, Object)

設定唯讀相依性屬性的區域數值 (由相依性屬性的 DependencyPropertyKey 識別項所指定)。Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.

(Inherited from DependencyObject)
ShouldSerializeCommandBindings() ShouldSerializeCommandBindings() ShouldSerializeCommandBindings() ShouldSerializeCommandBindings()

傳回序列化 (Serialization) 處理序是否應該在這個類別的執行個體上,將 CommandBindings 屬性的內容序列化。Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class.

ShouldSerializeInputBindings() ShouldSerializeInputBindings() ShouldSerializeInputBindings() ShouldSerializeInputBindings()

傳回序列化 (Serialization) 處理序是否應該在這個類別的執行個體上,將 InputBindings 屬性的內容序列化。Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class.

ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty)

傳回值,這個值表示序列化程序是否應該序列化所提供相依性屬性的值。Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

(Inherited from DependencyObject)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)
TransformToAncestor(Visual) TransformToAncestor(Visual) TransformToAncestor(Visual) TransformToAncestor(Visual)

傳回轉換,這個轉換可用來將 Visual 的座標轉換為視覺物件的指定 Visual 祖系。Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object.

(Inherited from Visual)
TransformToAncestor(Visual3D) TransformToAncestor(Visual3D) TransformToAncestor(Visual3D) TransformToAncestor(Visual3D)

傳回轉換,這個轉換可用來將 Visual 的座標轉換為視覺物件的指定 Visual3D 祖系。Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object.

(Inherited from Visual)
TransformToDescendant(Visual) TransformToDescendant(Visual) TransformToDescendant(Visual) TransformToDescendant(Visual)

傳回轉換,這個轉換可用來將 Visual 的座標轉換為指定的視覺物件子系。Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant.

(Inherited from Visual)
TransformToVisual(Visual) TransformToVisual(Visual) TransformToVisual(Visual) TransformToVisual(Visual)

傳回轉換,這個轉換可用來將 Visual 的座標轉換為指定的視覺物件。Returns a transform that can be used to transform coordinates from the Visual to the specified visual object.

(Inherited from Visual)
TranslatePoint(Point, UIElement) TranslatePoint(Point, UIElement) TranslatePoint(Point, UIElement) TranslatePoint(Point, UIElement)

將相對於這個項目的點轉換成相對於指定項目的座標。Translates a point relative to this element to coordinates that are relative to the specified element.

UpdateLayout() UpdateLayout() UpdateLayout() UpdateLayout()

確認這個項目的所有視覺化子項目都已正確為配置而更新。Ensures that all visual child elements of this element are properly updated for layout.

VerifyAccess() VerifyAccess() VerifyAccess() VerifyAccess()

強制執行呼叫的執行緒可以存取這個DispatcherObjectEnforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

事件

DragEnter DragEnter DragEnter DragEnter

輸入系統報告其下以此項目作為拖曳目標的拖曳事件時發生。Occurs when the input system reports an underlying drag event with this element as the drag target.

DragLeave DragLeave DragLeave DragLeave

輸入系統報告其下以此項目作為拖曳來源的拖曳事件時發生。Occurs when the input system reports an underlying drag event with this element as the drag origin.

DragOver DragOver DragOver DragOver

在輸入系統回報以此項目作為可能置放目標的基礎拖曳事件時發生。Occurs when the input system reports an underlying drag event with this element as the potential drop target.

Drop Drop Drop Drop

輸入系統報告其下以這個項目作為置放目標的置放事件時發生。Occurs when the input system reports an underlying drop event with this element as the drop target.

FocusableChanged FocusableChanged FocusableChanged FocusableChanged

發生於 Focusable 屬性的值變更時。Occurs when the value of the Focusable property changes.

GiveFeedback GiveFeedback GiveFeedback GiveFeedback

輸入系統報告其下牽涉此元素的拖放事件時發生。Occurs when the input system reports an underlying drag-and-drop event that involves this element.

GotFocus GotFocus GotFocus GotFocus

此元素取得邏輯焦點時發生。Occurs when this element gets logical focus.

GotKeyboardFocus GotKeyboardFocus GotKeyboardFocus GotKeyboardFocus

鍵盤以此元素為焦點時發生。Occurs when the keyboard is focused on this element.

GotMouseCapture GotMouseCapture GotMouseCapture GotMouseCapture

此元素擷取滑鼠時發生。Occurs when this element captures the mouse.

GotStylusCapture GotStylusCapture GotStylusCapture GotStylusCapture

此元素擷取手寫筆時發生。Occurs when this element captures the stylus.

GotTouchCapture GotTouchCapture GotTouchCapture GotTouchCapture

當觸控擷取至這個項目時發生。Occurs when a touch is captured to this element.

IsEnabledChanged IsEnabledChanged IsEnabledChanged IsEnabledChanged

當這個項目的 IsEnabled 屬性值變更時發生。Occurs when the value of the IsEnabled property on this element changes.

IsHitTestVisibleChanged IsHitTestVisibleChanged IsHitTestVisibleChanged IsHitTestVisibleChanged

當這個項目的 IsHitTestVisible 相依性屬性值變更時發生。Occurs when the value of the IsHitTestVisible dependency property changes on this element.

IsKeyboardFocusedChanged IsKeyboardFocusedChanged IsKeyboardFocusedChanged IsKeyboardFocusedChanged

當這個項目的 IsKeyboardFocused 屬性值變更時發生。Occurs when the value of the IsKeyboardFocused property changes on this element.

IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged

當這個項目的 IsKeyboardFocusWithinChanged 屬性值變更時發生。Occurs when the value of the IsKeyboardFocusWithinChanged property changes on this element.

IsMouseCapturedChanged IsMouseCapturedChanged IsMouseCapturedChanged IsMouseCapturedChanged

當這個項目的 IsMouseCaptured 屬性值變更時發生。Occurs when the value of the IsMouseCaptured property changes on this element.

IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged

當這個項目的 IsMouseCaptureWithinProperty 值變更時發生。Occurs when the value of the IsMouseCaptureWithinProperty changes on this element.

IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged

當這個項目的 IsMouseDirectlyOver 屬性值變更時發生。Occurs when the value of the IsMouseDirectlyOver property changes on this element.

IsStylusCapturedChanged IsStylusCapturedChanged IsStylusCapturedChanged IsStylusCapturedChanged

當這個項目的 IsStylusCaptured 屬性值變更時發生。Occurs when the value of the IsStylusCaptured property changes on this element.

IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged

當這個項目的 IsStylusCaptureWithin 屬性值變更時發生。Occurs when the value of the IsStylusCaptureWithin property changes on this element.

IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged

當這個項目的 IsStylusDirectlyOver 屬性值變更時發生。Occurs when the value of the IsStylusDirectlyOver property changes on this element.

IsVisibleChanged IsVisibleChanged IsVisibleChanged IsVisibleChanged

當這個項目的 IsVisible 屬性值變更時發生。Occurs when the value of the IsVisible property changes on this element.

KeyDown KeyDown KeyDown KeyDown

焦點在這個項目上方且按下按鍵時發生。Occurs when a key is pressed while focus is on this element.

KeyUp KeyUp KeyUp KeyUp

焦點在這個項目上方且放開按鍵時發生。Occurs when a key is released while focus is on this element.

LayoutUpdated LayoutUpdated LayoutUpdated LayoutUpdated

當目前 Dispatcher 的數個關聯視覺化項目的配置變更時發生。Occurs when the layout of the various visual elements associated with the current Dispatcher changes.

LostFocus LostFocus LostFocus LostFocus

此元素失去邏輯焦點時發生。Occurs when this element loses logical focus.

LostKeyboardFocus LostKeyboardFocus LostKeyboardFocus LostKeyboardFocus

鍵盤不再以此項目為焦點時發生。Occurs when the keyboard is no longer focused on this element,.

LostMouseCapture LostMouseCapture LostMouseCapture LostMouseCapture

此元素失去滑鼠擷取時發生。Occurs when this element loses mouse capture.

LostStylusCapture LostStylusCapture LostStylusCapture LostStylusCapture

此元素失去手寫筆擷取時發生。Occurs when this element loses stylus capture.

LostTouchCapture LostTouchCapture LostTouchCapture LostTouchCapture

當這個項目失去觸控擷取時發生。Occurs when this element loses a touch capture.

ManipulationBoundaryFeedback ManipulationBoundaryFeedback ManipulationBoundaryFeedback ManipulationBoundaryFeedback

當操作遇到界限時發生。Occurs when the manipulation encounters a boundary.

ManipulationCompleted ManipulationCompleted ManipulationCompleted ManipulationCompleted

當對 UIElement 物件進行的操作和慣性完成時發生。Occurs when a manipulation and inertia on the UIElement object is complete.

ManipulationDelta ManipulationDelta ManipulationDelta ManipulationDelta

輸入裝置在操作期間變更位置時發生。Occurs when the input device changes position during a manipulation.

ManipulationInertiaStarting ManipulationInertiaStarting ManipulationInertiaStarting ManipulationInertiaStarting

當輸入裝置在操作期間失去和 UIElement 物件的通訊以及慣性開始時發生。Occurs when the input device loses contact with the UIElement object during a manipulation and inertia begins.

ManipulationStarted ManipulationStarted ManipulationStarted ManipulationStarted

當輸入裝置開始對 UIElement 物件進行操作時發生。Occurs when an input device begins a manipulation on the UIElement object.

ManipulationStarting ManipulationStarting ManipulationStarting ManipulationStarting

發生於第一次建立操作處理器時。Occurs when the manipulation processor is first created.

MouseDown MouseDown MouseDown MouseDown

指標在此元素上方且按下任何滑鼠按鈕時發生。Occurs when any mouse button is pressed while the pointer is over this element.

MouseEnter MouseEnter MouseEnter MouseEnter

滑鼠指標進入此元素的邊界時發生。Occurs when the mouse pointer enters the bounds of this element.

MouseLeave MouseLeave MouseLeave MouseLeave

滑鼠指標離開此元素的邊界時發生。Occurs when the mouse pointer leaves the bounds of this element.

MouseLeftButtonDown MouseLeftButtonDown MouseLeftButtonDown MouseLeftButtonDown

滑鼠指標在此元素上方且按下滑鼠左按鈕時發生。Occurs when the left mouse button is pressed while the mouse pointer is over this element.

MouseLeftButtonUp MouseLeftButtonUp MouseLeftButtonUp MouseLeftButtonUp

滑鼠指標在此元素上方且放開滑鼠左按鈕時發生。Occurs when the left mouse button is released while the mouse pointer is over this element.

MouseMove MouseMove MouseMove MouseMove

滑鼠指標在此元素上方移動時發生。Occurs when the mouse pointer moves while over this element.

MouseRightButtonDown MouseRightButtonDown MouseRightButtonDown MouseRightButtonDown

滑鼠指標在此元素上方且按下滑鼠右按鈕時發生。Occurs when the right mouse button is pressed while the mouse pointer is over this element.

MouseRightButtonUp MouseRightButtonUp MouseRightButtonUp MouseRightButtonUp

滑鼠指標在此元素上方且放開滑鼠右按鈕時發生。Occurs when the right mouse button is released while the mouse pointer is over this element.

MouseUp MouseUp MouseUp MouseUp

在此元素上方放開任何滑鼠按鈕時發生。Occurs when any mouse button is released over this element.

MouseWheel MouseWheel MouseWheel MouseWheel

滑鼠指標在此元素上方且使用者滾動滑鼠滾輪時發生。Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

PreviewDragEnter PreviewDragEnter PreviewDragEnter PreviewDragEnter

輸入系統報告其下以此項目作為拖曳目標的拖曳事件時發生。Occurs when the input system reports an underlying drag event with this element as the drag target.

PreviewDragLeave PreviewDragLeave PreviewDragLeave PreviewDragLeave

輸入系統報告其下以此項目作為拖曳來源的拖曳事件時發生。Occurs when the input system reports an underlying drag event with this element as the drag origin.

PreviewDragOver PreviewDragOver PreviewDragOver PreviewDragOver

在輸入系統回報以此項目作為可能置放目標的基礎拖曳事件時發生。Occurs when the input system reports an underlying drag event with this element as the potential drop target.

PreviewDrop PreviewDrop PreviewDrop PreviewDrop

輸入系統報告其下以這個項目作為置放目標的置放事件時發生。Occurs when the input system reports an underlying drop event with this element as the drop target.

PreviewGiveFeedback PreviewGiveFeedback PreviewGiveFeedback PreviewGiveFeedback

拖放操作開始時發生。Occurs when a drag-and-drop operation is started.

PreviewGotKeyboardFocus PreviewGotKeyboardFocus PreviewGotKeyboardFocus PreviewGotKeyboardFocus

鍵盤以此元素為焦點時發生。Occurs when the keyboard is focused on this element.

PreviewKeyDown PreviewKeyDown PreviewKeyDown PreviewKeyDown

焦點在這個項目上方且按下按鍵時發生。Occurs when a key is pressed while focus is on this element.

PreviewKeyUp PreviewKeyUp PreviewKeyUp PreviewKeyUp

焦點在這個項目上方且放開按鍵時發生。Occurs when a key is released while focus is on this element.

PreviewLostKeyboardFocus PreviewLostKeyboardFocus PreviewLostKeyboardFocus PreviewLostKeyboardFocus

鍵盤不再以此元素為焦點時發生。Occurs when the keyboard is no longer focused on this element.

PreviewMouseDown PreviewMouseDown PreviewMouseDown PreviewMouseDown

指標在此元素上方且按下任何滑鼠按鈕時發生。Occurs when any mouse button is pressed while the pointer is over this element.

PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown

滑鼠指標在此元素上方且按下滑鼠左按鈕時發生。Occurs when the left mouse button is pressed while the mouse pointer is over this element.

PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp

滑鼠指標在此元素上方且放開滑鼠左按鈕時發生。Occurs when the left mouse button is released while the mouse pointer is over this element.

PreviewMouseMove PreviewMouseMove PreviewMouseMove PreviewMouseMove

滑鼠指標在此元素上方且移動滑鼠指標時發生。Occurs when the mouse pointer moves while the mouse pointer is over this element.

PreviewMouseRightButtonDown PreviewMouseRightButtonDown PreviewMouseRightButtonDown PreviewMouseRightButtonDown

滑鼠指標在此元素上方且按下滑鼠右按鈕時發生。Occurs when the right mouse button is pressed while the mouse pointer is over this element.

PreviewMouseRightButtonUp PreviewMouseRightButtonUp PreviewMouseRightButtonUp PreviewMouseRightButtonUp

滑鼠指標在此元素上方且放開滑鼠右按鈕時發生。Occurs when the right mouse button is released while the mouse pointer is over this element.

PreviewMouseUp PreviewMouseUp PreviewMouseUp PreviewMouseUp

滑鼠指標在此元素上方且放開任何滑鼠按鈕時發生。Occurs when any mouse button is released while the mouse pointer is over this element.

PreviewMouseWheel PreviewMouseWheel PreviewMouseWheel PreviewMouseWheel

滑鼠指標在此元素上方且使用者滾動滑鼠滾輪時發生。Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

PreviewQueryContinueDrag PreviewQueryContinueDrag PreviewQueryContinueDrag PreviewQueryContinueDrag

拖放操作期間,鍵盤或滑鼠按鈕狀態變更時發生。Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown

手寫筆指標在此元素上方且按下手寫筆按鈕時發生。Occurs when the stylus button is pressed while the pointer is over this element.

PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp

手寫筆指標在此元素上方且放開手寫筆按鈕時發生。Occurs when the stylus button is released while the pointer is over this element.

PreviewStylusDown PreviewStylusDown PreviewStylusDown PreviewStylusDown

手寫筆在此項目上方且碰觸數位板時發生。Occurs when the stylus touches the digitizer while it is over this element.

PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove

手寫筆在項目上方移動,但沒有真正碰觸數位板時發生。Occurs when the stylus moves over an element without actually touching the digitizer.

PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange

手寫筆在此項目上方,且夠靠近數位板而被偵測到時發生。Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

PreviewStylusMove PreviewStylusMove PreviewStylusMove PreviewStylusMove

手寫筆在項目上方移動時發生。Occurs when the stylus moves while over the element. 手寫筆必須在受到數位板偵測時移動才能引發此事件,否則會改為引發 PreviewStylusInAirMoveThe stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead.

PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange

手寫筆遠離數位板而無法被偵測到時發生。Occurs when the stylus is too far from the digitizer to be detected.

PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture

使用者執行其中一種手寫筆筆勢時發生。Occurs when a user performs one of several stylus gestures.

PreviewStylusUp PreviewStylusUp PreviewStylusUp PreviewStylusUp

手寫筆在此項目上方,且使用者將手寫筆舉起離開數位板時發生。Occurs when the user raises the stylus off the digitizer while the stylus is over this element.

PreviewTextInput PreviewTextInput PreviewTextInput PreviewTextInput

此元素以一種與裝置無關的方式取得文字時發生。Occurs when this element gets text in a device-independent manner.

PreviewTouchDown PreviewTouchDown PreviewTouchDown PreviewTouchDown

手指在這個項目上方且在螢幕上觸控時發生。Occurs when a finger touches the screen while the finger is over this element.

PreviewTouchMove PreviewTouchMove PreviewTouchMove PreviewTouchMove

手指在這個項目上方且在螢幕上移動時發生。Occurs when a finger moves on the screen while the finger is over this element.

PreviewTouchUp PreviewTouchUp PreviewTouchUp PreviewTouchUp

手指在這個項目上方且離開螢幕時發生。Occurs when a finger is raised off of the screen while the finger is over this element.

QueryContinueDrag QueryContinueDrag QueryContinueDrag QueryContinueDrag

拖放操作期間,鍵盤或滑鼠按鈕狀態變更時發生。Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

QueryCursor QueryCursor QueryCursor QueryCursor

要求顯示游標時發生。Occurs when the cursor is requested to display. 每當滑鼠指標移動至新位置時,都會引發此事件,這意謂游標物件可能會根據其新位置而變更。This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position.

StylusButtonDown StylusButtonDown StylusButtonDown StylusButtonDown

手寫筆指標在此元素上方且按下手寫筆按鈕時發生。Occurs when the stylus button is pressed while the pointer is over this element.

StylusButtonUp StylusButtonUp StylusButtonUp StylusButtonUp

手寫筆指標在此元素上方且放開手寫筆按鈕時發生。Occurs when the stylus button is released while the pointer is over this element.

StylusDown StylusDown StylusDown StylusDown

手寫筆在此項目上方且碰觸數位板時發生。Occurs when the stylus touches the digitizer while the stylus is over this element.

StylusEnter StylusEnter StylusEnter StylusEnter

手寫筆進入此元素的邊界時發生。Occurs when the stylus enters the bounds of this element.

StylusInAirMove StylusInAirMove StylusInAirMove StylusInAirMove

手寫筆在項目上方移動,但沒有真正碰觸數位板時發生。Occurs when the stylus moves over an element without actually touching the digitizer.

StylusInRange StylusInRange StylusInRange StylusInRange

手寫筆在此項目上方,且夠靠近數位板而被偵測到時發生。Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

StylusLeave StylusLeave StylusLeave StylusLeave

手寫筆離開元素的邊界時發生。Occurs when the stylus leaves the bounds of the element.

StylusMove StylusMove StylusMove StylusMove

當手寫筆移至此項目上方時發生。Occurs when the stylus moves over this element. 手寫筆在數位板上必須移動才會引發這個事件。The stylus must move while on the digitizer to raise this event. 否則,會改為引發 StylusInAirMoveOtherwise, StylusInAirMove is raised instead.

StylusOutOfRange StylusOutOfRange StylusOutOfRange StylusOutOfRange

手寫筆在此項目上方,且遠離數位板而無法被偵測到時發生。Occurs when the stylus is too far from the digitizer to be detected, while over this element.

StylusSystemGesture StylusSystemGesture StylusSystemGesture StylusSystemGesture

使用者執行其中一種手寫筆筆勢時發生。Occurs when a user performs one of several stylus gestures.

StylusUp StylusUp StylusUp StylusUp

手寫筆在此項目上方,且使用者將手寫筆舉起離開數位板時發生。Occurs when the user raises the stylus off the digitizer while it is over this element.

TextInput TextInput TextInput TextInput

此元素以一種與裝置無關的方式取得文字時發生。Occurs when this element gets text in a device-independent manner.

TouchDown TouchDown TouchDown TouchDown

手指在這個項目上方且在螢幕上觸控時發生。Occurs when a finger touches the screen while the finger is over this element.

TouchEnter TouchEnter TouchEnter TouchEnter

當觸控從這個項目的界限外部移至內部時發生。Occurs when a touch moves from outside to inside the bounds of this element.

TouchLeave TouchLeave TouchLeave TouchLeave

當觸控從這個項目的界限內部移至外部時發生。Occurs when a touch moves from inside to outside the bounds of this element.

TouchMove TouchMove TouchMove TouchMove

手指在這個項目上方且在螢幕上移動時發生。Occurs when a finger moves on the screen while the finger is over this element.

TouchUp TouchUp TouchUp TouchUp

手指在這個項目上方且離開螢幕時發生。Occurs when a finger is raised off of the screen while the finger is over this element.

適用於