FrameworkContentElement Members

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

The following tables list the members exposed by the FrameworkContentElement type.

  Name Description
Public method FrameworkContentElement Initializes a new instance of the FrameworkContentElement class.
Top

(see also Protected Fields )
  Name Description
Public field Static ContextMenuClosingEvent Identifies the ContextMenuClosing routed event.
Public field Static ContextMenuOpeningEvent Identifies the ContextMenuOpening routed event.
Public field Static ContextMenuProperty Identifies the ContextMenu dependency property.
Public field Static CursorProperty Identifies the Cursor dependency property.
Public field Static DataContextProperty Identifies the DataContext dependency property.
Public field Static FocusVisualStyleProperty Identifies the FocusVisualStyle dependency property.
Public field Static ForceCursorProperty Identifies the ForceCursor dependency property.
Public field Static InputScopeProperty Identifies the InputScope dependency property.
Public field Static LanguageProperty Identifies the Language dependency property.
Public field Static LoadedEvent Identifies the Loaded routed event.
Public field Static NameProperty Identifies the Name dependency property.
Public field Static OverridesDefaultStyleProperty Identifies the OverridesDefaultStyle dependency property.
Public field Static StyleProperty Identifies the Style dependency property.
Public field Static TagProperty Identifies the Tag dependency property.
Public field Static ToolTipClosingEvent Identifies the ToolTipClosing routed event.
Public field Static ToolTipOpeningEvent Identifies the ToolTipOpening routed event.
Public field Static ToolTipProperty Identifies the ToolTip dependency property.
Public field Static UnloadedEvent Identifies the Unloaded routed event.
Top

  Name Description
Protected field Static DefaultStyleKeyProperty Identifies the DefaultStyleKey dependency property.
Top

(see also Protected Properties )
  Name Description
Public property AllowDrop  Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation. This is a dependency property.(inherited from ContentElement)
Public property CommandBindings  Gets a collection of CommandBinding objects that are associated with this element. (inherited from ContentElement)
Public property 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. This is a dependency property.
Public property Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property.
Public property DataContext Gets or sets the data context for an element when it participates in data binding. This is a dependency property.
Public property DependencyObjectType  Gets the DependencyObjectType that wraps the CLR type of this instance. (inherited from DependencyObject)
Public property Dispatcher  Gets the Dispatcher this DispatcherObject is associated with. (inherited from DispatcherObject)
Public property Focusable  Gets or sets a value that indicates whether the element can receive focus. This is a dependency property.(inherited from ContentElement)
Public property 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. This is a dependency property.
Public property 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. This is a dependency property.
Public property HasAnimatedProperties  Gets a value that indicates whether this element has any animated properties. (inherited from ContentElement)
Public property InputBindings  Gets the collection of input bindings that are associated with this element. (inherited from ContentElement)
Public property InputScope Gets or sets the context for input used by this FrameworkContentElement. This is a dependency property.
Public property IsEnabled  Gets or sets a value that indicates whether this element is enabled in the user interface (UI). This is a dependency property.(inherited from ContentElement)
Public property IsFocused  Gets a value that determines whether this element has logical focus. This is a dependency property.(inherited from ContentElement)
Public property 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.
Public property 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)
Public property IsKeyboardFocused  Gets a value that indicates whether this element has keyboard focus. This is a dependency property.(inherited from ContentElement)
Public property IsKeyboardFocusWithin  Gets a value that indicates whether keyboard focus is anywhere within the element or child elements. This is a dependency property.(inherited from ContentElement)
Public property IsLoaded Gets a value indicating whether this element has been loaded for presentation.
Public property IsMouseCaptured  Gets a value that indicates whether the mouse is captured by this element. This is a dependency property.(inherited from ContentElement)
Public property IsMouseCaptureWithin  Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree. This is a dependency property.(inherited from ContentElement)
Public property IsMouseDirectlyOver  Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property.(inherited from ContentElement)
Public property IsMouseOver  Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing). This is a dependency property.(inherited from ContentElement)
Public property IsSealed  Gets a value that declares whether this instance is currently read-only.(inherited from DependencyObject)
Public property IsStylusCaptured  Gets a value that indicates whether the stylus is captured to this element. This is a dependency property.(inherited from ContentElement)
Public property IsStylusCaptureWithin  Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing. This is a dependency property.(inherited from ContentElement)
Public property IsStylusDirectlyOver  Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property.(inherited from ContentElement)
Public property IsStylusOver  Gets a value that indicates whether the stylus is located over this element (including visual child elements). This is a dependency property.(inherited from ContentElement)
Public property Language Gets or sets localization/globalization language information that applies to an individual element. This is a dependency property.
Public property 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. This is a dependency property.
Public property OverridesDefaultStyle Gets or sets a value indicating whether this element incorporates style properties from theme styles. This is a dependency property.
Public property Parent Gets the parent in the logical tree for this element.
Public property Resources Gets or sets the current locally-defined resource dictionary.
Public property Style Gets or sets the style to be used by this element. This is a dependency property.
Public property Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property.
Public property 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.
Public property ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). This is a dependency property.
Top

  Name Description
