Hyperlink Hyperlink Hyperlink Hyperlink Class

Definition

An inline-level flow content element that provides facilities for hosting hyperlinks within flow content.

public ref class Hyperlink : System::Windows::Documents::Span, System::Windows::Input::ICommandSource, System::Windows::Markup::IUriContext
[System.Windows.Documents.TextElementEditingBehavior(IsMergeable=false, IsTypographicOnly=false)]
public class Hyperlink : System.Windows.Documents.Span, System.Windows.Input.ICommandSource, System.Windows.Markup.IUriContext
type Hyperlink = class
    inherit Span
    interface ICommandSource
    interface IUriContext
Public Class Hyperlink
Inherits Span
Implements ICommandSource, IUriContext
Inheritance
Attributes
Implements

Examples

The following example shows simple use of a Hyperlink element.

<Paragraph>
  <Run>Text preceding the hyperlink.</Run>
  <Hyperlink
    NavigateUri="http://search.msn.com"
  >
    Link text.
  </Hyperlink>
  <Run Name="test">Text following the hyperlink.</Run>
</Paragraph>

The following example shows how to create a Hyperlink programmatically.

Paragraph parx = new Paragraph();
Run run1 = new Run("Text preceeding the hyperlink.");
Run run2 = new Run("Text following the hyperlink.");
Run run3 = new Run("Link Text.");

Hyperlink hyperl = new Hyperlink(run3);
hyperl.NavigateUri = new Uri("http://search.msn.com");

parx.Inlines.Add(run1);
parx.Inlines.Add(hyperl);
parx.Inlines.Add(run2);
Dim parx As New Paragraph()
Dim run1 As New Run("Text preceeding the hyperlink.")
Dim run2 As New Run("Text following the hyperlink.")
Dim run3 As New Run("Link Text.")

Dim hyperl As New Hyperlink(run3)
hyperl.NavigateUri = New Uri("http://search.msn.com")

parx.Inlines.Add(run1)
parx.Inlines.Add(hyperl)
parx.Inlines.Add(run2)

Remarks

Hyperlink implements the NavigateUri property that you set with the Uri of the content that should be navigated to when the Hyperlink is clicked. Hyperlink navigation can only occur, however, if either the direct or indirect parent of a Hyperlink is a navigation host, including NavigationWindow, Frame, or any browser that can host XBAPs (which includes Internet Explorer 7, Microsoft Internet Explorer 6, and Firefox 2.0+). For more information, see the Navigation Hosts topic in Navigation Overview.

Hyperlink enforces a strong content model for child content. See TextElement Content Model Overview for more information about the Hyperlink content model.

Dependency properties for this control might be set by the control’s default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running. For more information, see Default WPF Themes.

Constructors

Hyperlink() Hyperlink() Hyperlink() Hyperlink()

Initializes a new, default instance of the Hyperlink class.

Hyperlink(Inline) Hyperlink(Inline) Hyperlink(Inline) Hyperlink(Inline)

Initializes a new instance of the Hyperlink class, taking a specified Inline object as the initial contents of the new Hyperlink.

Hyperlink(Inline, TextPointer) Hyperlink(Inline, TextPointer) Hyperlink(Inline, TextPointer) Hyperlink(Inline, TextPointer)

Initializes a new instance of the Hyperlink class, taking a specified Inline object as the initial contents of the new Hyperlink, and a TextPointer specifying an insertion position for the new Hyperlink.

Hyperlink(TextPointer, TextPointer) Hyperlink(TextPointer, TextPointer) Hyperlink(TextPointer, TextPointer) Hyperlink(TextPointer, TextPointer)

Initializes a new instance of the Hyperlink class, taking two TextPointer objects that indicate the beginning and end of a selection of content to be contained by the new Hyperlink.

Fields

ClickEvent ClickEvent ClickEvent ClickEvent

Identifies the Click routed event.

CommandParameterProperty CommandParameterProperty CommandParameterProperty CommandParameterProperty

Identifies the CommandParameter dependency property.

CommandProperty CommandProperty CommandProperty CommandProperty

Identifies the Command dependency property.

CommandTargetProperty CommandTargetProperty CommandTargetProperty CommandTargetProperty

Identifies the CommandTarget dependency property.

NavigateUriProperty NavigateUriProperty NavigateUriProperty NavigateUriProperty

Identifies the NavigateUri dependency property.

RequestNavigateEvent RequestNavigateEvent RequestNavigateEvent RequestNavigateEvent

Identifies the RequestNavigate routed event.

TargetNameProperty TargetNameProperty TargetNameProperty TargetNameProperty

Identifies the TargetName dependency property.

Properties

AllowDrop AllowDrop AllowDrop AllowDrop

Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation.

(Inherited from ContentElement)
AreAnyTouchesCaptured AreAnyTouchesCaptured AreAnyTouchesCaptured AreAnyTouchesCaptured

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

(Inherited from ContentElement)
AreAnyTouchesCapturedWithin AreAnyTouchesCapturedWithin AreAnyTouchesCapturedWithin AreAnyTouchesCapturedWithin

Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree.

(Inherited from ContentElement)
AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver AreAnyTouchesDirectlyOver

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

(Inherited from ContentElement)
AreAnyTouchesOver AreAnyTouchesOver AreAnyTouchesOver AreAnyTouchesOver

Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree.

(Inherited from ContentElement)
Background Background Background Background

Gets or sets the Brush used to fill the background of the content area.

(Inherited from TextElement)
BaselineAlignment BaselineAlignment BaselineAlignment BaselineAlignment

Gets or sets the baseline alignment for the Inline element.

(Inherited from Inline)
BaseUri BaseUri BaseUri BaseUri

Gets or sets a base URI for the Hyperlink.

