FrameworkElement Class

Definition

Provides a WPF framework-level set of properties, events, and methods for Windows Presentation Foundation (WPF) elements. This class represents the provided WPF framework-level implementation that is built on the WPF core-level APIs that are defined by UIElement.

[System.Windows.Markup.RuntimeNameProperty("Name")]
[System.Windows.Markup.UsableDuringInitialization(true)]
[System.Windows.Markup.XmlLangProperty("Language")]
[System.Windows.StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=typeof(System.Windows.Controls.Control))]
public class FrameworkElement : System.Windows.UIElement, System.ComponentModel.ISupportInitialize, System.Windows.IFrameworkInputElement, System.Windows.Markup.IQueryAmbient
Inheritance
Derived
Attributes
Implements

Remarks

FrameworkElement is the connecting point between WPF framework-level element classes and the WPF core-level set of UIElement presentation services. For more information about these concepts, see WPF Architecture.

FrameworkElement extends UIElement and adds the following capabilities:

  • Layout system definition: FrameworkElement provides specific WPF framework-level implementations for certain methods that were defined as virtual members in UIElement. Most notably, FrameworkElement seals certain WPF core-level layout overrides, and instead provides a WPF framework-level equivalent that derived classes should override instead. For example, FrameworkElement seals ArrangeCore but provides ArrangeOverride. These changes reflect the fact that at the WPF framework-level there is a full layout system in place that can render any FrameworkElement derived class. At the WPF core level, certain members that will structure a general WPF based layout solution are in place, but the actual engine of the layout system is not defined. For more information, see Layout.

  • The logical tree: The general WPF programming model is often expressed in terms of being a tree of elements. Support for expressing the tree of elements as a logical tree, and accompanying support for defining that tree in markup is implemented at the FrameworkElement level. Note however that FrameworkElement deliberately does not define a content model, and leaves that responsibility to derived classes. For more information, see Trees in WPF.

  • Object lifetime events: It is often useful to know when an element is initialized (the constructor is called) or when the element is first loaded into a logical tree. FrameworkElement defines several events related to object lifetime that provide useful hooks for code-behind operations that involve elements, such as adding more child elements. For more information, see Object Lifetime Events.

  • Support for data binding and dynamic resource references: The property-level support for data binding and resources is implemented by the DependencyProperty class and embodied in the property system, but the ability to resolve a member value that is stored as an Expression (the programming construct that underlies both data binding and dynamic resources) is implemented by FrameworkElement. For more information, see Data Binding Overview and XAML Resources.

  • Styles: FrameworkElement defines the Style property. However, FrameworkElement does not yet define support for templates, or support decorators. These features are introduced by control classes such as Control and ContentControl.

  • More animation support: Some animation support was already defined at the WPF core level, but FrameworkElement extends this by implementing BeginStoryboard and related members.

As can be seen from the class hierarchy, many WPF classes derive from FrameworkElement, either directly or through intermediate base classes such as Panel or Control.

If you intend to use FrameworkElement as a base class, you might want to first examine the existing derived classes. FrameworkElement provides support for a number of basic scenarios, but also lacks a number of features that are desirable for an "element" in the sense of a building block that you use to create user interface (UI) in Extensible Application Markup Language (XAML). For instance, a FrameworkElement does not define any true content model; FrameworkElement as a base class does not define a property that can create XAML child elements. In particular, you might want to look at Control and ContentControl.

Constructors

FrameworkElement()

Initializes a new instance of the FrameworkElement class.

Fields

ActualHeightProperty

Identifies the ActualHeight dependency property.

ActualWidthProperty

Identifies the ActualWidth dependency property.

BindingGroupProperty

Identifies the BindingGroup dependency property.

ContextMenuClosingEvent

Identifies the ContextMenuClosing routed event.

ContextMenuOpeningEvent

Identifies the ContextMenuOpening routed event.

ContextMenuProperty

Identifies the ContextMenu dependency property.

CursorProperty

Identifies the Cursor dependency property.

DataContextProperty

Identifies the DataContext dependency property.

DefaultStyleKeyProperty

Identifies the DefaultStyleKey dependency property.

FlowDirectionProperty

Identifies the FlowDirection dependency property.

FocusVisualStyleProperty

Identifies the FocusVisualStyle dependency property.

ForceCursorProperty

Identifies the ForceCursor dependency property.

HeightProperty

Identifies the Height dependency property.

HorizontalAlignmentProperty

Identifies the HorizontalAlignment dependency property.

InputScopeProperty

Identifies the InputScope dependency property.

LanguageProperty

