TextElement 類別

定義

作為抽象 BlockInline 類別之基底類別的抽象類別。An abstract class used as the base class for the abstract Block and Inline classes.

public ref class TextElement abstract : System::Windows::FrameworkContentElement, System::Windows::Markup::IAddChild
public abstract class TextElement : System.Windows.FrameworkContentElement, System.Windows.Markup.IAddChild
type TextElement = class
    inherit FrameworkContentElement
    interface IAddChild
Public MustInherit Class TextElement
Inherits FrameworkContentElement
Implements IAddChild
繼承
衍生
實作

欄位

BackgroundProperty

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

FontFamilyProperty

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

FontSizeProperty

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

FontStretchProperty

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

FontStyleProperty

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

FontWeightProperty

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

ForegroundProperty

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

TextEffectsProperty

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

屬性

AllowDrop

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

(繼承來源 ContentElement)
AreAnyTouchesCaptured

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
AreAnyTouchesDirectlyOver

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

(繼承來源 ContentElement)
AreAnyTouchesOver

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

(繼承來源 ContentElement)
Background

取得或設定用來填滿內容區域背景的 BrushGets or sets the Brush used to fill the background of the content area.

BindingGroup

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

(繼承來源 FrameworkContentElement)
CommandBindings

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

(繼承來源 ContentElement)
ContentEnd

取得 TextPointer,它代表項目中的內容結尾。Gets a TextPointer that represents the end of the content in the element.

ContentStart

取得 TextPointer,它代表項目中的內容開頭。Gets a TextPointer that represents the start of content in the element.

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.

(繼承來源 FrameworkContentElement)
Cursor

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

(繼承來源 FrameworkContentElement)
DataContext

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

(繼承來源 FrameworkContentElement)
DefaultStyleKey

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

(繼承來源 FrameworkContentElement)
DependencyObjectType

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

(繼承來源 DependencyObject)
Dispatcher

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

(繼承來源 DispatcherObject)
ElementEnd

取得 TextPointer,它代表剛好在項目結尾後面的位置。Gets a TextPointer that represents the position just after the end of the element.

ElementStart

取得 TextPointer,它代表剛好在項目開頭前面的位置。Gets a TextPointer that represents the position just before the start of the element.

Focusable

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

(繼承來源 ContentElement)
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.

(繼承來源 FrameworkContentElement)
FontFamily

取得或設定項目內容慣用的最上層字型家族。Gets or sets the preferred top-level font family for the content of the element.

FontSize

取得或設定項目內容的字型大小。Gets or sets the font size for the content of the element.

FontStretch

取得或設定項目內容的字型自動縮放特性。Gets or sets the font-stretching characteristics for the content of the element.

FontStyle

取得或設定項目內容的字型樣式。Gets or sets the font style for the content of the element.

FontWeight

取得或設定項目內容的最上層字型粗細。Gets or sets the top-level font weight for the content of the element.

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.

(繼承來源 FrameworkContentElement)
Foreground

取得或設定要套用至項目內容的 BrushGets or sets the Brush to apply to the content of the element.

HasAnimatedProperties

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

(繼承來源 ContentElement)
InputBindings

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

(繼承來源 ContentElement)
InputScope

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

(繼承來源 FrameworkContentElement)
IsEnabled

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

(繼承來源 ContentElement)
IsEnabledCore

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

(繼承來源 ContentElement)
IsFocused

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

(繼承來源 ContentElement)
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.

(繼承來源 FrameworkContentElement)
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.

(繼承來源 ContentElement)
IsKeyboardFocused

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

(繼承來源 ContentElement)
IsKeyboardFocusWithin

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

(繼承來源 ContentElement)
IsLoaded

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

(繼承來源 FrameworkContentElement)
IsMouseCaptured

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

(繼承來源 ContentElement)
IsMouseCaptureWithin

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

(繼承來源 ContentElement)
IsMouseDirectlyOver

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

(繼承來源 ContentElement)
IsMouseOver

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

(繼承來源 ContentElement)
IsSealed

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

