FrameworkContentElement Class

Definition

FrameworkContentElement is the WPF framework-level implementation and expansion of the ContentElement base class. FrameworkContentElement adds support for additional input APIs (including tooltips and context menus), storyboards, data context for data binding, styles support, and logical tree helper APIs.

public ref class FrameworkContentElement : System::Windows::ContentElement, System::ComponentModel::ISupportInitialize, System::Windows::IFrameworkInputElement
public ref class FrameworkContentElement : System::Windows::ContentElement, System::ComponentModel::ISupportInitialize, System::Windows::IFrameworkInputElement, System::Windows::Markup::IQueryAmbient
[System.Windows.Markup.RuntimeNameProperty("Name")]
[System.Windows.Markup.XmlLangProperty("Language")]
[System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=typeof(System.Windows.Controls.Control))]
public class FrameworkContentElement : System.Windows.ContentElement, System.ComponentModel.ISupportInitialize, System.Windows.IFrameworkInputElement
[System.Windows.Markup.RuntimeNameProperty("Name")]
[System.Windows.Markup.XmlLangProperty("Language")]
[System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=typeof(System.Windows.Controls.Control))]
[System.Windows.Markup.UsableDuringInitialization(true)]
public class FrameworkContentElement : System.Windows.ContentElement, System.ComponentModel.ISupportInitialize, System.Windows.IFrameworkInputElement, System.Windows.Markup.IQueryAmbient
[<System.Windows.Markup.RuntimeNameProperty("Name")>]
[<System.Windows.Markup.XmlLangProperty("Language")>]
[<System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=typeof(System.Windows.Controls.Control))>]
type FrameworkContentElement = class
    inherit ContentElement
    interface IFrameworkInputElement
    interface IInputElement
    interface ISupportInitialize
[<System.Windows.Markup.RuntimeNameProperty("Name")>]
[<System.Windows.Markup.XmlLangProperty("Language")>]
[<System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=typeof(System.Windows.Controls.Control))>]
[<System.Windows.Markup.UsableDuringInitialization(true)>]
type FrameworkContentElement = class
    inherit ContentElement
    interface IFrameworkInputElement
    interface IInputElement
    interface ISupportInitialize
    interface IQueryAmbient
[<System.Windows.Markup.RuntimeNameProperty("Name")>]
[<System.Windows.Markup.XmlLangProperty("Language")>]
[<System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=typeof(System.Windows.Controls.Control))>]
[<System.Windows.Markup.UsableDuringInitialization(true)>]
type FrameworkContentElement = class
    inherit ContentElement
    interface ISupportInitialize
    interface IFrameworkInputElement
    interface IInputElement
    interface IQueryAmbient
Public Class FrameworkContentElement
Inherits ContentElement
Implements IFrameworkInputElement, ISupportInitialize
Public Class FrameworkContentElement
Inherits ContentElement
Implements IFrameworkInputElement, IQueryAmbient, ISupportInitialize
Inheritance
Derived
Attributes
Implements

Remarks

FrameworkContentElement does not yet define its own rendering behavior; instantiating an actual FrameworkContentElement class instance in code or markup is possible but displays nothing in a WPF application user interface (UI). Rendering logic must be provided by classes that take FrameworkContentElement child elements as part of their content model, or in FrameworkContentElement derived classes.

FrameworkContentElement deliberately parallels many of the same APIs as FrameworkElement. Note that certain APIs found on FrameworkElement will not have a FrameworkContentElement equivalent. Several of the FrameworkElement APIs are for functionality such as geometry representation or layout, which are not relevant for a FrameworkContentElement.

The majority of existing FrameworkContentElement derived classes will be found in the System.Windows.Documents namespace. Many of these derived classes implement elements for the flow document model. Certain derived classes such as Hyperlink have some control-like functionality, but are derived from FrameworkContentElement such that the control-like elements can still participate in the flow document model.

Constructors

Name Description
FrameworkContentElement()

Initializes a new instance of the FrameworkContentElement class.

Fields

Name Description
BindingGroupProperty

Identifies the BindingGroup dependency property.

ContextMenuClosingEvent

Identifies the ContextMenuClosingRouted Events Overview.