Identifies the Language dependency property.

LayoutTransformProperty

Identifies the LayoutTransform dependency property.

LoadedEvent

Identifies the Loaded routed event.

MarginProperty

Identifies the Margin dependency property.

MaxHeightProperty

Identifies the MaxHeight dependency property.

MaxWidthProperty

Identifies the MaxWidth dependency property.

MinHeightProperty

Identifies the MinHeight dependency property.

MinWidthProperty

Identifies the MinWidth dependency property.

NameProperty

Identifies the Name dependency property.

OverridesDefaultStyleProperty

Identifies the OverridesDefaultStyle dependency property.

RequestBringIntoViewEvent

Identifies the RequestBringIntoView routed event.

SizeChangedEvent

Identifies the SizeChanged routed event.

StyleProperty

Identifies the Style dependency property.

TagProperty

Identifies the Tag dependency property.

ToolTipClosingEvent

Identifies the ToolTipClosing routed event.

ToolTipOpeningEvent

Identifies the ToolTipOpening routed event.

ToolTipProperty

Identifies the ToolTip dependency property.

UnloadedEvent

Identifies the Unloaded routed event.

UseLayoutRoundingProperty

Identifies the UseLayoutRounding dependency property.

VerticalAlignmentProperty

Identifies the VerticalAlignment dependency property.

WidthProperty

Identifies the Width dependency property.

Properties

ActualHeight

Gets the rendered height of this element.

ActualWidth

Gets the rendered width of this element.

BindingGroup

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

ContextMenu

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

Cursor

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

DataContext

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

DefaultStyleKey

Gets or sets the key to use to reference the style for this control, when theme styles are used or defined.

FlowDirection

Gets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout.

FocusVisualStyle

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

ForceCursor

Gets or sets a value that indicates whether this FrameworkElement should force the user interface (UI) to render the cursor as declared by the Cursor property.

Height

Gets or sets the suggested height of the element.

HorizontalAlignment

Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control.

InheritanceBehavior

Gets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup.

InputScope

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

IsInitialized

Gets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having its EndInit() method called.

IsLoaded

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

Language

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

LayoutTransform

Gets or sets a graphics transformation that should apply to this element when layout is performed.

LogicalChildren

Gets an enumerator for logical child elements of this element.

Margin

Gets or sets the outer margin of an element.

MaxHeight

Gets or sets the maximum height constraint of the element.

MaxWidth

Gets or sets the maximum width constraint of the element.

MinHeight

Gets or sets the minimum height constraint of the element.

MinWidth

Gets or sets the minimum width constraint of the element.

Name

Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor.

OverridesDefaultStyle

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

Parent

Gets the logical parent element of this element.

Resources

Gets or sets the locally-defined resource dictionary.

Style

Gets or sets the style used by this element when it is rendered.

Tag

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

TemplatedParent

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

ToolTip

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

Triggers

Gets the collection of triggers established directly on this element, or in child elements.

UseLayoutRounding

Gets or sets a value that indicates whether layout rounding should be applied to this element's size and position during layout.

VerticalAlignment

Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control.

VisualChildrenCount

Gets the number of visual child elements within this element.

Width

Gets or sets the width of the element.

Methods

AddLogicalChild(Object)

Adds the provided object to the logical tree of this element.

ApplyTemplate()

Builds the current template's visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call.

ArrangeCore(Rect)

Implements ArrangeCore(Rect) (defined as virtual in UIElement) and seals the implementation.

ArrangeOverride(Size)

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

BeginInit()

Starts the initialization process for this element.

BeginStoryboard(Storyboard)

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

BeginStoryboard(Storyboard, HandoffBehavior)

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

BeginStoryboard(Storyboard, HandoffBehavior, Boolean)

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

BringIntoView(Rect)

Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within.

BringIntoView()

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

EndInit()

Indicates that the initialization process for the element is complete.

FindName(String)

Finds an element that has the provided identifier name.

FindResource(Object)

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

GetBindingExpression(DependencyProperty)

Returns the BindingExpression that represents the binding on the specified property.

GetFlowDirection(DependencyObject)

Gets the value of the FlowDirection attached property for the specified DependencyObject.

GetLayoutClip(Size)

Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.

GetTemplateChild(String)

Returns the named element in the visual tree of an instantiated ControlTemplate.

GetUIParentCore()

Returns an alternative logical parent for this element if there is no visual parent.

GetVisualChild(Int32)

Overrides GetVisualChild(Int32), and returns a child at the specified index from a collection of child elements.

MeasureCore(Size)

Implements basic measure-pass layout system behavior for FrameworkElement.