BindingGroup BindingGroup BindingGroup BindingGroup

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

(Inherited from FrameworkContentElement)
Command Command Command Command

Gets or sets a command to associate with the Hyperlink.

CommandBindings CommandBindings CommandBindings CommandBindings

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

(Inherited from ContentElement)
CommandParameter CommandParameter CommandParameter CommandParameter

Gets or sets command parameters associated with the command specified by the Command property.

CommandTarget CommandTarget CommandTarget CommandTarget

Gets or sets a target element on which to execute the command specified by the Command property.

ContentEnd ContentEnd ContentEnd ContentEnd

Gets a TextPointer that represents the end of the content in the element.

(Inherited from TextElement)
ContentStart ContentStart ContentStart ContentStart

Gets a TextPointer that represents the start of content in the element.

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

(Inherited from FrameworkContentElement)
Cursor Cursor Cursor Cursor

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

(Inherited from FrameworkContentElement)
DataContext DataContext DataContext DataContext

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

(Inherited from FrameworkContentElement)
DefaultStyleKey DefaultStyleKey DefaultStyleKey DefaultStyleKey

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

(Inherited from FrameworkContentElement)
DependencyObjectType DependencyObjectType DependencyObjectType DependencyObjectType

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

(Inherited from DependencyObject)
Dispatcher Dispatcher Dispatcher Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
ElementEnd ElementEnd ElementEnd ElementEnd

Gets a TextPointer that represents the position just after the end of the element.

(Inherited from TextElement)
ElementStart ElementStart ElementStart ElementStart

Gets a TextPointer that represents the position just before the start of the element.

(Inherited from TextElement)
FlowDirection FlowDirection FlowDirection FlowDirection

Gets or sets a value that specifies the relative direction for flow of content within a Inline element.

(Inherited from Inline)
Focusable Focusable Focusable Focusable

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

(Inherited from ContentElement)
FocusVisualStyle FocusVisualStyle FocusVisualStyle FocusVisualStyle

Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus.

(Inherited from FrameworkContentElement)
FontFamily FontFamily FontFamily FontFamily

Gets or sets the preferred top-level font family for the content of the element.

(Inherited from TextElement)
FontSize FontSize FontSize FontSize

Gets or sets the font size for the content of the element.

(Inherited from TextElement)
FontStretch FontStretch FontStretch FontStretch

Gets or sets the font-stretching characteristics for the content of the element.

(Inherited from TextElement)
FontStyle FontStyle FontStyle FontStyle

Gets or sets the font style for the content of the element.

(Inherited from TextElement)
FontWeight FontWeight FontWeight FontWeight

Gets or sets the top-level font weight for the content of the element.

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

(Inherited from FrameworkContentElement)
Foreground Foreground Foreground Foreground

Gets or sets the Brush to apply to the content of the element.

(Inherited from TextElement)
HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties

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

(Inherited from ContentElement)
Inlines Inlines Inlines Inlines

Gets an InlineCollection containing the top-level Inline elements that comprise the contents of the Span.

(Inherited from Span)
InputBindings InputBindings InputBindings InputBindings

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

(Inherited from ContentElement)
InputScope InputScope InputScope InputScope

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

(Inherited from FrameworkContentElement)
IsEnabled IsEnabled IsEnabled IsEnabled

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

(Inherited from ContentElement)
IsEnabledCore IsEnabledCore IsEnabledCore IsEnabledCore

Gets a value that indicates whether or not the Hyperlink is enabled.

IsFocused IsFocused IsFocused IsFocused

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

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

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

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

(Inherited from ContentElement)
IsKeyboardFocusWithin IsKeyboardFocusWithin IsKeyboardFocusWithin IsKeyboardFocusWithin

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

(Inherited from ContentElement)
IsLoaded IsLoaded IsLoaded IsLoaded

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

(Inherited from FrameworkContentElement)
IsMouseCaptured IsMouseCaptured IsMouseCaptured IsMouseCaptured

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

(Inherited from ContentElement)
IsMouseCaptureWithin IsMouseCaptureWithin IsMouseCaptureWithin IsMouseCaptureWithin

Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree.

(Inherited from ContentElement)
IsMouseDirectlyOver IsMouseDirectlyOver IsMouseDirectlyOver IsMouseDirectlyOver

Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account.

(Inherited from ContentElement)
IsMouseOver IsMouseOver IsMouseOver IsMouseOver

Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing).

(Inherited from ContentElement)
IsSealed IsSealed IsSealed IsSealed

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

(Inherited from DependencyObject)
IsStylusCaptured IsStylusCaptured IsStylusCaptured IsStylusCaptured

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

(Inherited from ContentElement)
IsStylusCaptureWithin IsStylusCaptureWithin IsStylusCaptureWithin IsStylusCaptureWithin

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

(Inherited from ContentElement)
IsStylusDirectlyOver IsStylusDirectlyOver IsStylusDirectlyOver IsStylusDirectlyOver

Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account.

(Inherited from ContentElement)
IsStylusOver IsStylusOver IsStylusOver IsStylusOver

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

(Inherited from ContentElement)
Language Language Language Language

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

(Inherited from FrameworkContentElement)
LogicalChildren LogicalChildren LogicalChildren LogicalChildren

Gets an enumerator that can iterate the logical children of the element.

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

(Inherited from FrameworkContentElement)
NavigateUri NavigateUri NavigateUri NavigateUri

Gets or sets a URI to navigate to when the Hyperlink is activated.

NextInline NextInline NextInline NextInline

Gets the next Inline element that is a peer to this element.

(Inherited from Inline)
OverridesDefaultStyle OverridesDefaultStyle OverridesDefaultStyle OverridesDefaultStyle

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

(Inherited from FrameworkContentElement)
Parent Parent Parent Parent

Gets the parent in the logical tree for this element.

(Inherited from FrameworkContentElement)
PreviousInline PreviousInline PreviousInline PreviousInline

Gets the previous Inline element that is a peer to this element.

(Inherited from Inline)
Resources Resources Resources Resources

Gets or sets the current locally-defined resource dictionary.

(Inherited from FrameworkContentElement)
SiblingInlines SiblingInlines SiblingInlines SiblingInlines

Gets an InlineCollection that contains the Inline elements that are siblings (peers) to this element.

(Inherited from Inline)
Style Style Style Style

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

(Inherited from FrameworkContentElement)
Tag Tag Tag Tag

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

(Inherited from FrameworkContentElement)
TargetName TargetName TargetName TargetName

Gets or sets the name of a target window or frame for the Hyperlink.

TemplatedParent TemplatedParent TemplatedParent TemplatedParent

Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template.

(Inherited from FrameworkContentElement)
TextDecorations TextDecorations TextDecorations TextDecorations

Gets a TextDecorationCollection that contains text decorations to apply to this element.

(Inherited from Inline)
TextEffects TextEffects TextEffects TextEffects

Gets or sets a collection of text effects to apply to the content of the element.

(Inherited from TextElement)
ToolTip ToolTip ToolTip ToolTip

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

(Inherited from FrameworkContentElement)
TouchesCaptured TouchesCaptured TouchesCaptured TouchesCaptured

Gets all touch devices that are captured to this element.

(Inherited from ContentElement)
TouchesCapturedWithin TouchesCapturedWithin TouchesCapturedWithin TouchesCapturedWithin

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

(Inherited from ContentElement)
TouchesDirectlyOver TouchesDirectlyOver TouchesDirectlyOver TouchesDirectlyOver

Gets all touch devices that are over this element.

(Inherited from ContentElement)
TouchesOver TouchesOver TouchesOver TouchesOver

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

(Inherited from ContentElement)
Typography Typography Typography Typography

Gets the currently effective typography variations for the content of the element.

(Inherited from TextElement)

Methods

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

Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element.

(Inherited from ContentElement)
AddHandler(RoutedEvent, Delegate, Boolean) AddHandler(RoutedEvent, Delegate, Boolean) AddHandler(RoutedEvent, Delegate, Boolean) AddHandler(RoutedEvent, Delegate, Boolean)

Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.

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

Adds the provided element as a child of this element.

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

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

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

Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation.

(Inherited from ContentElement)
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation.

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

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

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

Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation.

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

Called before an element is initialized.

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

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

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

Begins the sequence of actions that are contained in the provided storyboard, with options specified for what should occur if the property is already animated.

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

Begins the sequence of actions that are contained in the provided storyboard, with specified state for control of the animation after it is started.

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

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

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

Attempts to force capture of the mouse to this element.

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

Attempts to force capture of the stylus to this element.

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

Attempts to force capture of a touch to this element.

(Inherited from ContentElement)
CheckAccess() CheckAccess() CheckAccess() CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

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

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

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

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

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

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

Simulates the act of a user clicking the Hyperlink.

EndInit() EndInit() EndInit() EndInit()

Called immediately after an element is initialized.

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

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

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

Finds an element that has the provided identifier name.

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

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

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

Attempts to set focus to this element.

(Inherited from ContentElement)
GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation.

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

Gets the BindingExpression for the specified property's binding.

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

Gets a hash code for this DependencyObject.

(Inherited from DependencyObject)
GetLocalValueEnumerator() GetLocalValueEnumerator() GetLocalValueEnumerator() GetLocalValueEnumerator()

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

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

Gets the Type of the current instance.

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

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

(Inherited from FrameworkContentElement)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

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

(Inherited from DependencyObject)
InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty)

Re-evaluates the effective value for the specified dependency property

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

Creates a shallow copy of the current Object.

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

Moves the keyboard focus from this element to another element.

(Inherited from FrameworkContentElement)
OnClick() OnClick() OnClick() OnClick()

Handles the Click routed event.

OnContextMenuClosing(ContextMenuEventArgs) OnContextMenuClosing(ContextMenuEventArgs) OnContextMenuClosing(ContextMenuEventArgs) OnContextMenuClosing(ContextMenuEventArgs)

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

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

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

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

Creates and returns an AutomationPeer object for this Hyperlink.

OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs) 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) OnDragLeave(DragEventArgs) OnDragLeave(DragEventArgs) 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) OnDragOver(DragEventArgs) OnDragOver(DragEventArgs) 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) OnDrop(DragEventArgs) OnDrop(DragEventArgs) 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) OnGiveFeedback(GiveFeedbackEventArgs) OnGiveFeedback(GiveFeedbackEventArgs) 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) OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs) OnGotFocus(RoutedEventArgs)

Class handler for the GotFocus event.

(Inherited from FrameworkContentElement)
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) 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) OnGotMouseCapture(MouseEventArgs) OnGotMouseCapture(MouseEventArgs) 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) OnGotStylusCapture(StylusEventArgs) OnGotStylusCapture(StylusEventArgs) 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) OnGotTouchCapture(TouchEventArgs) OnGotTouchCapture(TouchEventArgs) 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) OnInitialized(EventArgs) OnInitialized(EventArgs) OnInitialized(EventArgs)

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

(Inherited from FrameworkContentElement)
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) 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) OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) 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) OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) 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) OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) 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) OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) 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) OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) 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) OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) 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) OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) 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) OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs)

Handles the KeyDown routed event.

OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs) 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) OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs) OnLostFocus(RoutedEventArgs)

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

(Inherited from ContentElement)
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) 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) OnLostMouseCapture(MouseEventArgs) OnLostMouseCapture(MouseEventArgs) 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) OnLostStylusCapture(StylusEventArgs) OnLostStylusCapture(StylusEventArgs) 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) OnLostTouchCapture(TouchEventArgs) OnLostTouchCapture(TouchEventArgs) OnLostTouchCapture(TouchEventArgs)

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

(Inherited from ContentElement)
OnMouseDown(MouseButtonEventArgs) OnMouseDown(MouseButtonEventArgs) OnMouseDown(MouseButtonEventArgs) OnMouseDown(MouseButtonEventArgs)

Invoked when an unhandled MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseEnter(MouseEventArgs) OnMouseEnter(MouseEventArgs) OnMouseEnter(MouseEventArgs) OnMouseEnter(MouseEventArgs)

Invoked when an unhandled MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseLeave(MouseEventArgs) OnMouseLeave(MouseEventArgs) OnMouseLeave(MouseEventArgs) OnMouseLeave(MouseEventArgs)

Invoked when an unhandled MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnMouseLeftButtonDown(MouseButtonEventArgs) OnMouseLeftButtonDown(MouseButtonEventArgs) OnMouseLeftButtonDown(MouseButtonEventArgs) OnMouseLeftButtonDown(MouseButtonEventArgs)

Handles the MouseLeftButtonDown routed event.

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

Handles the MouseLeftButtonUp routed event.

OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs) 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) OnMouseRightButtonDown(MouseButtonEventArgs) OnMouseRightButtonDown(MouseButtonEventArgs) 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) OnMouseRightButtonUp(MouseButtonEventArgs) OnMouseRightButtonUp(MouseButtonEventArgs) 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) OnMouseUp(MouseButtonEventArgs) OnMouseUp(MouseButtonEventArgs) 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) OnMouseWheel(MouseWheelEventArgs) OnMouseWheel(MouseWheelEventArgs) 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) OnPreviewDragEnter(DragEventArgs) OnPreviewDragEnter(DragEventArgs) 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) OnPreviewDragLeave(DragEventArgs) OnPreviewDragLeave(DragEventArgs) 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) OnPreviewDragOver(DragEventArgs) OnPreviewDragOver(DragEventArgs) 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) OnPreviewDrop(DragEventArgs) OnPreviewDrop(DragEventArgs) 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) OnPreviewGiveFeedback(GiveFeedbackEventArgs) OnPreviewGiveFeedback(GiveFeedbackEventArgs) 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) OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) 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) OnPreviewKeyDown(KeyEventArgs) OnPreviewKeyDown(KeyEventArgs) 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) OnPreviewKeyUp(KeyEventArgs) OnPreviewKeyUp(KeyEventArgs) 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) OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) 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) OnPreviewMouseDown(MouseButtonEventArgs) OnPreviewMouseDown(MouseButtonEventArgs) 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) OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) 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) OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) 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) OnPreviewMouseMove(MouseEventArgs) OnPreviewMouseMove(MouseEventArgs) 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) OnPreviewMouseRightButtonDown(MouseButtonEventArgs) OnPreviewMouseRightButtonDown(MouseButtonEventArgs) 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) OnPreviewMouseRightButtonUp(MouseButtonEventArgs) OnPreviewMouseRightButtonUp(MouseButtonEventArgs) 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) OnPreviewMouseUp(MouseButtonEventArgs) OnPreviewMouseUp(MouseButtonEventArgs) 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) OnPreviewMouseWheel(MouseWheelEventArgs) OnPreviewMouseWheel(MouseWheelEventArgs) 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) OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) 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) OnPreviewStylusButtonDown(StylusButtonEventArgs) OnPreviewStylusButtonDown(StylusButtonEventArgs) 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) OnPreviewStylusButtonUp(StylusButtonEventArgs) OnPreviewStylusButtonUp(StylusButtonEventArgs) 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) OnPreviewStylusDown(StylusDownEventArgs) OnPreviewStylusDown(StylusDownEventArgs) 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 ContentElement)
OnPreviewStylusInAirMove(StylusEventArgs) OnPreviewStylusInAirMove(StylusEventArgs) OnPreviewStylusInAirMove(StylusEventArgs) OnPreviewStylusInAirMove(StylusEventArgs)

Invoked when an unhandled PreviewStylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusInRange(StylusEventArgs) OnPreviewStylusInRange(StylusEventArgs) OnPreviewStylusInRange(StylusEventArgs) OnPreviewStylusInRange(StylusEventArgs)

Invoked when an unhandled PreviewStylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusMove(StylusEventArgs) OnPreviewStylusMove(StylusEventArgs) OnPreviewStylusMove(StylusEventArgs) OnPreviewStylusMove(StylusEventArgs)

Invoked when an unhandled PreviewStylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusOutOfRange(StylusEventArgs) OnPreviewStylusOutOfRange(StylusEventArgs) OnPreviewStylusOutOfRange(StylusEventArgs) OnPreviewStylusOutOfRange(StylusEventArgs)

Invoked when an unhandled PreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)

Invoked when an unhandled PreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewStylusUp(StylusEventArgs) OnPreviewStylusUp(StylusEventArgs) OnPreviewStylusUp(StylusEventArgs) OnPreviewStylusUp(StylusEventArgs)

Invoked when an unhandled PreviewStylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewTextInput(TextCompositionEventArgs) OnPreviewTextInput(TextCompositionEventArgs) OnPreviewTextInput(TextCompositionEventArgs) OnPreviewTextInput(TextCompositionEventArgs)

Invoked when an unhandled PreviewTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnPreviewTouchDown(TouchEventArgs) OnPreviewTouchDown(TouchEventArgs) OnPreviewTouchDown(TouchEventArgs) OnPreviewTouchDown(TouchEventArgs)

Provides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element.

(Inherited from ContentElement)
OnPreviewTouchMove(TouchEventArgs) OnPreviewTouchMove(TouchEventArgs) OnPreviewTouchMove(TouchEventArgs) OnPreviewTouchMove(TouchEventArgs)

Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element.

(Inherited from ContentElement)
OnPreviewTouchUp(TouchEventArgs) OnPreviewTouchUp(TouchEventArgs) OnPreviewTouchUp(TouchEventArgs) OnPreviewTouchUp(TouchEventArgs)

Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.

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

Handles notifications that one or more of the dependency properties that exist on the element have had their effective values changed.

(Inherited from TextElement)
OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs)

Invoked when an unhandled QueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnQueryCursor(QueryCursorEventArgs) OnQueryCursor(QueryCursorEventArgs) OnQueryCursor(QueryCursorEventArgs) OnQueryCursor(QueryCursorEventArgs)

Invoked when an unhandled QueryCursor attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

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

Invoked when the style that is in use on this element changes.

(Inherited from FrameworkContentElement)
OnStylusButtonDown(StylusButtonEventArgs) OnStylusButtonDown(StylusButtonEventArgs) OnStylusButtonDown(StylusButtonEventArgs) OnStylusButtonDown(StylusButtonEventArgs)

Invoked when an unhandled StylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusButtonUp(StylusButtonEventArgs) OnStylusButtonUp(StylusButtonEventArgs) OnStylusButtonUp(StylusButtonEventArgs) OnStylusButtonUp(StylusButtonEventArgs)

Invoked when an unhandled StylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusDown(StylusDownEventArgs) OnStylusDown(StylusDownEventArgs) OnStylusDown(StylusDownEventArgs) OnStylusDown(StylusDownEventArgs)

Invoked when an unhandled StylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusEnter(StylusEventArgs) OnStylusEnter(StylusEventArgs) OnStylusEnter(StylusEventArgs) OnStylusEnter(StylusEventArgs)

Invoked when an unhandled StylusEnter attached event is raised by this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusInAirMove(StylusEventArgs) OnStylusInAirMove(StylusEventArgs) OnStylusInAirMove(StylusEventArgs) OnStylusInAirMove(StylusEventArgs)

Invoked when an unhandled StylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusInRange(StylusEventArgs) OnStylusInRange(StylusEventArgs) OnStylusInRange(StylusEventArgs) OnStylusInRange(StylusEventArgs)

Invoked when an unhandled StylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusLeave(StylusEventArgs) OnStylusLeave(StylusEventArgs) OnStylusLeave(StylusEventArgs) OnStylusLeave(StylusEventArgs)

Invoked when an unhandled StylusLeave attached event is raised by this element. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusMove(StylusEventArgs) OnStylusMove(StylusEventArgs) OnStylusMove(StylusEventArgs) OnStylusMove(StylusEventArgs)

Invoked when an unhandled StylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusOutOfRange(StylusEventArgs) OnStylusOutOfRange(StylusEventArgs) OnStylusOutOfRange(StylusEventArgs) OnStylusOutOfRange(StylusEventArgs)

Invoked when an unhandled StylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusSystemGesture(StylusSystemGestureEventArgs) OnStylusSystemGesture(StylusSystemGestureEventArgs) OnStylusSystemGesture(StylusSystemGestureEventArgs) OnStylusSystemGesture(StylusSystemGestureEventArgs)

Invoked when an unhandled StylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnStylusUp(StylusEventArgs) OnStylusUp(StylusEventArgs) OnStylusUp(StylusEventArgs) OnStylusUp(StylusEventArgs)

Invoked when an unhandled StylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

(Inherited from ContentElement)
OnTextInput(TextCompositionEventArgs) OnTextInput(TextCompositionEventArgs) OnTextInput(TextCompositionEventArgs) OnTextInput(TextCompositionEventArgs)

Invoked when an unhandled TextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

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

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

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

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

(Inherited from FrameworkContentElement)
OnTouchDown(TouchEventArgs) OnTouchDown(TouchEventArgs) OnTouchDown(TouchEventArgs) OnTouchDown(TouchEventArgs)

Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element.

(Inherited from ContentElement)
OnTouchEnter(TouchEventArgs) OnTouchEnter(TouchEventArgs) OnTouchEnter(TouchEventArgs) OnTouchEnter(TouchEventArgs)

Provides class handling for the TouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element.

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

Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this element.

(Inherited from ContentElement)
OnTouchMove(TouchEventArgs) OnTouchMove(TouchEventArgs) OnTouchMove(TouchEventArgs) OnTouchMove(TouchEventArgs)

Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.

(Inherited from ContentElement)
OnTouchUp(TouchEventArgs) OnTouchUp(TouchEventArgs) OnTouchUp(TouchEventArgs) OnTouchUp(TouchEventArgs)

Provides class handling for the TouchUp routed event that occurs when a touch is released inside this element.

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

Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. This method is sealed and cannot be overridden.

(Inherited from FrameworkContentElement)
RaiseEvent(RoutedEventArgs) RaiseEvent(RoutedEventArgs) RaiseEvent(RoutedEventArgs) RaiseEvent(RoutedEventArgs)

Raises a specific routed event. The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data).

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

Returns the local value of a dependency property, if it exists.

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

Provides an accessor that simplifies access to the NameScope registration method.

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

Releases all captured touch devices from this element.

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

Releases the mouse capture, if this element held the capture.

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

Releases the stylus device capture, if this element held the capture.

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

Attempts to release the specified touch device from this element.

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

Removes the specified routed event handler from this element.

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

Removes the specified element from the logical tree for this element.

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

Attaches a binding to this element, based on the provided binding object.

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

Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.

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

Sets the value of a dependency property without changing its value source.

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

Searches for a resource with the specified name and sets up a resource reference to it for the specified property.

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

Sets the local value of a dependency property, specified by its dependency property identifier.

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

Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.

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

Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class.

(Inherited from ContentElement)
ShouldSerializeInlines(XamlDesignerSerializationManager) ShouldSerializeInlines(XamlDesignerSerializationManager) ShouldSerializeInlines(XamlDesignerSerializationManager) ShouldSerializeInlines(XamlDesignerSerializationManager)

Returns a value that indicates whether the content of a Span element should be serialized during serialization of a Run object.

(Inherited from Span)
ShouldSerializeInputBindings() ShouldSerializeInputBindings() ShouldSerializeInputBindings() ShouldSerializeInputBindings()

Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class.

(Inherited from ContentElement)
ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty)

Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

(Inherited from DependencyObject)
ShouldSerializeResources() ShouldSerializeResources() ShouldSerializeResources() ShouldSerializeResources()

Returns whether serialization processes should serialize the contents of the Resources property on instances of this class.

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

Returns whether serialization processes should serialize the contents of the Style property on instances of this class.

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

Returns a string that represents the current object.

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

Searches for a resource with the specified key, and returns that resource if found.

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

Simplifies access to the NameScope de-registration method.

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

Reapplies the default style to the current FrameworkContentElement.

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

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Events

Click Click Click Click

Occurs when the left mouse button is clicked on a Hyperlink.

ContextMenuClosing ContextMenuClosing ContextMenuClosing ContextMenuClosing

Occurs just before any context menu on the element is closed.

(Inherited from FrameworkContentElement)
ContextMenuOpening ContextMenuOpening ContextMenuOpening ContextMenuOpening

Occurs when any context menu on the element is opened.

(Inherited from FrameworkContentElement)
DataContextChanged DataContextChanged DataContextChanged DataContextChanged

Occurs when this element's data context changes.

(Inherited from FrameworkContentElement)
DragEnter DragEnter DragEnter DragEnter

Occurs when the input system reports an underlying drag event with this element as the drag target.

(Inherited from ContentElement)
DragLeave DragLeave DragLeave DragLeave

Occurs when the input system reports an underlying drag event with this element as the drag origin.

(Inherited from ContentElement)
DragOver DragOver DragOver DragOver

Occurs when the input system reports an underlying drag event with this element as the potential drop target.

(Inherited from ContentElement)
Drop Drop Drop Drop

Occurs when the input system reports an underlying drop event with this element as the drop target.

(Inherited from ContentElement)
FocusableChanged FocusableChanged FocusableChanged FocusableChanged

Occurs when the value of the Focusable property changes.

(Inherited from ContentElement)
GiveFeedback GiveFeedback GiveFeedback GiveFeedback

Occurs when the input system reports an underlying drag-and-drop event that involves this element.

(Inherited from ContentElement)
GotFocus GotFocus GotFocus GotFocus

Occurs when this element gets logical focus.

(Inherited from ContentElement)
GotKeyboardFocus GotKeyboardFocus GotKeyboardFocus GotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from ContentElement)
GotMouseCapture GotMouseCapture GotMouseCapture GotMouseCapture

Occurs when this element captures the mouse.

(Inherited from ContentElement)
GotStylusCapture GotStylusCapture GotStylusCapture GotStylusCapture

Occurs when this element captures the stylus.

(Inherited from ContentElement)
GotTouchCapture GotTouchCapture GotTouchCapture GotTouchCapture

Occurs when a touch is captured to this element.

(Inherited from ContentElement)
Initialized Initialized Initialized Initialized

Occurs when this FrameworkContentElement is initialized. This coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true.

(Inherited from FrameworkContentElement)
IsEnabledChanged IsEnabledChanged IsEnabledChanged IsEnabledChanged

Occurs when the value of the IsEnabled property on this element changes.

(Inherited from ContentElement)
IsKeyboardFocusedChanged IsKeyboardFocusedChanged IsKeyboardFocusedChanged IsKeyboardFocusedChanged

Occurs when the value of the IsKeyboardFocused property changes on this element.

(Inherited from ContentElement)
IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged IsKeyboardFocusWithinChanged

Occurs when the value of the IsKeyboardFocusWithinChanged property changes on this element.

(Inherited from ContentElement)
IsMouseCapturedChanged IsMouseCapturedChanged IsMouseCapturedChanged IsMouseCapturedChanged

Occurs when the value of the IsMouseCaptured property changes on this element.

(Inherited from ContentElement)
IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged IsMouseCaptureWithinChanged

Occurs when the value of the IsMouseCaptureWithinProperty changes on this element.

(Inherited from ContentElement)
IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged IsMouseDirectlyOverChanged

Occurs when the value of the IsMouseDirectlyOver property changes on this element.

(Inherited from ContentElement)
IsStylusCapturedChanged IsStylusCapturedChanged IsStylusCapturedChanged IsStylusCapturedChanged

Occurs when the value of the IsStylusCaptured property changes on this element.

(Inherited from ContentElement)
IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged IsStylusCaptureWithinChanged

Occurs when the value of the IsStylusCaptureWithin property changes on this element.

(Inherited from ContentElement)
IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged IsStylusDirectlyOverChanged

Occurs when the value of the IsStylusDirectlyOver property changes on this element.

(Inherited from ContentElement)
KeyDown KeyDown KeyDown KeyDown

Occurs when a key is pressed while focus is on this element.

(Inherited from ContentElement)
KeyUp KeyUp KeyUp KeyUp

Occurs when a key is released while focus is on this element.

(Inherited from ContentElement)
Loaded Loaded Loaded Loaded

Occurs when the element is laid out, rendered, and ready for interaction.

(Inherited from FrameworkContentElement)
LostFocus LostFocus LostFocus LostFocus

Occurs when this element loses logical focus.

(Inherited from ContentElement)
LostKeyboardFocus LostKeyboardFocus LostKeyboardFocus LostKeyboardFocus

Occurs when the keyboard is no longer focused on this element.

(Inherited from ContentElement)
LostMouseCapture LostMouseCapture LostMouseCapture LostMouseCapture

Occurs when this element loses mouse capture.

(Inherited from ContentElement)
LostStylusCapture LostStylusCapture LostStylusCapture LostStylusCapture

Occurs when this element loses stylus capture.

(Inherited from ContentElement)
LostTouchCapture LostTouchCapture LostTouchCapture LostTouchCapture

Occurs when this element loses a touch capture.

(Inherited from ContentElement)
MouseDown MouseDown MouseDown MouseDown

Occurs when any mouse button is pressed while the pointer is over this element.

(Inherited from ContentElement)
MouseEnter MouseEnter MouseEnter MouseEnter

Occurs when the mouse pointer enters the bounds of this element.

(Inherited from ContentElement)
MouseLeave MouseLeave MouseLeave MouseLeave

Occurs when the mouse pointer leaves the bounds of this element.

(Inherited from ContentElement)
MouseLeftButtonDown MouseLeftButtonDown MouseLeftButtonDown MouseLeftButtonDown

Occurs when the left mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseLeftButtonUp MouseLeftButtonUp MouseLeftButtonUp MouseLeftButtonUp

Occurs when the left mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseMove MouseMove MouseMove MouseMove

Occurs when the mouse pointer moves while over this element.

(Inherited from ContentElement)
MouseRightButtonDown MouseRightButtonDown MouseRightButtonDown MouseRightButtonDown

Occurs when the right mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseRightButtonUp MouseRightButtonUp MouseRightButtonUp MouseRightButtonUp

Occurs when the right mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
MouseUp MouseUp MouseUp MouseUp

Occurs when any mouse button is released over this element.

(Inherited from ContentElement)
MouseWheel MouseWheel MouseWheel MouseWheel

Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewDragEnter PreviewDragEnter PreviewDragEnter PreviewDragEnter

Occurs when the input system reports an underlying drag event with this element as the drag target.

(Inherited from ContentElement)
PreviewDragLeave PreviewDragLeave PreviewDragLeave PreviewDragLeave

Occurs when the input system reports an underlying drag event with this element as the drag origin.

(Inherited from ContentElement)
PreviewDragOver PreviewDragOver PreviewDragOver PreviewDragOver

Occurs when the input system reports an underlying drag event with this element as the potential drop target.

(Inherited from ContentElement)
PreviewDrop PreviewDrop PreviewDrop PreviewDrop

Occurs when the input system reports an underlying drop event with this element as the drop target.

(Inherited from ContentElement)
PreviewGiveFeedback PreviewGiveFeedback PreviewGiveFeedback PreviewGiveFeedback

Occurs when a drag-and-drop operation is started.

(Inherited from ContentElement)
PreviewGotKeyboardFocus PreviewGotKeyboardFocus PreviewGotKeyboardFocus PreviewGotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewKeyDown PreviewKeyDown PreviewKeyDown PreviewKeyDown

Occurs when a key is pressed while the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewKeyUp PreviewKeyUp PreviewKeyUp PreviewKeyUp

Occurs when a key is released while the keyboard is focused on this element.

(Inherited from ContentElement)
PreviewLostKeyboardFocus PreviewLostKeyboardFocus PreviewLostKeyboardFocus PreviewLostKeyboardFocus

Occurs when the keyboard is no longer focused on this element.

(Inherited from ContentElement)
PreviewMouseDown PreviewMouseDown PreviewMouseDown PreviewMouseDown

Occurs when any mouse button is pressed while the pointer is over this element.

(Inherited from ContentElement)
PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown PreviewMouseLeftButtonDown

Occurs when the left mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp PreviewMouseLeftButtonUp

Occurs when the left mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseMove PreviewMouseMove PreviewMouseMove PreviewMouseMove

Occurs when the mouse pointer moves while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseRightButtonDown PreviewMouseRightButtonDown PreviewMouseRightButtonDown PreviewMouseRightButtonDown

Occurs when the right mouse button is pressed while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseRightButtonUp PreviewMouseRightButtonUp PreviewMouseRightButtonUp PreviewMouseRightButtonUp

Occurs when the right mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseUp PreviewMouseUp PreviewMouseUp PreviewMouseUp

Occurs when any mouse button is released while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewMouseWheel PreviewMouseWheel PreviewMouseWheel PreviewMouseWheel

Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

(Inherited from ContentElement)
PreviewQueryContinueDrag PreviewQueryContinueDrag PreviewQueryContinueDrag PreviewQueryContinueDrag

Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

(Inherited from ContentElement)
PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown PreviewStylusButtonDown

Occurs when the stylus button is pressed while the pointer is over this element.

(Inherited from ContentElement)
PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp PreviewStylusButtonUp

Occurs when the stylus button is released while the pointer is over this element.

(Inherited from ContentElement)
PreviewStylusDown PreviewStylusDown PreviewStylusDown PreviewStylusDown

Occurs when the stylus touches the digitizer while it is over this element.

(Inherited from ContentElement)
PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove PreviewStylusInAirMove

Occurs when the stylus moves over an element without actually touching the digitizer.

(Inherited from ContentElement)
PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange PreviewStylusInRange

Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

(Inherited from ContentElement)
PreviewStylusMove PreviewStylusMove PreviewStylusMove PreviewStylusMove

Occurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead.

(Inherited from ContentElement)
PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange PreviewStylusOutOfRange