Protected property DefaultStyleKey Gets or sets the key to use to find the style template for this control in themes. This is a dependency property.
Protected property IsEnabledCore  Gets a value that becomes the return value of IsEnabled in derived classes. (inherited from ContentElement)
Protected property LogicalChildren Gets an enumerator for the logical child elements of this element.
Top

(see also Protected Methods )
  Name Description
Public method AddHandler  Overloaded. Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. (inherited from ContentElement)
Public method AddToEventRoute  Adds handlers to the specified EventRoute for the current ContentElement event handler collection. (inherited from ContentElement)
Public method ApplyAnimationClock  Overloaded. Applies an animation to a specified dependency property on this element. (inherited from ContentElement)
Public method BeginAnimation  Overloaded. Starts an animation for a specified animated property on this element. (inherited from ContentElement)
Public method BeginInit Called before an element is initialized.
Public method BeginStoryboard Overloaded. Begins the sequence of actions that are contained in the provided storyboard.
Public method BringIntoView Attempts to bring this element into view, within any scrollable regions it is contained within.
Public method CaptureMouse  Attempts to force capture of the mouse to this element. (inherited from ContentElement)
Public method CaptureStylus  Attempts to force capture of the stylus to this element. (inherited from ContentElement)
Public method CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Public method ClearValue  Overloaded. Clears the local value of a property. (inherited from DependencyObject)
Public method CoerceValue  Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the property on this type. (inherited from DependencyObject)
Public method EndInit Called immediately after an element is initialized.
Public method Equals  Overloaded. Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (inherited from DependencyObject)
Public method FindName Finds an element that has the provided identifier name.
Public method FindResource Searches for a resource with the specified key, and will raise an exception if the requested resource is not found.
Public method Focus  Attempts to focus the keyboard on this element. (inherited from ContentElement)
Public method GetAnimationBaseValue  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)
Public method GetBindingExpression Gets the BindingExpression for the specified property's binding.
Public method GetHashCode  Gets a hash code for this DependencyObject. (inherited from DependencyObject)
Public method GetLocalValueEnumerator  Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (inherited from DependencyObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method GetValue  Returns the current effective value of a dependency property on this instance of a DependencyObject. (inherited from DependencyObject)
Public method InvalidateProperty  Re-evaluates the effective value for the specified dependency property (inherited from DependencyObject)
Public method MoveFocus Overridden. Moves the keyboard focus from this element to another element.
Public method PredictFocus Overridden. 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.
Public method RaiseEvent  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)
Public method ReadLocalValue  Returns the local value of a dependency property, if it exists. (inherited from DependencyObject)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RegisterName Provides an accessor that simplifies access to the NameScope registration method.
Public method ReleaseMouseCapture  Releases the mouse capture, if this element held the capture. (inherited from ContentElement)
Public method ReleaseStylusCapture  Releases the stylus device capture, if this element held the capture. (inherited from ContentElement)
Public method RemoveHandler  Removes the specified routed event handler from this element. (inherited from ContentElement)
Public method SetBinding Overloaded. Attaches a binding to this element for the specified dependency property.
Public method SetResourceReference Searches for a resource with the specified name and sets up a resource reference to it for the specified property.
Public method SetValue  Overloaded. Sets the local value of a dependency property. (inherited from DependencyObject)
Public method ShouldSerializeCommandBindings  Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class. (inherited from ContentElement)
Public method ShouldSerializeInputBindings  Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class. (inherited from ContentElement)
Public method ShouldSerializeResources Returns whether serialization processes should serialize the contents of the Resources property on instances of this class.
Public method ShouldSerializeStyle Returns whether serialization processes should serialize the contents of the Style property on instances of this class.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method TryFindResource Searches for a resource with the specified key, and returns that resource if found.
Public method UnregisterName Simplifies access to the NameScope de-registration method.
Public method VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (inherited from DispatcherObject)
Top

  Name Description
