FixedDocumentSequence FixedDocumentSequence FixedDocumentSequence FixedDocumentSequence Class

定義

裝載一或多個 DocumentReference 項目,這些項目定義一系列固定格式文件。Hosts one or more DocumentReference elements that define a sequence of fixed documents.

public ref class FixedDocumentSequence : System::Windows::FrameworkContentElement, IServiceProvider, System::Windows::Documents::IDocumentPaginatorSource, System::Windows::Markup::IUriContext
[System.Windows.Markup.ContentProperty("References")]
public class FixedDocumentSequence : System.Windows.FrameworkContentElement, IServiceProvider, System.Windows.Documents.IDocumentPaginatorSource, System.Windows.Markup.IUriContext
type FixedDocumentSequence = class
    inherit FrameworkContentElement
    interface IDocumentPaginatorSource
    interface IAddChild
    interface IServiceProvider
    interface IUriContext
Public Class FixedDocumentSequence
Inherits FrameworkContentElement
Implements IDocumentPaginatorSource, IServiceProvider, IUriContext
繼承
屬性
實作

範例

下列範例示範如何使用FixedDocumentSequence GetFixedDocumentSequence方法來取得XpsDocument的。The following example show how to obtain the FixedDocumentSequence of an XpsDocument by use of the GetFixedDocumentSequence method.

// ------------------------- LoadDocumentViewer -----------------------
/// <summary>
///   Loads content from a file to a DocumentViewer control.</summary>
/// <param name="xpsFilename">
///   The path and name of the XPS file to
///   load to the DocumentViewer control.</param>
/// <remarks>
///   Exception handling should be added if the xpsFilename may not be
///   valid or if the FixedDocumentSequence contained in the file is
///   incorrect.  (In this sample the files are hardcoded.)</remarks>
private void LoadDocumentViewer(string xpsFilename)
{
    // Save a reference to the currently open XPS package.
    XpsDocument oldXpsPackage = _xpsPackage;

    // Open the package for the new XPS document.
    _xpsPackage = new XpsDocument(xpsFilename,
        FileAccess.Read, CompressionOption.NotCompressed);

    // Get the FixedDocumentSequence from the package.
    FixedDocumentSequence fixedDocumentSequence =
        _xpsPackage.GetFixedDocumentSequence();

    // Set the new FixedDocumentSequence as
    // the DocumentViewer's paginator source.
    docViewer.Document =
        fixedDocumentSequence as IDocumentPaginatorSource;

    // If there was an old XPS package, close it now that
    // DocumentViewer no longer needs to access it.
    if (oldXpsPackage != null)
        oldXpsPackage.Close();

    // Leave the new _xpsPackage open for DocumentViewer
    // to access additional required resources.

}// end:LoadDocumentViewer()
' ------------------------- LoadDocumentViewer -----------------------
''' <summary>
'''   Loads content from a file to a DocumentViewer control.</summary>
''' <param name="xpsFilename">
'''   The path and name of the XPS file to
'''   load to the DocumentViewer control.</param>
''' <remarks>
'''   Exception handling should be added if the xpsFilename may not be
'''   valid or if the FixedDocumentSequence contained in the file is
'''   incorrect.  (In this sample the files are hardcoded.)</remarks>
Private Sub LoadDocumentViewer(ByVal xpsFilename As String)
    ' Save a reference to the currently open XPS package.
    Dim oldXpsPackage As XpsDocument = _xpsPackage

    ' Open the package for the new XPS document.
    _xpsPackage = New XpsDocument(xpsFilename, FileAccess.Read, CompressionOption.NotCompressed)

    ' Get the FixedDocumentSequence from the package.
    Dim fixedDocumentSequence As FixedDocumentSequence = _xpsPackage.GetFixedDocumentSequence()

    ' Set the new FixedDocumentSequence as
    ' the DocumentViewer's paginator source.
    docViewer.Document = TryCast(fixedDocumentSequence, IDocumentPaginatorSource)

    ' If there was an old XPS package, close it now that
    ' DocumentViewer no longer needs to access it.
    If oldXpsPackage IsNot Nothing Then
        oldXpsPackage.Close()
    End If

    ' Leave the new _xpsPackage open for DocumentViewer
    ' to access additional required resources.

End Sub

備註

FixedDocumentSequence裝載一或多個固定檔的排序次序, 並組織成單一單位。FixedDocumentSequence hosts an ordered sequence of one or more fixed documents that are organized as a single unit.

DocumentReference是中FixedDocumentSequence唯一允許的子項目。DocumentReference is the only allowable child element in a FixedDocumentSequence. DocumentReference個都是指FixedDocument單一。Each DocumentReference refers to a single FixedDocument. 檔參考專案必須按照順序排列, 以符合固定檔的處理順序。Document reference elements must be in sequential order, matching the order in which the fixed documents are processed.

包含DocumentReference 在中References的元素集合可以使用屬性來取得。FixedDocumentSequenceA collection of the DocumentReference elements contained in a FixedDocumentSequence can be obtained using the References property.

建構函式

FixedDocumentSequence() FixedDocumentSequence() FixedDocumentSequence() FixedDocumentSequence()

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

欄位

PrintTicketProperty PrintTicketProperty PrintTicketProperty PrintTicketProperty

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

屬性

AllowDrop AllowDrop AllowDrop AllowDrop

取得或設定值,這個值表示此項目是否可以用來做為拖放作業的目標。Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation.

(Inherited from ContentElement)
AreAnyTouchesCaptured AreAnyTouchesCaptured AreAnyTouchesCaptured AreAnyTouchesCaptured

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
BindingGroup BindingGroup BindingGroup BindingGroup

取得或設定用於項目的 BindingGroupGets or sets the BindingGroup that is used for the element.

(Inherited from FrameworkContentElement)
CommandBindings CommandBindings CommandBindings CommandBindings

取得與這個項目關聯之 CommandBinding 物件的集合。Gets a collection of CommandBinding objects that are associated with this element.

(Inherited from ContentElement)
ContextMenu ContextMenu ContextMenu ContextMenu

取得或設定內容功能表項目,該項目應該在每當從這個項目內透過使用者介面 (UI)user interface (UI) 要求內容功能表時出現。Gets or sets the context menu element that should appear whenever the context menu is requested via 使用者介面 (UI)user interface (UI) from within this element.

(Inherited from FrameworkContentElement)
Cursor Cursor Cursor Cursor

取得或設定滑鼠指標在此元素上方時所顯示的游標。Gets or sets the cursor that displays when the mouse pointer is over this element.

(Inherited from FrameworkContentElement)
DataContext DataContext DataContext DataContext

取得或設定項目在參與資料繫結時的資料內容。Gets or sets the data context for an element when it participates in data binding.

(Inherited from FrameworkContentElement)
DefaultStyleKey DefaultStyleKey DefaultStyleKey DefaultStyleKey

取得或設定索引鍵,以用來在佈景主題中尋找這個控制項的樣式樣板。Gets or sets the key to use to find the style template for this control in themes.

(Inherited from FrameworkContentElement)
DependencyObjectType DependencyObjectType DependencyObjectType DependencyObjectType

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

(Inherited from DependencyObject)
Dispatcher Dispatcher Dispatcher Dispatcher

取得與這個 Dispatcher 關聯的 DispatcherObjectGets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
DocumentPaginator DocumentPaginator DocumentPaginator DocumentPaginator

取得 FixedDocument 的分頁符號,此分頁符號提供分頁導向服務,例如取得特定頁面及重新分頁以回應變更。Gets the paginator for the FixedDocument that provides page-oriented services such as getting a particular page and repaginating in response to changes.

Focusable Focusable Focusable Focusable

取得或設定元素是否能夠接收焦點的值。Gets or sets a value that indicates whether the element can receive focus.

(Inherited from ContentElement)
FocusVisualStyle FocusVisualStyle FocusVisualStyle FocusVisualStyle

取得或設定物件,這個物件可自訂外觀、效果或其他樣式特性,以在這個項目捕捉到鍵盤焦點時套用至此項目。Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus.

(Inherited from FrameworkContentElement)
ForceCursor ForceCursor ForceCursor ForceCursor

取得或設定值,這個值表示此 FrameworkContentElement 是否應強制使用者介面 (UI)user interface (UI) 呈現游標,如這個執行個體的 Cursor 屬性所宣告。Gets or sets a value indicating whether this FrameworkContentElement should force the 使用者介面 (UI)user interface (UI) to render the cursor as declared by this instance's Cursor property.

(Inherited from FrameworkContentElement)
HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties

取得值,指出這個項目是否有任何動畫屬性。Gets a value that indicates whether this element has any animated properties.

(Inherited from ContentElement)
InputBindings InputBindings InputBindings InputBindings

取得與這個項目關聯的輸入繫結集合。Gets the collection of input bindings that are associated with this element.

(Inherited from ContentElement)
InputScope InputScope InputScope InputScope

取得或設定此 FrameworkContentElement 使用的輸入內容。Gets or sets the context for input used by this FrameworkContentElement.

(Inherited from FrameworkContentElement)
IsEnabled IsEnabled IsEnabled IsEnabled

取得或設定值,這個值表示這個項目是否已在 使用者介面 (UI)user interface (UI) 中啟用。Gets or sets a value that indicates whether this element is enabled in the 使用者介面 (UI)user interface (UI).

(Inherited from ContentElement)
IsEnabledCore IsEnabledCore IsEnabledCore IsEnabledCore

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

(Inherited from ContentElement)
IsFocused IsFocused IsFocused IsFocused

取得值,決定這個項目是否具有邏輯焦點。Gets a value that determines whether this element has logical focus.

(Inherited from ContentElement)
IsInitialized IsInitialized IsInitialized IsInitialized

取得值,這個值表示此項目是否已初始化,初始化方式可能是當做Extensible Application Markup Language (XAML)Extensible Application Markup Language (XAML) 載入,或明確地呼叫其 EndInit() 方法。Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML)Extensible Application Markup Language (XAML), or by explicitly having its EndInit() method called.

(Inherited from FrameworkContentElement)
IsInputMethodEnabled IsInputMethodEnabled IsInputMethodEnabled IsInputMethodEnabled

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

(Inherited from ContentElement)
IsKeyboardFocused IsKeyboardFocused IsKeyboardFocused IsKeyboardFocused

取得值,指出這個項目是否具有鍵盤焦點。Gets a value that indicates whether this element has keyboard focus.

(Inherited from ContentElement)
IsKeyboardFocusWithin IsKeyboardFocusWithin IsKeyboardFocusWithin IsKeyboardFocusWithin

取得值,這個值表示鍵盤焦點是否在項目內或子項目內的任意處。Gets a value that indicates whether keyboard focus is anywhere within the element or child elements.

(Inherited from ContentElement)
IsLoaded IsLoaded IsLoaded IsLoaded

取得值,這個值表示此項目是否已載入以供展示。Gets a value indicating whether this element has been loaded for presentation.

(Inherited from FrameworkContentElement)
IsMouseCaptured IsMouseCaptured IsMouseCaptured IsMouseCaptured

取得值,這個值表示滑鼠是否由這個項目所捕捉。Gets a value that indicates whether the mouse is captured by this element.

(Inherited from ContentElement)
IsMouseCaptureWithin IsMouseCaptureWithin IsMouseCaptureWithin IsMouseCaptureWithin

取得值,決定滑鼠捕捉是否由這個項目或其項目樹狀結構中的子項目所保留。Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
IsMouseOver IsMouseOver IsMouseOver IsMouseOver

取得值,這個值表示滑鼠指標是否位於這個項目上方 (包括視覺子項目或其複合控制項)。Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing).

(Inherited from ContentElement)
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 that indicates whether the stylus is captured to this element.

(Inherited from ContentElement)
IsStylusCaptureWithin IsStylusCaptureWithin IsStylusCaptureWithin IsStylusCaptureWithin

取得值,這個值決定手寫筆捕捉是否由這個項目 (包括子項目和複合控制項) 保有。Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing.

(Inherited from ContentElement)
IsStylusDirectlyOver IsStylusDirectlyOver IsStylusDirectlyOver IsStylusDirectlyOver

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

(Inherited from ContentElement)
IsStylusOver IsStylusOver IsStylusOver IsStylusOver

取得值,這個值表示手寫筆是否位於這個項目上方 (包括視覺化子項目)。Gets a value that indicates whether the stylus is located over this element (including visual child elements).

(Inherited from ContentElement)
Language Language Language Language

取得或設定套用至個別項目的當地語系化/全球化語言資訊。Gets or sets localization/globalization language information that applies to an individual element.

(Inherited from FrameworkContentElement)
LogicalChildren LogicalChildren LogicalChildren LogicalChildren

取得列舉值,用於存取文件序列的 DocumentReference 子項目。Gets an enumerator for accessing the document sequence's DocumentReference child elements.

Name Name Name Name

取得或設定項目的識別名稱。Gets or sets the identifying name of the element. 此名稱提供執行個體參考,以便程式設計的程式碼後置 (例如事件處理常式程式碼) 可以在 XAMLXAML 剖析期間建構之後參考項目。The name provides an instance reference so that programmatic code-behind, such as event handler code, can refer to an element once it is constructed during parsing of XAMLXAML.

(Inherited from FrameworkContentElement)
OverridesDefaultStyle OverridesDefaultStyle OverridesDefaultStyle OverridesDefaultStyle

取得或設定值,這個值表示此項目是否會併入佈景主題樣式中的樣式屬性。Gets or sets a value indicating whether this element incorporates style properties from theme styles.

(Inherited from FrameworkContentElement)
Parent Parent Parent Parent

取得此項目之邏輯樹狀中的父代。Gets the parent in the logical tree for this element.

(Inherited from FrameworkContentElement)
PrintTicket PrintTicket PrintTicket PrintTicket

取得或設定與此文件序列關聯的 PrintTicketGets or sets the PrintTicket that is associated with this document sequence.

References References References References

取得文件序列之 DocumentReference 子項目的集合。Gets a collection of the document sequence's DocumentReference child elements.

Resources Resources Resources Resources

取得或設定目前本機定義的資源字典。Gets or sets the current locally-defined resource dictionary.

(Inherited from FrameworkContentElement)
Style Style Style Style

取得或設定這個項目要使用的樣式。Gets or sets the style to be used by this element.

(Inherited from FrameworkContentElement)
Tag Tag Tag Tag

取得或設定可以用來儲存關於此元素自訂資訊的任意物件值。Gets or sets an arbitrary object value that can be used to store custom information about this element.

(Inherited from FrameworkContentElement)
TemplatedParent TemplatedParent TemplatedParent TemplatedParent

取得這個項目的範本父代參考。Gets a reference to the template parent of this element. 如果項目不是透過範本建立,則這個屬性無關。This property is not relevant if the element was not created through a template.

(Inherited from FrameworkContentElement)
ToolTip ToolTip ToolTip ToolTip

取得或設定工具提示物件,該物件會為使用者介面 (UI)user interface (UI) 中的這個項目而顯示。Gets or sets the tool-tip object that is displayed for this element in the 使用者介面 (UI)user interface (UI).

(Inherited from FrameworkContentElement)
TouchesCaptured TouchesCaptured TouchesCaptured TouchesCaptured

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

(Inherited from ContentElement)
TouchesCapturedWithin TouchesCapturedWithin TouchesCapturedWithin TouchesCapturedWithin

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

(Inherited from ContentElement)
TouchesDirectlyOver TouchesDirectlyOver TouchesDirectlyOver TouchesDirectlyOver

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

(Inherited from ContentElement)
TouchesOver TouchesOver TouchesOver TouchesOver

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

(Inherited from ContentElement)

方法

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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
AddLogicalChild(Object) AddLogicalChild(Object) AddLogicalChild(Object) AddLogicalChild(Object)

加入所提供的項目作為這個項目的子項目。Adds the provided element as a child of this element.

(Inherited from FrameworkContentElement)
AddToEventRoute(EventRoute, RoutedEventArgs) AddToEventRoute(EventRoute, RoutedEventArgs) AddToEventRoute(EventRoute, RoutedEventArgs) AddToEventRoute(EventRoute, RoutedEventArgs)

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline)

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
BeginInit() BeginInit() BeginInit() BeginInit()

已在初始化項目之前呼叫。Called before an element is initialized.

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard) BeginStoryboard(Storyboard) BeginStoryboard(Storyboard) BeginStoryboard(Storyboard)

開始提供之腳本中包含的動作順序。Begins the sequence of actions that are contained in the provided storyboard.

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard, HandoffBehavior) BeginStoryboard(Storyboard, HandoffBehavior) BeginStoryboard(Storyboard, HandoffBehavior) BeginStoryboard(Storyboard, HandoffBehavior)

使用若屬性已經顯示動畫時應發生之情形的指定選項,開始提供之腳本中包含的動作順序。Begins the sequence of actions that are contained in the provided storyboard, with options specified for what should occur if the property is already animated.

(Inherited from FrameworkContentElement)
BeginStoryboard(Storyboard, HandoffBehavior, Boolean) BeginStoryboard(Storyboard, HandoffBehavior, Boolean) BeginStoryboard(Storyboard, HandoffBehavior, Boolean) BeginStoryboard(Storyboard, HandoffBehavior, Boolean)

使用控制啟動後之動畫的指定狀態,開始提供之腳本中包含的動作順序。Begins the sequence of actions that are contained in the provided storyboard, with specified state for control of the animation after it is started.

(Inherited from FrameworkContentElement)
BringIntoView() BringIntoView() BringIntoView() BringIntoView()

在內含此項目的任何可捲動區域內,嘗試將此項目帶入檢視。Attempts to bring this element into view, within any scrollable regions it is contained within.

(Inherited from FrameworkContentElement)
CaptureMouse() CaptureMouse() CaptureMouse() CaptureMouse()

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

(Inherited from ContentElement)
CaptureStylus() CaptureStylus() CaptureStylus() CaptureStylus()

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

(Inherited from ContentElement)
CaptureTouch(TouchDevice) CaptureTouch(TouchDevice) CaptureTouch(TouchDevice) CaptureTouch(TouchDevice)

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

(Inherited from ContentElement)
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)
EndInit() EndInit() EndInit() EndInit()

在初始化項目之後立即呼叫。Called immediately after an element is initialized.

(Inherited from FrameworkContentElement)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from DependencyObject)
FindName(String) FindName(String) FindName(String) FindName(String)

尋找具有所提供之識別項名稱的項目。Finds an element that has the provided identifier name.

(Inherited from FrameworkContentElement)
FindResource(Object) FindResource(Object) FindResource(Object) FindResource(Object)

搜尋具有指定索引鍵的資源,並將於找不到要求的資源時擲回例外狀況。Searches for a resource with the specified key, and will throw an exception if the requested resource is not found.

(Inherited from FrameworkContentElement)
Focus() Focus() Focus() Focus()

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
GetBindingExpression(DependencyProperty) GetBindingExpression(DependencyProperty) GetBindingExpression(DependencyProperty) GetBindingExpression(DependencyProperty)

取得指定屬性之繫結的 BindingExpressionGets the BindingExpression for the specified property's binding.

(Inherited from FrameworkContentElement)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from DependencyObject)
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()

如果沒有視覺父代,則傳回這個項目的替代邏輯父代。Returns an alternative logical parent for this element if there is no visual parent. 在這個情況下,FrameworkContentElement 父代一律會與 Parent 屬性的值相同。In this case, a FrameworkContentElement parent is always the same value as the Parent property.

(Inherited from FrameworkContentElement)
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)
InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty)

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

(Inherited from DependencyObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

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

將鍵盤焦點從這個項目移至另一個項目。Moves the keyboard focus from this element to another element.

(Inherited from FrameworkContentElement)
OnContextMenuClosing(ContextMenuEventArgs) OnContextMenuClosing(ContextMenuEventArgs) OnContextMenuClosing(ContextMenuEventArgs) OnContextMenuClosing(ContextMenuEventArgs)

ContextMenuClosing 路由事件到達其路由中的這個類別時,便會叫用此方法。Invoked whenever the ContextMenuClosing routed event reaches this class in its route. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
OnContextMenuOpening(ContextMenuEventArgs) OnContextMenuOpening(ContextMenuEventArgs) OnContextMenuOpening(ContextMenuEventArgs) OnContextMenuOpening(ContextMenuEventArgs)

ContextMenuOpening 路由事件到達其路由中的這個類別時,便會叫用此方法。Invoked whenever the ContextMenuOpening routed event reaches this class in its route. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
OnCreateAutomationPeer() OnCreateAutomationPeer() OnCreateAutomationPeer() OnCreateAutomationPeer()

建立序列的自動對等。Creates an automation peer for the sequence.

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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs)

GotFocus 事件的類別處理常式。Class handler for the GotFocus event.

(Inherited from FrameworkContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
OnInitialized(EventArgs) OnInitialized(EventArgs) OnInitialized(EventArgs) OnInitialized(EventArgs)

引發 Initialized 事件。Raises the Initialized event. 每當 IsInitialized 設定為 true 時會叫用此方法。This method is invoked whenever IsInitialized is set to true.

(Inherited from FrameworkContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs)

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs)

每當這個 FrameworkContentElement 上任何相依性屬性的有效值已更新時叫用。Invoked whenever the effective value of any dependency property on this FrameworkContentElement has been updated. 已變更的特定相依性屬性會在引數參數中報告。The specific dependency property that changed is reported in the arguments parameter. 覆寫 OnPropertyChanged(DependencyPropertyChangedEventArgs)Overrides OnPropertyChanged(DependencyPropertyChangedEventArgs).

(Inherited from FrameworkContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
OnStyleChanged(Style, Style) OnStyleChanged(Style, Style) OnStyleChanged(Style, Style) OnStyleChanged(Style, Style)

當這個項目上的使用中樣式變更時叫用。Invoked when the style that is in use on this element changes.

(Inherited from FrameworkContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
OnToolTipClosing(ToolTipEventArgs) OnToolTipClosing(ToolTipEventArgs) OnToolTipClosing(ToolTipEventArgs) OnToolTipClosing(ToolTipEventArgs)

ToolTipClosing 路由事件到達其路由中的這個類別時,便會叫用此方法。Invoked whenever the ToolTipClosing routed event reaches this class in its route. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
OnToolTipOpening(ToolTipEventArgs) OnToolTipOpening(ToolTipEventArgs) OnToolTipOpening(ToolTipEventArgs) OnToolTipOpening(ToolTipEventArgs)

ToolTipOpening 路由事件到達其路由中的這個類別時,便會叫用此方法。Invoked whenever the ToolTipOpening routed event reaches this class in its route. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

(Inherited from FrameworkContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
OnTouchLeave(TouchEventArgs) OnTouchLeave(TouchEventArgs) OnTouchLeave(TouchEventArgs) OnTouchLeave(TouchEventArgs)

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
PredictFocus(FocusNavigationDirection) PredictFocus(FocusNavigationDirection) PredictFocus(FocusNavigationDirection) PredictFocus(FocusNavigationDirection)

決定下一個項目,該項目會針對所提供的焦點移動方向,接收相對於此項目的焦點,但是不會實際移動焦點。Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. 這是已密封的方法,無法覆寫。This method is sealed and cannot be overridden.

(Inherited from FrameworkContentElement)
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).

(Inherited from ContentElement)
ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

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

(Inherited from DependencyObject)
RegisterName(String, Object) RegisterName(String, Object) RegisterName(String, Object) RegisterName(String, Object)

提供可簡化對 NameScope 註冊方法之存取的存取子 (Accessor)。Provides an accessor that simplifies access to the NameScope registration method.

(Inherited from FrameworkContentElement)
ReleaseAllTouchCaptures() ReleaseAllTouchCaptures() ReleaseAllTouchCaptures() ReleaseAllTouchCaptures()

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

(Inherited from ContentElement)
ReleaseMouseCapture() ReleaseMouseCapture() ReleaseMouseCapture() ReleaseMouseCapture()

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

(Inherited from ContentElement)
ReleaseStylusCapture() ReleaseStylusCapture() ReleaseStylusCapture() ReleaseStylusCapture()

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

(Inherited from ContentElement)
ReleaseTouchCapture(TouchDevice) ReleaseTouchCapture(TouchDevice) ReleaseTouchCapture(TouchDevice) ReleaseTouchCapture(TouchDevice)

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

(Inherited from ContentElement)
RemoveHandler(RoutedEvent, Delegate) RemoveHandler(RoutedEvent, Delegate) RemoveHandler(RoutedEvent, Delegate) RemoveHandler(RoutedEvent, Delegate)

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

(Inherited from ContentElement)
RemoveLogicalChild(Object) RemoveLogicalChild(Object) RemoveLogicalChild(Object) RemoveLogicalChild(Object)

從這個項目的邏輯樹狀結構中移除指定的項目。Removes the specified element from the logical tree for this element.

(Inherited from FrameworkContentElement)
SetBinding(DependencyProperty, BindingBase) SetBinding(DependencyProperty, BindingBase) SetBinding(DependencyProperty, BindingBase) SetBinding(DependencyProperty, BindingBase)

根據提供的繫結物件,將繫結附加至這個項目。Attaches a binding to this element, based on the provided binding object.

(Inherited from FrameworkContentElement)
SetBinding(DependencyProperty, String) SetBinding(DependencyProperty, String) SetBinding(DependencyProperty, String) SetBinding(DependencyProperty, String)

根據提供給資料來源做為路徑限定性條件的來源屬性名稱,將繫結附加至這個項目。Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.

(Inherited from FrameworkContentElement)
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)
SetResourceReference(DependencyProperty, Object) SetResourceReference(DependencyProperty, Object) SetResourceReference(DependencyProperty, Object) SetResourceReference(DependencyProperty, Object)

搜尋具有指定名稱的資源,並針對指定的屬性建立該資源的資源參考。Searches for a resource with the specified name and sets up a resource reference to it for the specified property.

(Inherited from FrameworkContentElement)
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.

(Inherited from ContentElement)
ShouldSerializeInputBindings() ShouldSerializeInputBindings() ShouldSerializeInputBindings() ShouldSerializeInputBindings()

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

(Inherited from ContentElement)
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)
ShouldSerializeResources() ShouldSerializeResources() ShouldSerializeResources() ShouldSerializeResources()

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

(Inherited from FrameworkContentElement)
ShouldSerializeStyle() ShouldSerializeStyle() ShouldSerializeStyle() ShouldSerializeStyle()

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

(Inherited from FrameworkContentElement)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)
TryFindResource(Object) TryFindResource(Object) TryFindResource(Object) TryFindResource(Object)

以指定的索引鍵搜尋資源;如果找到,則傳回該資源。Searches for a resource with the specified key, and returns that resource if found.

(Inherited from FrameworkContentElement)
UnregisterName(String) UnregisterName(String) UnregisterName(String) UnregisterName(String)

簡化對 NameScope 取消註冊方法的存取。Simplifies access to the NameScope de-registration method.

(Inherited from FrameworkContentElement)
UpdateDefaultStyle() UpdateDefaultStyle() UpdateDefaultStyle() UpdateDefaultStyle()

重新將預設樣式套用至目前 FrameworkContentElementReapplies the default style to the current FrameworkContentElement.

(Inherited from FrameworkContentElement)
VerifyAccess() VerifyAccess() VerifyAccess() VerifyAccess()

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

(Inherited from DispatcherObject)

明確介面實作

IAddChild.AddChild(Object) IAddChild.AddChild(Object) IAddChild.AddChild(Object) IAddChild.AddChild(Object)

加入子物件。Adds a child object.

IAddChild.AddText(String) IAddChild.AddText(String) IAddChild.AddText(String) IAddChild.AddText(String)

將節點的文字內容加入物件中。Adds the text content of a node to the object.

IQueryAmbient.IsAmbientPropertyAvailable(String) IQueryAmbient.IsAmbientPropertyAvailable(String) IQueryAmbient.IsAmbientPropertyAvailable(String) IQueryAmbient.IsAmbientPropertyAvailable(String)

如需這個成員的描述,請參閱 IsAmbientPropertyAvailable(String) 方法。For a description of this member, see the IsAmbientPropertyAvailable(String) method.

(Inherited from FrameworkContentElement)
IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) IServiceProvider.GetService(Type) IServiceProvider.GetService(Type)

取得指定型別的服務物件。Gets the service object of the specified type.

IUriContext.BaseUri IUriContext.BaseUri IUriContext.BaseUri IUriContext.BaseUri

取得或設定目前應用程式內容的基底 URI。Gets or sets the base URI of the current application context.

事件

ContextMenuClosing ContextMenuClosing ContextMenuClosing ContextMenuClosing

在項目上的任何內容功能表正要關閉之前發生。Occurs just before any context menu on the element is closed.

(Inherited from FrameworkContentElement)
ContextMenuOpening ContextMenuOpening ContextMenuOpening ContextMenuOpening

當項目上的任何內容功能表開啟時發生。Occurs when any context menu on the element is opened.

(Inherited from FrameworkContentElement)
DataContextChanged DataContextChanged DataContextChanged DataContextChanged

當這個項目的資料內容變更時發生。Occurs when this element's data context changes.

(Inherited from FrameworkContentElement)
DragEnter DragEnter DragEnter DragEnter

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

(Inherited from ContentElement)
DragLeave DragLeave DragLeave DragLeave

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

(Inherited from ContentElement)
DragOver DragOver DragOver DragOver

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

(Inherited from ContentElement)
Drop Drop Drop Drop

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

(Inherited from ContentElement)
FocusableChanged FocusableChanged FocusableChanged FocusableChanged

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

(Inherited from ContentElement)
GiveFeedback GiveFeedback GiveFeedback GiveFeedback

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

(Inherited from ContentElement)
GotFocus GotFocus GotFocus GotFocus

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

(Inherited from ContentElement)
GotKeyboardFocus GotKeyboardFocus GotKeyboardFocus GotKeyboardFocus

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

(Inherited from ContentElement)
GotMouseCapture GotMouseCapture GotMouseCapture GotMouseCapture

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

(Inherited from ContentElement)
GotStylusCapture GotStylusCapture GotStylusCapture GotStylusCapture

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

(Inherited from ContentElement)
GotTouchCapture GotTouchCapture GotTouchCapture GotTouchCapture

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

(Inherited from ContentElement)
Initialized Initialized Initialized Initialized

當這個 FrameworkContentElement 初始化時發生。Occurs when this FrameworkContentElement is initialized. 這符合 IsInitialized 屬性值從 false (或未定義) 變更為 true 的案例。This coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true.

(Inherited from FrameworkContentElement)
IsEnabledChanged IsEnabledChanged IsEnabledChanged IsEnabledChanged

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

(Inherited from ContentElement)
IsKeyboardFocusedChanged IsKeyboardFocusedChanged IsKeyboardFocusedChanged IsKeyboardFocusedChanged

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

(Inherited from ContentElement)
IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged

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

(Inherited from ContentElement)
IsMouseCapturedChanged IsMouseCapturedChanged IsMouseCapturedChanged IsMouseCapturedChanged

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

(Inherited from ContentElement)
IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged

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

(Inherited from ContentElement)
IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged

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

(Inherited from ContentElement)
IsStylusCapturedChanged IsStylusCapturedChanged IsStylusCapturedChanged IsStylusCapturedChanged

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

(Inherited from ContentElement)
IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged

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

(Inherited from ContentElement)
IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged

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

(Inherited from ContentElement)
KeyDown KeyDown KeyDown KeyDown

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

(Inherited from ContentElement)
KeyUp KeyUp KeyUp KeyUp

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

(Inherited from ContentElement)
Loaded Loaded Loaded Loaded

當項目已配置版面、呈現以及可以互動時發生。Occurs when the element is laid out, rendered, and ready for interaction.

(Inherited from FrameworkContentElement)
LostFocus LostFocus LostFocus LostFocus

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

(Inherited from ContentElement)
LostKeyboardFocus LostKeyboardFocus LostKeyboardFocus LostKeyboardFocus

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

(Inherited from ContentElement)
LostMouseCapture LostMouseCapture LostMouseCapture LostMouseCapture

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

(Inherited from ContentElement)
LostStylusCapture LostStylusCapture LostStylusCapture LostStylusCapture

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

(Inherited from ContentElement)
LostTouchCapture LostTouchCapture LostTouchCapture LostTouchCapture

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

(Inherited from ContentElement)
MouseDown MouseDown MouseDown MouseDown

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

(Inherited from ContentElement)
MouseEnter MouseEnter MouseEnter MouseEnter

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

(Inherited from ContentElement)
MouseLeave MouseLeave MouseLeave MouseLeave

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

(Inherited from ContentElement)
MouseLeftButtonDown MouseLeftButtonDown MouseLeftButtonDown MouseLeftButtonDown

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

(Inherited from ContentElement)
MouseLeftButtonUp MouseLeftButtonUp MouseLeftButtonUp MouseLeftButtonUp

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

(Inherited from ContentElement)
MouseMove MouseMove MouseMove MouseMove

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

(Inherited from ContentElement)
MouseRightButtonDown MouseRightButtonDown MouseRightButtonDown MouseRightButtonDown

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

(Inherited from ContentElement)
MouseRightButtonUp MouseRightButtonUp MouseRightButtonUp MouseRightButtonUp

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

(Inherited from ContentElement)
MouseUp MouseUp MouseUp MouseUp

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

(Inherited from ContentElement)
MouseWheel MouseWheel MouseWheel MouseWheel

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

(Inherited from ContentElement)
PreviewDragEnter PreviewDragEnter PreviewDragEnter PreviewDragEnter

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

(Inherited from ContentElement)
PreviewDragLeave PreviewDragLeave PreviewDragLeave PreviewDragLeave

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

(Inherited from ContentElement)
PreviewDragOver PreviewDragOver PreviewDragOver PreviewDragOver

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

(Inherited from ContentElement)
PreviewDrop PreviewDrop PreviewDrop PreviewDrop

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

(Inherited from ContentElement)
PreviewGiveFeedback PreviewGiveFeedback PreviewGiveFeedback PreviewGiveFeedback

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

(Inherited from ContentElement)
PreviewGotKeyboardFocus PreviewGotKeyboardFocus PreviewGotKeyboardFocus PreviewGotKeyboardFocus

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

(Inherited from ContentElement)
PreviewKeyDown PreviewKeyDown PreviewKeyDown PreviewKeyDown

鍵盤以此元素為焦點且按下按鍵時發生。Occurs when a key is pressed while the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewKeyUp PreviewKeyUp PreviewKeyUp PreviewKeyUp

鍵盤以此元素為焦點且放開按鍵時發生。Occurs when a key is released while the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewLostKeyboardFocus PreviewLostKeyboardFocus PreviewLostKeyboardFocus PreviewLostKeyboardFocus

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

(Inherited from ContentElement)
PreviewMouseDown PreviewMouseDown PreviewMouseDown PreviewMouseDown

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

(Inherited from ContentElement)
PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown

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

(Inherited from ContentElement)
PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp

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

(Inherited from ContentElement)
PreviewMouseMove PreviewMouseMove PreviewMouseMove PreviewMouseMove

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

(Inherited from ContentElement)
PreviewMouseRightButtonDown PreviewMouseRightButtonDown PreviewMouseRightButtonDown PreviewMouseRightButtonDown

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

(Inherited from ContentElement)
PreviewMouseRightButtonUp PreviewMouseRightButtonUp PreviewMouseRightButtonUp PreviewMouseRightButtonUp

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

(Inherited from ContentElement)
PreviewMouseUp PreviewMouseUp PreviewMouseUp PreviewMouseUp

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

(Inherited from ContentElement)
PreviewMouseWheel PreviewMouseWheel PreviewMouseWheel PreviewMouseWheel

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

(Inherited from ContentElement)
PreviewQueryContinueDrag PreviewQueryContinueDrag PreviewQueryContinueDrag PreviewQueryContinueDrag

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

(Inherited from ContentElement)
PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown

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

(Inherited from ContentElement)
PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp

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

(Inherited from ContentElement)
PreviewStylusDown PreviewStylusDown PreviewStylusDown PreviewStylusDown

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

(Inherited from ContentElement)
PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove

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

(Inherited from ContentElement)
PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange

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

(Inherited from ContentElement)
PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture

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

(Inherited from ContentElement)
PreviewStylusUp PreviewStylusUp PreviewStylusUp PreviewStylusUp

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

(Inherited from ContentElement)
PreviewTextInput PreviewTextInput PreviewTextInput PreviewTextInput

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

(Inherited from ContentElement)
PreviewTouchDown PreviewTouchDown PreviewTouchDown PreviewTouchDown

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

(Inherited from ContentElement)
PreviewTouchMove PreviewTouchMove PreviewTouchMove PreviewTouchMove

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

(Inherited from ContentElement)
PreviewTouchUp PreviewTouchUp PreviewTouchUp PreviewTouchUp

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

(Inherited from ContentElement)
QueryContinueDrag QueryContinueDrag QueryContinueDrag QueryContinueDrag

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
SourceUpdated SourceUpdated SourceUpdated SourceUpdated

當參與這個項目之繫結的任何關聯資料來源變更時發生。Occurs when any associated data source participating in a binding on this element changes.

(Inherited from FrameworkContentElement)
StylusButtonDown StylusButtonDown StylusButtonDown StylusButtonDown

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

(Inherited from ContentElement)
StylusButtonUp StylusButtonUp StylusButtonUp StylusButtonUp

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

(Inherited from ContentElement)
StylusDown StylusDown StylusDown StylusDown

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

(Inherited from ContentElement)
StylusEnter StylusEnter StylusEnter StylusEnter

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

(Inherited from ContentElement)
StylusInAirMove StylusInAirMove StylusInAirMove StylusInAirMove

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

(Inherited from ContentElement)
StylusInRange StylusInRange StylusInRange StylusInRange

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

(Inherited from ContentElement)
StylusLeave StylusLeave StylusLeave StylusLeave

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

(Inherited from ContentElement)
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.

(Inherited from ContentElement)
StylusOutOfRange StylusOutOfRange StylusOutOfRange StylusOutOfRange

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

(Inherited from ContentElement)
StylusSystemGesture StylusSystemGesture StylusSystemGesture StylusSystemGesture

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

(Inherited from ContentElement)
StylusUp StylusUp StylusUp StylusUp

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

(Inherited from ContentElement)
TargetUpdated TargetUpdated TargetUpdated TargetUpdated

任何參與這個項目之繫結的相關目標屬性變更時發生。Occurs when any associated target property participating in a binding on this element changes.

(Inherited from FrameworkContentElement)
TextInput TextInput TextInput TextInput

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

(Inherited from ContentElement)
ToolTipClosing ToolTipClosing ToolTipClosing ToolTipClosing

在項目上的任何工具提示正要關閉之前發生。Occurs just before any tooltip on the element is closed.

(Inherited from FrameworkContentElement)
ToolTipOpening ToolTipOpening ToolTipOpening ToolTipOpening

任何元素的工具提示開啟時發生。Occurs when any tooltip on the element is opened.

(Inherited from FrameworkContentElement)
TouchDown TouchDown TouchDown TouchDown

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

(Inherited from ContentElement)
TouchEnter TouchEnter TouchEnter TouchEnter

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

(Inherited from ContentElement)
TouchLeave TouchLeave TouchLeave TouchLeave

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

(Inherited from ContentElement)
TouchMove TouchMove TouchMove TouchMove

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

(Inherited from ContentElement)
TouchUp TouchUp TouchUp TouchUp

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

(Inherited from ContentElement)
Unloaded Unloaded Unloaded Unloaded

當項目從已載入項目的項目樹狀結構中移除時發生。Occurs when the element is removed from an element tree of loaded elements.

(Inherited from FrameworkContentElement)

適用於