(繼承來源 DependencyObject)
IsStylusCaptured

取得值,指出是否將手寫筆擷取至這個項目。Gets a value that indicates whether the stylus is captured to this element.

(繼承來源 ContentElement)
IsStylusCaptureWithin

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

(繼承來源 ContentElement)
IsStylusDirectlyOver

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

(繼承來源 ContentElement)
IsStylusOver

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

(繼承來源 ContentElement)
Language

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

(繼承來源 FrameworkContentElement)
LogicalChildren

取得可反覆查看項目之邏輯子系的列舉值。Gets an enumerator that can iterate the logical children of the element.

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.

(繼承來源 FrameworkContentElement)
OverridesDefaultStyle

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

(繼承來源 FrameworkContentElement)
Parent

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

(繼承來源 FrameworkContentElement)
Resources

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

(繼承來源 FrameworkContentElement)
Style

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

(繼承來源 FrameworkContentElement)
Tag

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

(繼承來源 FrameworkContentElement)
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.

(繼承來源 FrameworkContentElement)
TextEffects

取得或設定要套用至項目內容的文字效果集合。Gets or sets a collection of text effects to apply to the content of the element.

ToolTip

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

(繼承來源 FrameworkContentElement)
TouchesCaptured

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

(繼承來源 ContentElement)
TouchesCapturedWithin

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

(繼承來源 ContentElement)
TouchesDirectlyOver

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

(繼承來源 ContentElement)
TouchesOver

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

(繼承來源 ContentElement)
Typography

為項目內容指定目前有效的印刷樣式變化。Gets the currently effective typography variations for the content of the element.

方法

AddHandler(RoutedEvent, Delegate)

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
AddLogicalChild(Object)

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

(繼承來源 FrameworkContentElement)
AddToEventRoute(EventRoute, RoutedEventArgs)

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
BeginAnimation(DependencyProperty, AnimationTimeline)

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
BeginInit()

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

(繼承來源 FrameworkContentElement)
BeginStoryboard(Storyboard)

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

(繼承來源 FrameworkContentElement)
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.

(繼承來源 FrameworkContentElement)
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.

(繼承來源 FrameworkContentElement)
BringIntoView()

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

(繼承來源 FrameworkContentElement)
CaptureMouse()

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

(繼承來源 ContentElement)
CaptureStylus()

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

(繼承來源 ContentElement)
CaptureTouch(TouchDevice)

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

(繼承來源 ContentElement)
CheckAccess()

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

(繼承來源 DispatcherObject)
ClearValue(DependencyProperty)

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

(繼承來源 DependencyObject)
ClearValue(DependencyPropertyKey)

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

(繼承來源 DependencyObject)
CoerceValue(DependencyProperty)

強制轉型所指定相依性屬性的值。Coerces the value of the specified dependency property. 完成方式是叫用存在於呼叫 DependencyObject 之相依性屬性的屬性中繼資料中所指定的任何 CoerceValueCallback 函式。This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(繼承來源 DependencyObject)
EndInit()

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

(繼承來源 FrameworkContentElement)
Equals(Object)

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

(繼承來源 DependencyObject)
FindName(String)

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

(繼承來源 FrameworkContentElement)
FindResource(Object)

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

(繼承來源 FrameworkContentElement)
Focus()

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
GetBindingExpression(DependencyProperty)

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

(繼承來源 FrameworkContentElement)
GetFontFamily(DependencyObject)

傳回所指定相依性物件的 FontFamily 附加屬性值。Returns the value of the FontFamily attached property for a specified dependency object.

GetFontSize(DependencyObject)

傳回所指定相依性物件的 FontSize 附加屬性值。Returns the value of the FontSize attached property for a specified dependency object.

GetFontStretch(DependencyObject)

傳回所指定相依性物件的 FontStretch 附加屬性值。Returns the value of the FontStretch attached property for a specified dependency object.

GetFontStyle(DependencyObject)

傳回所指定相依性物件的 FontStyle 附加屬性值。Returns the value of the FontStyle attached property for a specified dependency object.

GetFontWeight(DependencyObject)

傳回所指定相依性物件的 FontWeight 附加屬性值。Returns the value of the FontWeight attached property for a specified dependency object.

GetForeground(DependencyObject)

傳回所指定相依性物件的 Foreground 附加屬性值。Returns the value of the Foreground attached property for a specified dependency object.

GetHashCode()

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

(繼承來源 DependencyObject)
GetLocalValueEnumerator()

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

(繼承來源 DependencyObject)
GetType()

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

(繼承來源 Object)
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.

(繼承來源 FrameworkContentElement)
GetValue(DependencyProperty)

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

(繼承來源 DependencyObject)
InvalidateProperty(DependencyProperty)

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

(繼承來源 DependencyObject)
MemberwiseClone()

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

(繼承來源 Object)
MoveFocus(TraversalRequest)

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

(繼承來源 FrameworkContentElement)
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.

(繼承來源 FrameworkContentElement)
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.

(繼承來源 FrameworkContentElement)
OnCreateAutomationPeer()

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
OnGotFocus(RoutedEventArgs)

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

(繼承來源 FrameworkContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
OnGotTouchCapture(TouchEventArgs)

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

(繼承來源 ContentElement)
OnInitialized(EventArgs)

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

(繼承來源 FrameworkContentElement)
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
OnLostFocus(RoutedEventArgs)

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
OnLostTouchCapture(TouchEventArgs)

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
OnPreviewTouchDown(TouchEventArgs)

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

(繼承來源 ContentElement)
OnPreviewTouchMove(TouchEventArgs)

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

(繼承來源 ContentElement)
OnPreviewTouchUp(TouchEventArgs)

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

(繼承來源 ContentElement)
OnPropertyChanged(DependencyPropertyChangedEventArgs)

處理一個或多個存在於項目的相依性屬性已變更其有效值的通知。Handles notifications that one or more of the dependency properties that exist on the element have had their effective values changed.

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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
OnStyleChanged(Style, Style)

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

(繼承來源 FrameworkContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 FrameworkContentElement)
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.

(繼承來源 FrameworkContentElement)
OnTouchDown(TouchEventArgs)

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
OnTouchMove(TouchEventArgs)

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

(繼承來源 ContentElement)
OnTouchUp(TouchEventArgs)

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

(繼承來源 ContentElement)
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.

(繼承來源 FrameworkContentElement)
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).

(繼承來源 ContentElement)
ReadLocalValue(DependencyProperty)

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

(繼承來源 DependencyObject)
RegisterName(String, Object)

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

(繼承來源 FrameworkContentElement)
ReleaseAllTouchCaptures()

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

(繼承來源 ContentElement)
ReleaseMouseCapture()

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

(繼承來源 ContentElement)
ReleaseStylusCapture()

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

(繼承來源 ContentElement)
ReleaseTouchCapture(TouchDevice)

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

(繼承來源 ContentElement)
RemoveHandler(RoutedEvent, Delegate)

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

(繼承來源 ContentElement)
RemoveLogicalChild(Object)

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

(繼承來源 FrameworkContentElement)
SetBinding(DependencyProperty, BindingBase)

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

(繼承來源 FrameworkContentElement)
SetBinding(DependencyProperty, String)

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

(繼承來源 FrameworkContentElement)
SetCurrentValue(DependencyProperty, Object)

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

(繼承來源 DependencyObject)
SetFontFamily(DependencyObject, FontFamily)

設定所指定相依性物件的 FontFamily 附加屬性值。Sets the value of the FontFamily attached property for a specified dependency object.

SetFontSize(DependencyObject, Double)

設定所指定相依性物件的 FontSize 附加屬性值。Sets the value of the FontSize attached property for a specified dependency object.

SetFontStretch(DependencyObject, FontStretch)

設定所指定相依性物件的 FontStretch 附加屬性值。Sets the value of the FontStretch attached property for a specified dependency object.