MeasureOverride(Size)

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

MoveFocus(TraversalRequest)

Moves the keyboard focus away from this element and to another element in a provided traversal direction.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

OnContextMenuClosing(ContextMenuEventArgs)

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

OnContextMenuOpening(ContextMenuEventArgs)

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

OnGotFocus(RoutedEventArgs)

Invoked whenever an unhandled GotFocus event reaches this element in its route.

OnInitialized(EventArgs)

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

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides OnPropertyChanged(DependencyPropertyChangedEventArgs).

OnRenderSizeChanged(SizeChangedInfo)

Raises the SizeChanged event, using the specified information as part of the eventual event data.

OnStyleChanged(Style, Style)

Invoked when the style in use on this element changes, which will invalidate the layout.

OnToolTipClosing(ToolTipEventArgs)

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

OnToolTipOpening(ToolTipEventArgs)

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

OnVisualParentChanged(DependencyObject)

Invoked when the parent of this element in the visual tree is changed. Overrides OnVisualParentChanged(DependencyObject).

ParentLayoutInvalidated(UIElement)

Supports incremental layout implementations in specialized subclasses of FrameworkElement. ParentLayoutInvalidated(UIElement) is invoked when a child element has invalidated a property that is marked in metadata as affecting the parent's measure or arrange passes during layout.

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.

RegisterName(String, Object)

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

RemoveLogicalChild(Object)

Removes the provided object from this element's logical tree. FrameworkElement updates the affected logical tree parent pointers to keep in sync with this deletion.

SetBinding(DependencyProperty, String)

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

SetBinding(DependencyProperty, BindingBase)

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

SetFlowDirection(DependencyObject, FlowDirection)

Sets the value of the FlowDirection attached property for the provided element.

SetResourceReference(DependencyProperty, Object)

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

ShouldSerializeResources()

Returns whether serialization processes should serialize the contents of the Resources property.

ShouldSerializeStyle()

Returns whether serialization processes should serialize the contents of the Style property.

ShouldSerializeTriggers()

Returns whether serialization processes should serialize the contents of the Triggers property.

TryFindResource(Object)

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

UnregisterName(String)

Simplifies access to the NameScope de-registration method.

UpdateDefaultStyle()

Reapplies the default style to the current FrameworkElement.