Protected method AddLogicalChild Adds the provided element as a child of this element.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method GetUIParentCore Overridden. 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.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method OnContextMenuClosing Invoked whenever the ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event.
Protected method OnContextMenuOpening Invoked whenever the ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.
Protected method OnCreateAutomationPeer  Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure. (inherited from ContentElement)
Protected method OnDragEnter  Invoked when an unhandled DragDrop.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)
Protected method OnDragLeave  Invoked when an unhandled DragDrop.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)
Protected method OnDragOver  Invoked when an unhandled DragDrop.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)
Protected method OnDrop  Invoked when an unhandled DragDrop.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)
Protected method OnGiveFeedback  Invoked when an unhandled DragDrop.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)
Protected method OnGotFocus Overridden. Class handler for the GotFocus event.
Protected method OnGotKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnGotMouseCapture  Invoked when an unhandled Mouse.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)
Protected method OnGotStylusCapture  Invoked when an unhandled Stylus.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)
Protected method OnInitialized Raises the Initialized event. This method is invoked whenever IsInitialized is set to true.
Protected method OnIsKeyboardFocusedChanged  Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsKeyboardFocusWithinChanged  Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsMouseCapturedChanged  Invoked when an unhandled IsMouseCapturedChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsMouseCaptureWithinChanged  Invoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsMouseDirectlyOverChanged  Invoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsStylusCapturedChanged  Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsStylusCaptureWithinChanged  Invoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnIsStylusDirectlyOverChanged  Invoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnKeyDown  Invoked when an unhandled Keyboard.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)
Protected method OnKeyUp  Invoked when an unhandled Keyboard.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)
Protected method OnLostFocus  Raises the LostFocus routed event by using the event data that is provided. (inherited from ContentElement)
Protected method OnLostKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnLostMouseCapture  Invoked when an unhandled Mouse.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)
Protected method OnLostStylusCapture  Invoked when an unhandled Stylus.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)
Protected method OnMouseDown  Invoked when an unhandled Mouse.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)
Protected method OnMouseEnter  Invoked when an unhandled Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnMouseLeave  Invoked when an unhandled Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnMouseLeftButtonDown  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)
Protected method OnMouseLeftButtonUp  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)
Protected method OnMouseMove  Invoked when an unhandled Mouse.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)
Protected method OnMouseRightButtonDown  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)
Protected method OnMouseRightButtonUp  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)
Protected method OnMouseUp  Invoked when an unhandled Mouse.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)
Protected method OnMouseWheel  Invoked when an unhandled Mouse.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)
Protected method OnPreviewDragEnter  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewDragLeave  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewDragOver  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewDrop  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewGiveFeedback  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewGotKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewKeyDown  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewKeyUp  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewLostKeyboardFocus  Invoked when an unhandled Keyboard.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)
Protected method OnPreviewMouseDown  Invoked when an unhandled Mouse.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)
Protected method OnPreviewMouseLeftButtonDown  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)
Protected method OnPreviewMouseLeftButtonUp  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)
Protected method OnPreviewMouseMove  Invoked when an unhandled Mouse.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)
Protected method OnPreviewMouseRightButtonDown  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)
Protected method OnPreviewMouseRightButtonUp  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)
Protected method OnPreviewMouseUp  Invoked when an unhandled Mouse.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)
Protected method OnPreviewMouseWheel  Invoked when an unhandled Mouse.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)
Protected method OnPreviewQueryContinueDrag  Invoked when an unhandled DragDrop.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)
Protected method OnPreviewStylusButtonDown  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusButtonUp  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusDown  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusInAirMove  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusInRange  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusMove  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusOutOfRange  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusSystemGesture  Invoked when an unhandled Stylus.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)
Protected method OnPreviewStylusUp  Invoked when an unhandled Stylus.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)
Protected method OnPreviewTextInput  Invoked when an unhandled TextCompositionManager.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)
Protected method OnPropertyChanged Overridden. Invoked whenever the effective value of any dependency property on this FrameworkContentElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged.
Protected method OnQueryContinueDrag  Invoked when an unhandled DragDrop.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)
Protected method OnQueryCursor  Invoked when an unhandled Mouse.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)
Protected method OnStyleChanged Invoked when the style that is in use on this element changes.
Protected method OnStylusButtonDown  Invoked when an unhandled Stylus.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)
Protected method OnStylusButtonUp  Invoked when an unhandled Stylus.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)
Protected method OnStylusDown  Invoked when an unhandled Stylus.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)
Protected method OnStylusEnter  Invoked when an unhandled Stylus.StylusEnter attached event is raised by this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnStylusInAirMove  Invoked when an unhandled Stylus.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)
Protected method OnStylusInRange  Invoked when an unhandled Stylus.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)
Protected method OnStylusLeave  Invoked when an unhandled Stylus.StylusLeave attached event is raised by this element. Implement this method to add class handling for this event. (inherited from ContentElement)
Protected method OnStylusMove  Invoked when an unhandled Stylus.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)
Protected method OnStylusOutOfRange  Invoked when an unhandled Stylus.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)
Protected method OnStylusSystemGesture  Invoked when an unhandled Stylus.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)
Protected method OnStylusUp  Invoked when an unhandled Stylus.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)
Protected method OnTextInput  Invoked when an unhandled TextCompositionManager.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)
Protected method OnToolTipClosing Invoked whenever the ToolTipClosing routed event reaches this class in its route. Implement this method to add class handling for this event.
Protected method OnToolTipOpening Invoked whenever the ToolTipOpening routed event reaches this class in its route. Implement this method to add class handling for this event.
Protected method RemoveLogicalChild Removes the specified element from the logical tree for this element.
Protected method ShouldSerializeProperty  Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (inherited from DependencyObject)
Top

  Name Description