SetFontStyle(DependencyObject, FontStyle)

設定所指定相依性物件的 FontStyle 附加屬性值。Sets the value of the FontStyle attached property for a specified dependency object.

SetFontWeight(DependencyObject, FontWeight)

設定所指定相依性物件的 FontWeight 附加屬性值。Sets the value of the FontWeight attached property for a specified dependency object.

SetForeground(DependencyObject, Brush)

設定所指定相依性物件的 Foreground 附加屬性值。Sets the value of the Foreground attached property for a specified dependency object.

SetResourceReference(DependencyProperty, Object)

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

(繼承來源 FrameworkContentElement)
SetValue(DependencyProperty, Object)

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

(繼承來源 DependencyObject)
SetValue(DependencyPropertyKey, Object)

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

(繼承來源 DependencyObject)
ShouldSerializeCommandBindings()

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

(繼承來源 ContentElement)
ShouldSerializeInputBindings()

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

(繼承來源 ContentElement)
ShouldSerializeProperty(DependencyProperty)

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

(繼承來源 DependencyObject)
ShouldSerializeResources()

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

(繼承來源 FrameworkContentElement)
ShouldSerializeStyle()

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

(繼承來源 FrameworkContentElement)
ToString()

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

(繼承來源 Object)
TryFindResource(Object)

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

(繼承來源 FrameworkContentElement)
UnregisterName(String)

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

(繼承來源 FrameworkContentElement)
UpdateDefaultStyle()

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

(繼承來源 FrameworkContentElement)
VerifyAccess()

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

(繼承來源 DispatcherObject)

事件

ContextMenuClosing

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

(繼承來源 FrameworkContentElement)
ContextMenuOpening

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

(繼承來源 FrameworkContentElement)
DataContextChanged

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

(繼承來源 FrameworkContentElement)
DragEnter

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

(繼承來源 ContentElement)
DragLeave

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

(繼承來源 ContentElement)
DragOver

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

(繼承來源 ContentElement)
Drop

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

(繼承來源 ContentElement)
FocusableChanged

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

(繼承來源 ContentElement)
GiveFeedback

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

(繼承來源 ContentElement)
GotFocus

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

(繼承來源 ContentElement)
GotKeyboardFocus

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

(繼承來源 ContentElement)
GotMouseCapture

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

(繼承來源 ContentElement)
GotStylusCapture

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

(繼承來源 ContentElement)
GotTouchCapture

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

(繼承來源 ContentElement)
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.

(繼承來源 FrameworkContentElement)
IsEnabledChanged

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

(繼承來源 ContentElement)
IsKeyboardFocusedChanged

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

(繼承來源 ContentElement)
IsKeyboardFocusWithinChanged

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

(繼承來源 ContentElement)
IsMouseCapturedChanged

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

(繼承來源 ContentElement)
IsMouseCaptureWithinChanged

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

(繼承來源 ContentElement)
IsMouseDirectlyOverChanged

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

(繼承來源 ContentElement)
IsStylusCapturedChanged

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

(繼承來源 ContentElement)
IsStylusCaptureWithinChanged

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

(繼承來源 ContentElement)
IsStylusDirectlyOverChanged

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

(繼承來源 ContentElement)
KeyDown

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

(繼承來源 ContentElement)
KeyUp

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

(繼承來源 ContentElement)
Loaded

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

(繼承來源 FrameworkContentElement)
LostFocus

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

(繼承來源 ContentElement)
LostKeyboardFocus

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

(繼承來源 ContentElement)
LostMouseCapture

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

(繼承來源 ContentElement)
LostStylusCapture

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

(繼承來源 ContentElement)
LostTouchCapture

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

(繼承來源 ContentElement)
MouseDown

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

(繼承來源 ContentElement)
MouseEnter

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

(繼承來源 ContentElement)
MouseLeave

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

(繼承來源 ContentElement)
MouseLeftButtonDown

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

(繼承來源 ContentElement)
MouseLeftButtonUp

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

(繼承來源 ContentElement)
MouseMove

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

(繼承來源 ContentElement)
MouseRightButtonDown

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

(繼承來源 ContentElement)
MouseRightButtonUp

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

(繼承來源 ContentElement)
MouseUp

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

(繼承來源 ContentElement)
MouseWheel

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

(繼承來源 ContentElement)
PreviewDragEnter

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

(繼承來源 ContentElement)
PreviewDragLeave

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

(繼承來源 ContentElement)
PreviewDragOver

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

(繼承來源 ContentElement)
PreviewDrop

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

(繼承來源 ContentElement)
PreviewGiveFeedback

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

(繼承來源 ContentElement)
PreviewGotKeyboardFocus

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

(繼承來源 ContentElement)
PreviewKeyDown

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

(繼承來源 ContentElement)
PreviewKeyUp

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

(繼承來源 ContentElement)
PreviewLostKeyboardFocus

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

(繼承來源 ContentElement)
PreviewMouseDown

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

(繼承來源 ContentElement)
PreviewMouseLeftButtonDown

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

(繼承來源 ContentElement)
PreviewMouseLeftButtonUp

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

(繼承來源 ContentElement)
PreviewMouseMove

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

(繼承來源 ContentElement)
PreviewMouseRightButtonDown

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

(繼承來源 ContentElement)
PreviewMouseRightButtonUp

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

(繼承來源 ContentElement)
PreviewMouseUp

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

(繼承來源 ContentElement)
PreviewMouseWheel

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

(繼承來源 ContentElement)
PreviewQueryContinueDrag

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

(繼承來源 ContentElement)
PreviewStylusButtonDown

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

(繼承來源 ContentElement)
PreviewStylusButtonUp

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

(繼承來源 ContentElement)
PreviewStylusDown

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

(繼承來源 ContentElement)
PreviewStylusInAirMove

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

(繼承來源 ContentElement)
PreviewStylusInRange

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
PreviewStylusOutOfRange

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

(繼承來源 ContentElement)
PreviewStylusSystemGesture

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

(繼承來源 ContentElement)
PreviewStylusUp

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

(繼承來源 ContentElement)
PreviewTextInput

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

(繼承來源 ContentElement)
PreviewTouchDown

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

(繼承來源 ContentElement)
PreviewTouchMove

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

(繼承來源 ContentElement)
PreviewTouchUp

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

(繼承來源 ContentElement)
QueryContinueDrag

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
SourceUpdated

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

(繼承來源 FrameworkContentElement)
StylusButtonDown

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

(繼承來源 ContentElement)
StylusButtonUp

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

(繼承來源 ContentElement)
StylusDown

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

(繼承來源 ContentElement)
StylusEnter

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

(繼承來源 ContentElement)
StylusInAirMove

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

(繼承來源 ContentElement)
StylusInRange

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

(繼承來源 ContentElement)
StylusLeave

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

(繼承來源 ContentElement)
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.

(繼承來源 ContentElement)
StylusOutOfRange

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

(繼承來源 ContentElement)
StylusSystemGesture

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

(繼承來源 ContentElement)
StylusUp

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

(繼承來源 ContentElement)
TargetUpdated

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

(繼承來源 FrameworkContentElement)
TextInput

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

(繼承來源 ContentElement)
ToolTipClosing

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

(繼承來源 FrameworkContentElement)
ToolTipOpening

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

(繼承來源 FrameworkContentElement)
TouchDown

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

(繼承來源 ContentElement)
TouchEnter

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

(繼承來源 ContentElement)
TouchLeave

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

(繼承來源 ContentElement)
TouchMove

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

(繼承來源 ContentElement)
TouchUp

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

(繼承來源 ContentElement)
Unloaded

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

(繼承來源 FrameworkContentElement)

明確介面實作

IAddChild.AddChild(Object)

加入子物件。Adds a child object.

IAddChild.AddText(String)

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

IQueryAmbient.IsAmbientPropertyAvailable(String)

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

(繼承來源 FrameworkContentElement)

適用於