Equals(Object, Object) Inherited from Object
GetType() Inherited from Object
MemberwiseClone() Inherited from Object
ReferenceEquals(Object, Object) Inherited from Object
ToString() Inherited from Object
ClearValue(DependencyProperty) Inherited from DependencyObject
ClearValue(DependencyPropertyKey) Inherited from DependencyObject
CoerceValue(DependencyProperty) Inherited from DependencyObject
DependencyObjectType Inherited from DependencyObject
Equals(Object) Inherited from DependencyObject
GetHashCode() Inherited from DependencyObject
GetLocalValueEnumerator() Inherited from DependencyObject
GetValue(DependencyProperty) Inherited from DependencyObject
InvalidateProperty(DependencyProperty) Inherited from DependencyObject
IsSealed Inherited from DependencyObject
ReadLocalValue(DependencyProperty) Inherited from DependencyObject
SetCurrentValue(DependencyProperty, Object) Inherited from DependencyObject
SetValue(DependencyProperty, Object) Inherited from DependencyObject
SetValue(DependencyPropertyKey, Object) Inherited from DependencyObject
ShouldSerializeProperty(DependencyProperty) Inherited from DependencyObject
AddVisualChild(Visual) Inherited from Visual
FindCommonVisualAncestor(DependencyObject) Inherited from Visual
IsAncestorOf(DependencyObject) Inherited from Visual
IsDescendantOf(DependencyObject) Inherited from Visual
OnDpiChanged(DpiScale, DpiScale) Inherited from Visual
OnVisualChildrenChanged(DependencyObject, DependencyObject) Inherited from Visual
PointFromScreen(Point) Inherited from Visual
PointToScreen(Point) Inherited from Visual
RemoveVisualChild(Visual) Inherited from Visual
TransformToAncestor(Visual3D) Inherited from Visual
TransformToAncestor(Visual) Inherited from Visual
TransformToDescendant(Visual) Inherited from Visual
TransformToVisual(Visual) Inherited from Visual
VisualBitmapEffect Inherited from Visual
VisualBitmapEffectInput Inherited from Visual
VisualBitmapScalingMode Inherited from Visual
VisualCacheMode Inherited from Visual
VisualClearTypeHint Inherited from Visual
VisualClip Inherited from Visual
VisualEdgeMode Inherited from Visual
VisualEffect Inherited from Visual
VisualOffset Inherited from Visual
VisualOpacity Inherited from Visual
VisualOpacityMask Inherited from Visual
VisualParent Inherited from Visual
VisualScrollableAreaClip Inherited from Visual
VisualTextHintingMode Inherited from Visual
VisualTextRenderingMode Inherited from Visual
VisualTransform Inherited from Visual
VisualXSnappingGuidelines Inherited from Visual
VisualYSnappingGuidelines Inherited from Visual
CheckAccess() Inherited from DispatcherObject
Dispatcher Inherited from DispatcherObject
VerifyAccess() Inherited from DispatcherObject
AddHandler(RoutedEvent, Delegate) Inherited from UIElement
AddHandler(RoutedEvent, Delegate, Boolean) Inherited from UIElement
AddToEventRoute(EventRoute, RoutedEventArgs) Inherited from UIElement
AllowDrop Inherited from UIElement
AllowDropProperty Inherited from UIElement
ApplyAnimationClock(DependencyProperty, AnimationClock) Inherited from UIElement
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) Inherited from UIElement
AreAnyTouchesCaptured Inherited from UIElement
AreAnyTouchesCapturedProperty Inherited from UIElement
AreAnyTouchesCapturedWithin Inherited from UIElement
AreAnyTouchesCapturedWithinProperty Inherited from UIElement
AreAnyTouchesDirectlyOver Inherited from UIElement
AreAnyTouchesDirectlyOverProperty Inherited from UIElement
AreAnyTouchesOver Inherited from UIElement
AreAnyTouchesOverProperty Inherited from UIElement
Arrange(Rect) Inherited from UIElement
BeginAnimation(DependencyProperty, AnimationTimeline) Inherited from UIElement
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) Inherited from UIElement
BitmapEffect Inherited from UIElement
BitmapEffectInput Inherited from UIElement
BitmapEffectInputProperty Inherited from UIElement
BitmapEffectProperty Inherited from UIElement
CacheMode Inherited from UIElement
CacheModeProperty Inherited from UIElement
CaptureMouse() Inherited from UIElement
CaptureStylus() Inherited from UIElement
CaptureTouch(TouchDevice) Inherited from UIElement
Clip Inherited from UIElement
ClipProperty Inherited from UIElement
ClipToBounds Inherited from UIElement
ClipToBoundsProperty Inherited from UIElement
CommandBindings Inherited from UIElement
DesiredSize Inherited from UIElement
DragEnter Inherited from UIElement
DragEnterEvent Inherited from UIElement
DragLeave Inherited from UIElement
DragLeaveEvent Inherited from UIElement
DragOver Inherited from UIElement
DragOverEvent Inherited from UIElement
Drop Inherited from UIElement
DropEvent Inherited from UIElement
Effect Inherited from UIElement
EffectProperty Inherited from UIElement
Focus() Inherited from UIElement
Focusable Inherited from UIElement
FocusableChanged Inherited from UIElement
FocusableProperty Inherited from UIElement
GetAnimationBaseValue(DependencyProperty) Inherited from UIElement
GiveFeedback Inherited from UIElement
GiveFeedbackEvent Inherited from UIElement
GotFocus Inherited from UIElement
GotFocusEvent Inherited from UIElement
GotKeyboardFocus Inherited from UIElement
GotKeyboardFocusEvent Inherited from UIElement
GotMouseCapture Inherited from UIElement
GotMouseCaptureEvent Inherited from UIElement
GotStylusCapture Inherited from UIElement
GotStylusCaptureEvent Inherited from UIElement
GotTouchCapture Inherited from UIElement
GotTouchCaptureEvent Inherited from UIElement
HasAnimatedProperties Inherited from UIElement
HasEffectiveKeyboardFocus Inherited from UIElement
HitTestCore(GeometryHitTestParameters) Inherited from UIElement
HitTestCore(PointHitTestParameters) Inherited from UIElement
InputBindings Inherited from UIElement
InputHitTest(Point) Inherited from UIElement
InvalidateArrange() Inherited from UIElement
InvalidateMeasure() Inherited from UIElement
InvalidateVisual() Inherited from UIElement
IsArrangeValid Inherited from UIElement
IsEnabled Inherited from UIElement
IsEnabledChanged Inherited from UIElement
IsEnabledCore Inherited from UIElement
IsEnabledProperty Inherited from UIElement
IsFocused Inherited from UIElement
IsFocusedProperty Inherited from UIElement
IsHitTestVisible Inherited from UIElement
IsHitTestVisibleChanged Inherited from UIElement
IsHitTestVisibleProperty Inherited from UIElement
IsInputMethodEnabled Inherited from UIElement
IsKeyboardFocused Inherited from UIElement
IsKeyboardFocusedChanged Inherited from UIElement
IsKeyboardFocusedProperty Inherited from UIElement
IsKeyboardFocusWithin Inherited from UIElement
IsKeyboardFocusWithinChanged Inherited from UIElement
IsKeyboardFocusWithinProperty Inherited from UIElement
IsManipulationEnabled Inherited from UIElement
IsManipulationEnabledProperty Inherited from UIElement
IsMeasureValid Inherited from UIElement
IsMouseCaptured Inherited from UIElement
IsMouseCapturedChanged Inherited from UIElement
IsMouseCapturedProperty Inherited from UIElement
IsMouseCaptureWithin Inherited from UIElement
IsMouseCaptureWithinChanged Inherited from UIElement
IsMouseCaptureWithinProperty Inherited from UIElement
IsMouseDirectlyOver Inherited from UIElement
IsMouseDirectlyOverChanged Inherited from UIElement
IsMouseDirectlyOverProperty Inherited from UIElement
IsMouseOver Inherited from UIElement
IsMouseOverProperty Inherited from UIElement
IsStylusCaptured Inherited from UIElement
IsStylusCapturedChanged Inherited from UIElement
IsStylusCapturedProperty Inherited from UIElement
IsStylusCaptureWithin Inherited from UIElement
IsStylusCaptureWithinChanged Inherited from UIElement
IsStylusCaptureWithinProperty Inherited from UIElement
IsStylusDirectlyOver Inherited from UIElement
IsStylusDirectlyOverChanged Inherited from UIElement
IsStylusDirectlyOverProperty Inherited from UIElement
IsStylusOver Inherited from UIElement
IsStylusOverProperty Inherited from UIElement
IsVisible Inherited from UIElement
IsVisibleChanged Inherited from UIElement
IsVisibleProperty Inherited from UIElement
KeyDown Inherited from UIElement
KeyDownEvent Inherited from UIElement
KeyUp Inherited from UIElement
KeyUpEvent Inherited from UIElement
LayoutUpdated Inherited from UIElement
LostFocus Inherited from UIElement
LostFocusEvent Inherited from UIElement
LostKeyboardFocus Inherited from UIElement
LostKeyboardFocusEvent Inherited from UIElement
LostMouseCapture Inherited from UIElement
LostMouseCaptureEvent Inherited from UIElement
LostStylusCapture Inherited from UIElement
LostStylusCaptureEvent Inherited from UIElement
LostTouchCapture Inherited from UIElement
LostTouchCaptureEvent Inherited from UIElement
ManipulationBoundaryFeedback Inherited from UIElement
ManipulationBoundaryFeedbackEvent Inherited from UIElement
ManipulationCompleted Inherited from UIElement
ManipulationCompletedEvent Inherited from UIElement
ManipulationDelta Inherited from UIElement
ManipulationDeltaEvent Inherited from UIElement
ManipulationInertiaStarting Inherited from UIElement
ManipulationInertiaStartingEvent Inherited from UIElement
ManipulationStarted Inherited from UIElement
ManipulationStartedEvent Inherited from UIElement
ManipulationStarting Inherited from UIElement
ManipulationStartingEvent Inherited from UIElement
Measure(Size) Inherited from UIElement
MouseDown Inherited from UIElement
MouseDownEvent Inherited from UIElement
MouseEnter Inherited from UIElement
MouseEnterEvent Inherited from UIElement
MouseLeave Inherited from UIElement
MouseLeaveEvent Inherited from UIElement
MouseLeftButtonDown Inherited from UIElement
MouseLeftButtonDownEvent Inherited from UIElement
MouseLeftButtonUp Inherited from UIElement
MouseLeftButtonUpEvent Inherited from UIElement
MouseMove Inherited from UIElement
MouseMoveEvent Inherited from UIElement
MouseRightButtonDown Inherited from UIElement
MouseRightButtonDownEvent Inherited from UIElement
MouseRightButtonUp Inherited from UIElement
MouseRightButtonUpEvent Inherited from UIElement
MouseUp Inherited from UIElement
MouseUpEvent Inherited from UIElement
MouseWheel Inherited from UIElement
MouseWheelEvent Inherited from UIElement
OnAccessKey(AccessKeyEventArgs) Inherited from UIElement
OnChildDesiredSizeChanged(UIElement) Inherited from UIElement
OnCreateAutomationPeer() Inherited from UIElement
OnDragEnter(DragEventArgs) Inherited from UIElement
OnDragLeave(DragEventArgs) Inherited from UIElement
OnDragOver(DragEventArgs) Inherited from UIElement
OnDrop(DragEventArgs) Inherited from UIElement
OnGiveFeedback(GiveFeedbackEventArgs) Inherited from UIElement
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) Inherited from UIElement
OnGotMouseCapture(MouseEventArgs) Inherited from UIElement
OnGotStylusCapture(StylusEventArgs) Inherited from UIElement
OnGotTouchCapture(TouchEventArgs) Inherited from UIElement
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) Inherited from UIElement
OnKeyDown(KeyEventArgs) Inherited from UIElement
OnKeyUp(KeyEventArgs) Inherited from UIElement
OnLostFocus(RoutedEventArgs) Inherited from UIElement
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) Inherited from UIElement
OnLostMouseCapture(MouseEventArgs) Inherited from UIElement
OnLostStylusCapture(StylusEventArgs) Inherited from UIElement
OnLostTouchCapture(TouchEventArgs) Inherited from UIElement
OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs) Inherited from UIElement
OnManipulationCompleted(ManipulationCompletedEventArgs) Inherited from UIElement
OnManipulationDelta(ManipulationDeltaEventArgs) Inherited from UIElement
OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs) Inherited from UIElement
OnManipulationStarted(ManipulationStartedEventArgs) Inherited from UIElement
OnManipulationStarting(ManipulationStartingEventArgs) Inherited from UIElement
OnMouseDown(MouseButtonEventArgs) Inherited from UIElement
OnMouseEnter(MouseEventArgs) Inherited from UIElement
OnMouseLeave(MouseEventArgs) Inherited from UIElement
OnMouseLeftButtonDown(MouseButtonEventArgs) Inherited from UIElement
OnMouseLeftButtonUp(MouseButtonEventArgs) Inherited from UIElement
OnMouseMove(MouseEventArgs) Inherited from UIElement
OnMouseRightButtonDown(MouseButtonEventArgs) Inherited from UIElement
OnMouseRightButtonUp(MouseButtonEventArgs) Inherited from UIElement
OnMouseUp(MouseButtonEventArgs) Inherited from UIElement
OnMouseWheel(MouseWheelEventArgs) Inherited from UIElement
OnPreviewDragEnter(DragEventArgs) Inherited from UIElement
OnPreviewDragLeave(DragEventArgs) Inherited from UIElement
OnPreviewDragOver(DragEventArgs) Inherited from UIElement
OnPreviewDrop(DragEventArgs) Inherited from UIElement
OnPreviewGiveFeedback(GiveFeedbackEventArgs) Inherited from UIElement
OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) Inherited from UIElement
OnPreviewKeyDown(KeyEventArgs) Inherited from UIElement
OnPreviewKeyUp(KeyEventArgs) Inherited from UIElement
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) Inherited from UIElement
OnPreviewMouseDown(MouseButtonEventArgs) Inherited from UIElement
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) Inherited from UIElement
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) Inherited from UIElement
OnPreviewMouseMove(MouseEventArgs) Inherited from UIElement
OnPreviewMouseRightButtonDown(MouseButtonEventArgs) Inherited from UIElement
OnPreviewMouseRightButtonUp(MouseButtonEventArgs) Inherited from UIElement
OnPreviewMouseUp(MouseButtonEventArgs) Inherited from UIElement
OnPreviewMouseWheel(MouseWheelEventArgs) Inherited from UIElement
OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) Inherited from UIElement
OnPreviewStylusButtonDown(StylusButtonEventArgs) Inherited from UIElement
OnPreviewStylusButtonUp(StylusButtonEventArgs) Inherited from UIElement
OnPreviewStylusDown(StylusDownEventArgs) Inherited from UIElement
OnPreviewStylusInAirMove(StylusEventArgs) Inherited from UIElement
OnPreviewStylusInRange(StylusEventArgs) Inherited from UIElement
OnPreviewStylusMove(StylusEventArgs) Inherited from UIElement
OnPreviewStylusOutOfRange(StylusEventArgs) Inherited from UIElement
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) Inherited from UIElement
OnPreviewStylusUp(StylusEventArgs) Inherited from UIElement
OnPreviewTextInput(TextCompositionEventArgs) Inherited from UIElement
OnPreviewTouchDown(TouchEventArgs) Inherited from UIElement
OnPreviewTouchMove(TouchEventArgs) Inherited from UIElement
OnPreviewTouchUp(TouchEventArgs) Inherited from UIElement
OnQueryContinueDrag(QueryContinueDragEventArgs) Inherited from UIElement
OnQueryCursor(QueryCursorEventArgs) Inherited from UIElement
OnRender(DrawingContext) Inherited from UIElement
OnStylusButtonDown(StylusButtonEventArgs) Inherited from UIElement
OnStylusButtonUp(StylusButtonEventArgs) Inherited from UIElement
OnStylusDown(StylusDownEventArgs) Inherited from UIElement
OnStylusEnter(StylusEventArgs) Inherited from UIElement
OnStylusInAirMove(StylusEventArgs) Inherited from UIElement
OnStylusInRange(StylusEventArgs) Inherited from UIElement
OnStylusLeave(StylusEventArgs) Inherited from UIElement
OnStylusMove(StylusEventArgs) Inherited from UIElement
OnStylusOutOfRange(StylusEventArgs) Inherited from UIElement
OnStylusSystemGesture(StylusSystemGestureEventArgs) Inherited from UIElement
OnStylusUp(StylusEventArgs) Inherited from UIElement
OnTextInput(TextCompositionEventArgs) Inherited from UIElement
OnTouchDown(TouchEventArgs) Inherited from UIElement
OnTouchEnter(TouchEventArgs) Inherited from UIElement
OnTouchLeave(TouchEventArgs) Inherited from UIElement
OnTouchMove(TouchEventArgs) Inherited from UIElement
OnTouchUp(TouchEventArgs) Inherited from UIElement
Opacity Inherited from UIElement
OpacityMask Inherited from UIElement
OpacityMaskProperty Inherited from UIElement
OpacityProperty Inherited from UIElement
PersistId Inherited from UIElement
PreviewDragEnter Inherited from UIElement
PreviewDragEnterEvent Inherited from UIElement
PreviewDragLeave Inherited from UIElement
PreviewDragLeaveEvent Inherited from UIElement
PreviewDragOver Inherited from UIElement
PreviewDragOverEvent Inherited from UIElement
PreviewDrop Inherited from UIElement
PreviewDropEvent Inherited from UIElement
PreviewGiveFeedback Inherited from UIElement
PreviewGiveFeedbackEvent Inherited from UIElement
PreviewGotKeyboardFocus Inherited from UIElement
PreviewGotKeyboardFocusEvent Inherited from UIElement
PreviewKeyDown Inherited from UIElement
PreviewKeyDownEvent Inherited from UIElement
PreviewKeyUp Inherited from UIElement
PreviewKeyUpEvent Inherited from UIElement
PreviewLostKeyboardFocus Inherited from UIElement
PreviewLostKeyboardFocusEvent Inherited from UIElement
PreviewMouseDown Inherited from UIElement
PreviewMouseDownEvent Inherited from UIElement
PreviewMouseLeftButtonDown Inherited from UIElement
PreviewMouseLeftButtonDownEvent Inherited from UIElement
PreviewMouseLeftButtonUp Inherited from UIElement
PreviewMouseLeftButtonUpEvent Inherited from UIElement
PreviewMouseMove Inherited from UIElement
PreviewMouseMoveEvent Inherited from UIElement
PreviewMouseRightButtonDown Inherited from UIElement
PreviewMouseRightButtonDownEvent Inherited from UIElement
PreviewMouseRightButtonUp Inherited from UIElement
PreviewMouseRightButtonUpEvent Inherited from UIElement
PreviewMouseUp Inherited from UIElement
PreviewMouseUpEvent Inherited from UIElement
PreviewMouseWheel Inherited from UIElement
PreviewMouseWheelEvent Inherited from UIElement
PreviewQueryContinueDrag Inherited from UIElement
PreviewQueryContinueDragEvent Inherited from UIElement
PreviewStylusButtonDown Inherited from UIElement
PreviewStylusButtonDownEvent Inherited from UIElement
PreviewStylusButtonUp Inherited from UIElement
PreviewStylusButtonUpEvent Inherited from UIElement
PreviewStylusDown Inherited from UIElement
PreviewStylusDownEvent Inherited from UIElement
PreviewStylusInAirMove Inherited from UIElement
PreviewStylusInAirMoveEvent Inherited from UIElement
PreviewStylusInRange Inherited from UIElement
PreviewStylusInRangeEvent Inherited from UIElement
PreviewStylusMove Inherited from UIElement
PreviewStylusMoveEvent Inherited from UIElement
PreviewStylusOutOfRange Inherited from UIElement
PreviewStylusOutOfRangeEvent Inherited from UIElement
PreviewStylusSystemGesture Inherited from UIElement
PreviewStylusSystemGestureEvent Inherited from UIElement
PreviewStylusUp Inherited from UIElement
PreviewStylusUpEvent Inherited from UIElement
PreviewTextInput Inherited from UIElement
PreviewTextInputEvent Inherited from UIElement
PreviewTouchDown Inherited from UIElement
PreviewTouchDownEvent Inherited from UIElement
PreviewTouchMove Inherited from UIElement
PreviewTouchMoveEvent Inherited from UIElement
PreviewTouchUp Inherited from UIElement
PreviewTouchUpEvent Inherited from UIElement
QueryContinueDrag Inherited from UIElement
QueryContinueDragEvent Inherited from UIElement
QueryCursor Inherited from UIElement
QueryCursorEvent Inherited from UIElement
RaiseEvent(RoutedEventArgs) Inherited from UIElement
ReleaseAllTouchCaptures() Inherited from UIElement
ReleaseMouseCapture() Inherited from UIElement
ReleaseStylusCapture() Inherited from UIElement
ReleaseTouchCapture(TouchDevice) Inherited from UIElement
RemoveHandler(RoutedEvent, Delegate) Inherited from UIElement
RenderSize Inherited from UIElement
RenderTransform Inherited from UIElement
RenderTransformOrigin Inherited from UIElement
RenderTransformOriginProperty Inherited from UIElement
RenderTransformProperty Inherited from UIElement
ShouldSerializeCommandBindings() Inherited from UIElement
ShouldSerializeInputBindings() Inherited from UIElement
SnapsToDevicePixels Inherited from UIElement
SnapsToDevicePixelsProperty Inherited from UIElement
StylusButtonDown Inherited from UIElement
StylusButtonDownEvent Inherited from UIElement
StylusButtonUp Inherited from UIElement
StylusButtonUpEvent Inherited from UIElement
StylusDown Inherited from UIElement
StylusDownEvent Inherited from UIElement
StylusEnter Inherited from UIElement
StylusEnterEvent Inherited from UIElement
StylusInAirMove Inherited from UIElement
StylusInAirMoveEvent Inherited from UIElement
StylusInRange Inherited from UIElement
StylusInRangeEvent Inherited from UIElement
StylusLeave Inherited from UIElement
StylusLeaveEvent Inherited from UIElement
StylusMove Inherited from UIElement
StylusMoveEvent Inherited from UIElement
StylusOutOfRange Inherited from UIElement
StylusOutOfRangeEvent Inherited from UIElement
StylusPlugIns Inherited from UIElement
StylusSystemGesture Inherited from UIElement
StylusSystemGestureEvent Inherited from UIElement
StylusUp Inherited from UIElement
StylusUpEvent Inherited from UIElement
TextInput Inherited from UIElement
TextInputEvent Inherited from UIElement
TouchDown Inherited from UIElement
TouchDownEvent Inherited from UIElement
TouchEnter Inherited from UIElement
TouchEnterEvent Inherited from UIElement
TouchesCaptured Inherited from UIElement
TouchesCapturedWithin Inherited from UIElement
TouchesDirectlyOver Inherited from UIElement
TouchesOver Inherited from UIElement
TouchLeave Inherited from UIElement
TouchLeaveEvent Inherited from UIElement
TouchMove Inherited from UIElement
TouchMoveEvent Inherited from UIElement
TouchUp Inherited from UIElement
TouchUpEvent Inherited from UIElement
TranslatePoint(Point, UIElement) Inherited from UIElement
Uid Inherited from UIElement
UidProperty Inherited from UIElement
UpdateLayout() Inherited from UIElement
Visibility Inherited from UIElement
VisibilityProperty Inherited from UIElement

Events

ContextMenuClosing

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

ContextMenuOpening

Occurs when any context menu on the element is opened.

DataContextChanged

Occurs when the data context for this element changes.

Initialized

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

Loaded

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

RequestBringIntoView

Occurs when BringIntoView(Rect) is called on this element.

SizeChanged

Occurs when either the ActualHeight or the ActualWidth properties change value on this element.

SourceUpdated

Occurs when the source value changes for any existing property binding on this element.

TargetUpdated

Occurs when the target value changes for any property binding on this element.

ToolTipClosing

Occurs just before any tooltip on the element is closed.

ToolTipOpening

Occurs when any tooltip on the element is opened.

Unloaded

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

Explicit Interface Implementations

IQueryAmbient.IsAmbientPropertyAvailable(String)

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

Applies to

See Also