ContextMenuOpeningEvent

Identifies the ContextMenuOpeningRouted Events Overview.

ContextMenuProperty

Identifies the ContextMenu dependency property.

CursorProperty

Identifies the Cursor dependency property.

DataContextProperty

Identifies the DataContext dependency property.

DefaultStyleKeyProperty

Identifies the DefaultStyleKey dependency property.

FocusVisualStyleProperty

Identifies the FocusVisualStyle dependency property.

ForceCursorProperty

Identifies the ForceCursor dependency property.

InputScopeProperty

Identifies the InputScope dependency property.

LanguageProperty

Identifies the Language dependency property.

LoadedEvent

Identifies the LoadedRouted Events Overview.

NameProperty

Identifies the Name dependency property.

OverridesDefaultStyleProperty

Identifies the OverridesDefaultStyle dependency property.

StyleProperty

Identifies the Style dependency property.

TagProperty

Identifies the Tag dependency property.

ToolTipClosingEvent

Identifies the ToolTipClosingRouted Events Overview.

ToolTipOpeningEvent

Identifies the ToolTipOpeningRouted Events Overview.

ToolTipProperty

Identifies the ToolTip dependency property.

UnloadedEvent

Identifies the UnloadedRouted Events Overview.

Properties

Name Description
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

Gets a value that indicates whether at least one touch is captured to this element.

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

(Inherited from ContentElement)
AreAnyTouchesDirectlyOver

Gets a value that indicates whether at least one touch is pressed over this element.

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

(Inherited from ContentElement)
BindingGroup

Gets or sets the BindingGroup that is used for the element.

CommandBindings

Gets a collection of CommandBinding objects that are associated with this element.

(Inherited from ContentElement)
ContextMenu

Gets or sets the context menu element that should appear whenever the context menu is requested via user interface (UI) from within this element.

Cursor

Gets or sets the cursor that displays when the mouse pointer is over this element.

DataContext

Gets or sets the data context for an element when it participates in data binding.

DefaultStyleKey

Gets or sets the key to use to find the style template for this control in themes.

DependencyObjectType

Gets the DependencyObjectType that wraps the CLR type of this instance.

(Inherited from DependencyObject)
Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
Focusable

Gets or sets a value that indicates whether the element can receive focus.

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

ForceCursor

Gets or sets a value indicating whether this FrameworkContentElement should force the user interface (UI) to render the cursor as declared by this instance's Cursor property.

HasAnimatedProperties

Gets a value that indicates whether this element has any animated properties.

(Inherited from ContentElement)
InputBindings

Gets the collection of input bindings that are associated with this element.

(Inherited from ContentElement)
InputScope

Gets or sets the context for input used by this FrameworkContentElement.

IsEnabled

Gets or sets a value that indicates whether this element is enabled in the user interface (UI).

(Inherited from ContentElement)
IsEnabledCore

Gets a value that becomes the return value of IsEnabled in derived classes.

(Inherited from ContentElement)
IsFocused

Gets a value that determines whether this element has logical focus.

(Inherited from ContentElement)
IsInitialized

Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML), or by explicitly having its EndInit() method called.

IsInputMethodEnabled

Gets a value that indicates whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element.

(Inherited from ContentElement)
IsKeyboardFocused

Gets a value that indicates whether this element has keyboard focus.

(Inherited from ContentElement)
IsKeyboardFocusWithin

Gets a value that indicates whether keyboard focus is anywhere within the element or child elements.

(Inherited from ContentElement)
IsLoaded

Gets a value indicating whether this element has been loaded for presentation.

IsMouseCaptured

Gets a value that indicates whether the mouse is captured by this element.

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

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

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

Gets a value that indicates whether this instance is currently sealed (read-only).

(Inherited from DependencyObject)
IsStylusCaptured

Gets a value that indicates whether the stylus is captured to this element.

(Inherited from ContentElement)
IsStylusCaptureWithin

Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing.

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

Gets a value that indicates whether the stylus is located over this element (including visual child elements).

(Inherited from ContentElement)
Language

Gets or sets localization/globalization language information that applies to an individual element.

LogicalChildren

Gets an enumerator for the logical child elements of this element.

Name

Gets or sets the identifying name of the element. 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 XAML.

OverridesDefaultStyle

Gets or sets a value indicating whether this element incorporates style properties from theme styles.

Parent

Gets the parent in the logical tree for this element.

Resources

Gets or sets the current locally-defined resource dictionary.

Style

Gets or sets the style to be used by this element.

Tag

Gets or sets an arbitrary object value that can be used to store custom information about this element.

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.

ToolTip

Gets or sets the tool-tip object that is displayed for this element in the user interface (UI).

TouchesCaptured

Gets all touch devices that are captured to this element.

(Inherited from ContentElement)
TouchesCapturedWithin

Gets all touch devices that are captured to this element or any child elements in its visual tree.

(Inherited from ContentElement)
TouchesDirectlyOver

Gets all touch devices that are over this element.

(Inherited from ContentElement)
TouchesOver

Gets all touch devices that are over this element or any child elements in its visual tree.

(Inherited from ContentElement)

Methods

Name Description
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. 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)
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)
AddLogicalChild(Object)

Adds the provided element as a child of this element.

AddToEventRoute(EventRoute, RoutedEventArgs)

Adds handlers to the specified EventRoute for the current ContentElement event handler collection.

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

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

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

(Inherited from ContentElement)
BeginAnimation(DependencyProperty, AnimationTimeline)

Starts an animation for a specified animated property on this element.

(Inherited from ContentElement)
BeginInit()

Called before an element is initialized.

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.

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.

BeginStoryboard(Storyboard)

Begins the sequence of actions that are contained in the provided storyboard.

BringIntoView()

Attempts to bring this element into view, within any scrollable regions it is contained within.

CaptureMouse()

Attempts to force capture of the mouse to this element.

(Inherited from ContentElement)
CaptureStylus()

Attempts to force capture of the stylus to this element.

(Inherited from ContentElement)
CaptureTouch(TouchDevice)

Attempts to force capture of a touch to this element.

(Inherited from ContentElement)
CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
ClearValue(DependencyProperty)

Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.

(Inherited from DependencyObject)
ClearValue(DependencyPropertyKey)

Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.

(Inherited from DependencyObject)
CoerceValue(DependencyProperty)

Coerces the value of the specified dependency property. 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()

Called immediately after an element is initialized.

Equals(Object)

Determines whether a provided DependencyObject is equivalent to the current DependencyObject.

(Inherited from DependencyObject)
FindName(String)

Finds an element that has the provided identifier name.

FindResource(Object)

Searches for a resource with the specified key, and will throw an exception if the requested resource is not found.

Focus()

Attempts to set focus to this element.

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

(Inherited from ContentElement)
GetBindingExpression(DependencyProperty)

Gets the BindingExpression for the specified property's binding.

GetHashCode()

Gets a hash code for this DependencyObject.

(Inherited from DependencyObject)
GetLocalValueEnumerator()

Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.

(Inherited from DependencyObject)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUIParentCore()

Returns an alternative logical parent for this element if there is no visual parent. In this case, a FrameworkContentElement parent is always the same value as the Parent property.

GetValue(DependencyProperty)

Returns the current effective value of a dependency property on this instance of a DependencyObject.

(Inherited from DependencyObject)
InvalidateProperty(DependencyProperty)

Re-evaluates the effective value for the specified dependency property.

(Inherited from DependencyObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveFocus(TraversalRequest)

Moves the keyboard focus from this element to another element.

OnContextMenuClosing(ContextMenuEventArgs)

Invoked whenever the ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event.

OnContextMenuOpening(ContextMenuEventArgs)

Invoked whenever the ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

(Inherited from ContentElement)
OnDragEnter(DragEventArgs)

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)

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)

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)

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)

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)

Class handler for the GotFocus event.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

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)

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)

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)

Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element.

(Inherited from ContentElement)
OnInitialized(EventArgs)

Raises the Initialized event. This method is invoked whenever IsInitialized is set to true.

OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

Raises the LostFocus routed event by using the event data that is provided.

(Inherited from ContentElement)
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

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)

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)

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)

Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture.

(Inherited from ContentElement)
OnMouseDown(MouseButtonEventArgs)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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