Occurs when the stylus is too far from the digitizer to be detected.

(Inherited from ContentElement)
PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture PreviewStylusSystemGesture

Occurs when a user performs one of several stylus gestures.

(Inherited from ContentElement)
PreviewStylusUp PreviewStylusUp PreviewStylusUp PreviewStylusUp

Occurs when the user raises the stylus off the digitizer while the stylus is over this element.

(Inherited from ContentElement)
PreviewTextInput PreviewTextInput PreviewTextInput PreviewTextInput

Occurs when this element gets text in a device-independent manner.

(Inherited from ContentElement)
PreviewTouchDown PreviewTouchDown PreviewTouchDown PreviewTouchDown

Occurs when a finger touches the screen while the finger is over this element.

(Inherited from ContentElement)
PreviewTouchMove PreviewTouchMove PreviewTouchMove PreviewTouchMove

Occurs when a finger moves on the screen while the finger is over this element.

(Inherited from ContentElement)
PreviewTouchUp PreviewTouchUp PreviewTouchUp PreviewTouchUp

Occurs when a finger is raised off of the screen while the finger is over this element.

(Inherited from ContentElement)
QueryContinueDrag QueryContinueDrag QueryContinueDrag QueryContinueDrag

Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

(Inherited from ContentElement)
QueryCursor QueryCursor QueryCursor QueryCursor

Occurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position.

(Inherited from ContentElement)
RequestNavigate RequestNavigate RequestNavigate RequestNavigate

Occurs when navigation events are requested.

SourceUpdated SourceUpdated SourceUpdated SourceUpdated

Occurs when any associated data source participating in a binding on this element changes.

(Inherited from FrameworkContentElement)
StylusButtonDown StylusButtonDown StylusButtonDown StylusButtonDown

Occurs when the stylus button is pressed while the pointer is over this element.

(Inherited from ContentElement)
StylusButtonUp StylusButtonUp StylusButtonUp StylusButtonUp

Occurs when the stylus button is released while the pointer is over this element.

(Inherited from ContentElement)
StylusDown StylusDown StylusDown StylusDown

Occurs when the stylus touches the digitizer while the stylus is over this element.

(Inherited from ContentElement)
StylusEnter StylusEnter StylusEnter StylusEnter

Occurs when the stylus enters the bounds of this element.

(Inherited from ContentElement)
StylusInAirMove StylusInAirMove StylusInAirMove StylusInAirMove

Occurs when the stylus moves over an element without actually touching the digitizer.

(Inherited from ContentElement)
StylusInRange StylusInRange StylusInRange StylusInRange

Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

(Inherited from ContentElement)
StylusLeave StylusLeave StylusLeave StylusLeave

Occurs when the stylus leaves the bounds of the element.

(Inherited from ContentElement)
StylusMove StylusMove StylusMove StylusMove

Occurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead.

(Inherited from ContentElement)
StylusOutOfRange StylusOutOfRange StylusOutOfRange StylusOutOfRange

Occurs when the stylus is too far from the digitizer to be detected, while over this element.

(Inherited from ContentElement)
StylusSystemGesture StylusSystemGesture StylusSystemGesture StylusSystemGesture

Occurs when a user performs one of several stylus gestures.

(Inherited from ContentElement)
StylusUp StylusUp StylusUp StylusUp

Occurs when the user raises the stylus off the digitizer while it is over this element.

(Inherited from ContentElement)
TargetUpdated TargetUpdated TargetUpdated TargetUpdated

Occurs when any associated target property participating in a binding on this element changes.

(Inherited from FrameworkContentElement)
TextInput TextInput TextInput TextInput

Occurs when this element gets text in a device-independent manner.

(Inherited from ContentElement)
ToolTipClosing ToolTipClosing ToolTipClosing ToolTipClosing

Occurs just before any tooltip on the element is closed.

(Inherited from FrameworkContentElement)
ToolTipOpening ToolTipOpening ToolTipOpening ToolTipOpening

Occurs when any tooltip on the element is opened.

(Inherited from FrameworkContentElement)
TouchDown TouchDown TouchDown TouchDown

Occurs when a finger touches the screen while the finger is over this element.

(Inherited from ContentElement)
TouchEnter TouchEnter TouchEnter TouchEnter

Occurs when a touch moves from outside to inside the bounds of this element.

(Inherited from ContentElement)
TouchLeave TouchLeave TouchLeave TouchLeave

Occurs when a touch moves from inside to outside the bounds of this element.

(Inherited from ContentElement)
TouchMove TouchMove TouchMove TouchMove

Occurs when a finger moves on the screen while the finger is over this element.

(Inherited from ContentElement)
TouchUp TouchUp TouchUp TouchUp

Occurs when a finger is raised off of the screen while the finger is over this element.

(Inherited from ContentElement)
Unloaded Unloaded Unloaded Unloaded

Occurs when the element is removed from an element tree of loaded elements.

(Inherited from FrameworkContentElement)

Explicit Interface Implementations

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

Adds a child object.

(Inherited from TextElement)
IAddChild.AddText(String) IAddChild.AddText(String) IAddChild.AddText(String) IAddChild.AddText(String)

Adds the text content of a node to the object.

(Inherited from TextElement)
IQueryAmbient.IsAmbientPropertyAvailable(String) IQueryAmbient.IsAmbientPropertyAvailable(String) IQueryAmbient.IsAmbientPropertyAvailable(String) IQueryAmbient.IsAmbientPropertyAvailable(String)

For a description of this member, see the IsAmbientPropertyAvailable(String) method.

(Inherited from FrameworkContentElement)
IUriContext.BaseUri IUriContext.BaseUri IUriContext.BaseUri IUriContext.BaseUri

Gets or sets a base URI for the Hyperlink.

Applies to