Public event ContextMenuClosing Occurs just before any context menu on the element is closed.
Public event ContextMenuOpening Occurs when any context menu on the element is opened.
Public event DataContextChanged Occurs when this element's data context changes.
Public event DragEnter  Occurs when the input system reports an underlying drag event with this element as the drag target. (inherited from ContentElement)
Public event DragLeave  Occurs when the input system reports an underlying drag event with this element as the drag origin. (inherited from ContentElement)
Public event DragOver  Occurs when the input system reports an underlying drag event with this element as the potential drop target. (inherited from ContentElement)
Public event Drop  Occurs when the input system reports an underlying drop event with this element as the drop target. (inherited from ContentElement)
Public event FocusableChanged  Occurs when the value of the Focusable property changes.(inherited from ContentElement)
Public event GiveFeedback  Occurs when the input system reports an underlying drag-and-drop event that involves this element. (inherited from ContentElement)
Public event GotFocus  Occurs when this element gets logical focus. (inherited from ContentElement)
Public event GotKeyboardFocus  Occurs when the keyboard is focused on this element. (inherited from ContentElement)
Public event GotMouseCapture  Occurs when this element captures the mouse. (inherited from ContentElement)
Public event GotStylusCapture  Occurs when this element captures the stylus. (inherited from ContentElement)
Public event 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.
Public event IsEnabledChanged  Occurs when the value of the IsEnabled property on this element changes. (inherited from ContentElement)
Public event IsKeyboardFocusedChanged  Occurs when the value of the IsKeyboardFocused property changes on this element. (inherited from ContentElement)
Public event IsKeyboardFocusWithinChanged  Occurs when the value of the IsKeyboardFocusWithinChanged property changes on this element. (inherited from ContentElement)
Public event IsMouseCapturedChanged  Occurs when the value of the IsMouseCaptured property changes on this element. (inherited from ContentElement)
Public event IsMouseCaptureWithinChanged  Occurs when the value of the IsMouseCaptureWithinProperty changes on this element.(inherited from ContentElement)
Public event IsMouseDirectlyOverChanged  Occurs when the value of the IsMouseDirectlyOver property changes on this element. (inherited from ContentElement)
Public event IsStylusCapturedChanged  Occurs when the value of the IsStylusCaptured property changes on this element. (inherited from ContentElement)
Public event IsStylusCaptureWithinChanged  Occurs when the value of the IsStylusCaptureWithin property changes on this element. (inherited from ContentElement)
Public event IsStylusDirectlyOverChanged  Occurs when the value of the IsStylusDirectlyOver property changes on this element. (inherited from ContentElement)
Public event KeyDown  Occurs when a key is pressed while the keyboard is focused on this element. (inherited from ContentElement)
Public event KeyUp  Occurs when a key is released while the keyboard is focused on this element. (inherited from ContentElement)
Public event Loaded Occurs when the element is laid out, rendered, and ready for interaction.
Public event LostFocus  Occurs when this element loses logical focus. (inherited from ContentElement)
Public event LostKeyboardFocus  Occurs when the keyboard is no longer focused on this element. (inherited from ContentElement)
Public event LostMouseCapture  Occurs when this element loses mouse capture. (inherited from ContentElement)
Public event LostStylusCapture  Occurs when this element loses stylus capture. (inherited from ContentElement)
Public event MouseDown  Occurs when any mouse button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event MouseEnter  Occurs when the mouse pointer enters the bounds of this element. (inherited from ContentElement)
Public event MouseLeave  Occurs when the mouse pointer leaves the bounds of this element. (inherited from ContentElement)
Public event MouseLeftButtonDown  Occurs when the left mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseLeftButtonUp  Occurs when the left mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseMove  Occurs when the mouse pointer moves while over this element. (inherited from ContentElement)
Public event MouseRightButtonDown  Occurs when the right mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseRightButtonUp  Occurs when the right mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event MouseUp  Occurs when any mouse button is released over this element.(inherited from ContentElement)
Public event MouseWheel  Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewDragEnter  Occurs when the input system reports an underlying drag event with this element as the drag target. (inherited from ContentElement)
Public event PreviewDragLeave  Occurs when the input system reports an underlying drag event with this element as the drag origin. (inherited from ContentElement)
Public event PreviewDragOver  Occurs when the input system reports an underlying drag event with this element as the potential drop target. (inherited from ContentElement)
Public event PreviewDrop  Occurs when the input system reports an underlying drop event with this element as the drop target. (inherited from ContentElement)
Public event PreviewGiveFeedback  Occurs when a drag-and-drop operation is started. (inherited from ContentElement)
Public event PreviewGotKeyboardFocus  Occurs when the keyboard is focused on this element. (inherited from ContentElement)
Public event PreviewKeyDown  Occurs when a key is pressed while the keyboard is focused on this element. (inherited from ContentElement)
Public event PreviewKeyUp  Occurs when a key is released while the keyboard is focused on this element. (inherited from ContentElement)
Public event PreviewLostKeyboardFocus  Occurs when the keyboard is no longer focused on this element. (inherited from ContentElement)
Public event PreviewMouseDown  Occurs when any mouse button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event PreviewMouseLeftButtonDown  Occurs when the left mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseLeftButtonUp  Occurs when the left mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseMove  Occurs when the mouse pointer moves while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseRightButtonDown  Occurs when the right mouse button is pressed while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseRightButtonUp  Occurs when the right mouse button is released while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewMouseUp  Occurs when any mouse button is released while the mouse pointer is over this element.(inherited from ContentElement)
Public event PreviewMouseWheel  Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. (inherited from ContentElement)
Public event PreviewQueryContinueDrag  Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (inherited from ContentElement)
Public event PreviewStylusButtonDown  Occurs when the stylus button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event PreviewStylusButtonUp  Occurs when the stylus button is released while the pointer is over this element.(inherited from ContentElement)
Public event PreviewStylusDown  Occurs when the stylus touches the digitizer while it is over this element. (inherited from ContentElement)
Public event PreviewStylusInAirMove  Occurs when the stylus moves over an element without actually touching the digitizer. (inherited from ContentElement)
Public event PreviewStylusInRange  Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (inherited from ContentElement)
Public event 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)
Public event PreviewStylusOutOfRange  Occurs when the stylus is too far from the digitizer to be detected. (inherited from ContentElement)
Public event PreviewStylusSystemGesture  Occurs when a user performs one of several stylus gestures.(inherited from ContentElement)
Public event PreviewStylusUp  Occurs when the user raises the stylus off the digitizer while the stylus is over this element. (inherited from ContentElement)
Public event PreviewTextInput  Occurs when this element gets text in a device-independent manner. (inherited from ContentElement)
Public event QueryContinueDrag  Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. (inherited from ContentElement)
Public event 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)
Public event SourceUpdated Occurs when any associated data source participating in a binding on this element changes.
Public event StylusButtonDown  Occurs when the stylus button is pressed while the pointer is over this element.(inherited from ContentElement)
Public event StylusButtonUp  Occurs when the stylus button is released while the pointer is over this element.(inherited from ContentElement)
Public event StylusDown  Occurs when the stylus touches the digitizer while the stylus is over this element. (inherited from ContentElement)
Public event StylusEnter  Occurs when the stylus enters the bounds of this element. (inherited from ContentElement)
Public event StylusInAirMove  Occurs when the stylus moves over an element without actually touching the digitizer. (inherited from ContentElement)
Public event StylusInRange  Occurs when the stylus is close enough to the digitizer to be detected, while over this element. (inherited from ContentElement)
Public event StylusLeave  Occurs when the stylus leaves the bounds of the element. (inherited from ContentElement)
Public event 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)
Public event StylusOutOfRange  Occurs when the stylus is too far from the digitizer to be detected, while over this element. (inherited from ContentElement)
Public event StylusSystemGesture  Occurs when a user performs one of several stylus gestures.(inherited from ContentElement)
Public event StylusUp  Occurs when the user raises the stylus off the digitizer while it is over this element. (inherited from ContentElement)
Public event TargetUpdated Occurs when any associated target property participating in a binding on this element changes.
Public event TextInput  Occurs when this element gets text in a device-independent manner. (inherited from ContentElement)
Public event ToolTipClosing Occurs just before any tooltip on the element is closed.
Public event ToolTipOpening Occurs when any tooltip on the element is opened.
Public event Unloaded Occurs when the element is removed from an element tree of loaded elements.
Top

Community Additions

ADD
Show: