UIElement3D Class
TOC
Collapse the table of content
Expand the table of content

UIElement3D Class

.NET Framework (current version)
 

UIElement3D is a base class for WPF core level implementations building on Windows Presentation Foundation (WPF) elements and basic presentation characteristics.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)


public abstract class UIElement3D : Visual3D, IInputElement

NameDescription
System_CAPS_protmethodUIElement3D()

Initializes a new instance of the UIElement3D class.

NameDescription
System_CAPS_pubpropertyAllowDrop

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

System_CAPS_pubpropertyAreAnyTouchesCaptured

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

System_CAPS_pubpropertyAreAnyTouchesCapturedWithin

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

System_CAPS_pubpropertyAreAnyTouchesDirectlyOver

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

System_CAPS_pubpropertyAreAnyTouchesOver

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

System_CAPS_pubpropertyCommandBindings

Gets a collection of CommandBinding objects associated with this element.

System_CAPS_pubpropertyDependencyObjectType

Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.)

System_CAPS_pubpropertyDispatcher

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubpropertyFocusable

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

System_CAPS_pubpropertyHasAnimatedProperties

Gets a value that indicates whether this Visual3D has any animated properties.(Inherited from Visual3D.)

System_CAPS_pubpropertyInputBindings

Gets the collection of input bindings associated with this element.

System_CAPS_pubpropertyIsEnabled

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

System_CAPS_protpropertyIsEnabledCore

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

System_CAPS_pubpropertyIsFocused

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

System_CAPS_pubpropertyIsHitTestVisible

Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content.

System_CAPS_pubpropertyIsInputMethodEnabled

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

System_CAPS_pubpropertyIsKeyboardFocused

Gets a value indicating whether this element has keyboard focus.

System_CAPS_pubpropertyIsKeyboardFocusWithin

Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements.

System_CAPS_pubpropertyIsMouseCaptured

Gets a value indicating whether the mouse is captured to this element.

System_CAPS_pubpropertyIsMouseCaptureWithin

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

System_CAPS_pubpropertyIsMouseDirectlyOver

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

System_CAPS_pubpropertyIsMouseOver

Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree).

System_CAPS_pubpropertyIsSealed

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

System_CAPS_pubpropertyIsStylusCaptured

Gets a value indicating whether the stylus is captured by this element.

System_CAPS_pubpropertyIsStylusCaptureWithin

Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree.

System_CAPS_pubpropertyIsStylusDirectlyOver

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

System_CAPS_pubpropertyIsStylusOver

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

System_CAPS_pubpropertyIsVisible

Gets a value indicating whether this element is visible in the user interface (UI).

System_CAPS_pubpropertyTouchesCaptured

Gets all touch devices that are captured to this element.

System_CAPS_pubpropertyTouchesCapturedWithin

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

System_CAPS_pubpropertyTouchesDirectlyOver

Gets all touch devices that are over this element.

System_CAPS_pubpropertyTouchesOver

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

System_CAPS_pubpropertyTransform

Gets or sets the transformation that is applied to the 3-D object.(Inherited from Visual3D.)

System_CAPS_pubpropertyVisibility

Gets or sets the user interface (UI) visibility of this element.

System_CAPS_protpropertyVisual3DChildrenCount

Gets the number of child elements for the Visual3D object.(Inherited from Visual3D.)

System_CAPS_protpropertyVisual3DModel

Gets or sets the Model3D object to render.(Inherited from Visual3D.)

NameDescription
System_CAPS_pubmethodAddHandler(RoutedEvent, Delegate)

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

System_CAPS_pubmethodAddHandler(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.

System_CAPS_pubmethodAddToEventRoute(EventRoute, RoutedEventArgs)

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

System_CAPS_protmethodAddVisual3DChild(Visual3D)

Defines the parent-child relationship between two 3-D visuals.(Inherited from Visual3D.)

System_CAPS_pubmethodApplyAnimationClock(DependencyProperty, AnimationClock)

Applies the effect of a given AnimationClock to a given dependency property.(Inherited from Visual3D.)

System_CAPS_pubmethodApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

Applies the effect of a given AnimationClock to a given dependency property. The effect of the new AnimationClock on any current animations is determined by the value of the handoffBehavior parameter.(Inherited from Visual3D.)

System_CAPS_pubmethodBeginAnimation(DependencyProperty, AnimationTimeline)

Initiates an animation sequence for the DependencyProperty object, based on the specified AnimationTimeline.(Inherited from Visual3D.)

System_CAPS_pubmethodBeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

Initiates an animation sequence for the DependencyProperty object, based on both the specified AnimationTimeline and HandoffBehavior.(Inherited from Visual3D.)

System_CAPS_pubmethodCaptureMouse()

Attempts to force capture of the mouse to this element.

System_CAPS_pubmethodCaptureStylus()

Attempts to force capture of the stylus to this element.

System_CAPS_pubmethodCaptureTouch(TouchDevice)

Attempts to force capture of a touch to this element.

System_CAPS_pubmethodCheckAccess()

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_pubmethodClearValue(DependencyProperty)

Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.)

System_CAPS_pubmethodClearValue(DependencyPropertyKey)

Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.)

System_CAPS_pubmethodCoerceValue(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.)

System_CAPS_pubmethodEquals(Object)

Determines whether a provided DependencyObject is equivalent to the current DependencyObject.(Inherited from DependencyObject.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFindCommonVisualAncestor(DependencyObject)

Returns the common ancestor of the visual object and another specified visual object.(Inherited from Visual3D.)

System_CAPS_pubmethodFocus()

Attempts to set the logical focus on this element.

System_CAPS_pubmethodGetAnimationBaseValue(DependencyProperty)

Retrieves the base value of the specified DependencyProperty object.(Inherited from Visual3D.)

System_CAPS_pubmethodGetHashCode()

Gets a hash code for this DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetLocalValueEnumerator()

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

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodGetUIParentCore()

When overridden in a derived class, returns an alternative user interface (UI) parent for this element if no visual parent exists.

System_CAPS_pubmethodGetValue(DependencyProperty)

Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.)

System_CAPS_protmethodGetVisual3DChild(Int32)

Returns the specified Visual3D in the parent Visual3DCollection.(Inherited from Visual3D.)

System_CAPS_pubmethodInvalidateModel()

Invalidates the model that represents the element.

System_CAPS_pubmethodInvalidateProperty(DependencyProperty)

Re-evaluates the effective value for the specified dependency property(Inherited from DependencyObject.)

System_CAPS_pubmethodIsAncestorOf(DependencyObject)

Determines whether the visual object is an ancestor of the descendant visual object.(Inherited from Visual3D.)

System_CAPS_pubmethodIsDescendantOf(DependencyObject)

Determines whether the visual object is a descendant of the ancestor visual object. (Inherited from Visual3D.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMoveFocus(TraversalRequest)

Attempts to move focus from this element to another element. The direction to move focus is specified by a guidance direction, which is interpreted within the organization of the visual parent for this element.

System_CAPS_protmethodOnAccessKey(AccessKeyEventArgs)

Provides class handling for when an access key that is meaningful for this element is invoked.

System_CAPS_protmethodOnCreateAutomationPeer()

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

System_CAPS_protmethodOnDragEnter(DragEventArgs)

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.

System_CAPS_protmethodOnDragLeave(DragEventArgs)

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.

System_CAPS_protmethodOnDragOver(DragEventArgs)

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.

System_CAPS_protmethodOnDrop(DragEventArgs)

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

System_CAPS_protmethodOnGiveFeedback(GiveFeedbackEventArgs)

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.

System_CAPS_protmethodOnGotFocus(RoutedEventArgs)

Raises the GotFocus routed event by using the event data provided.

System_CAPS_protmethodOnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

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.

System_CAPS_protmethodOnGotMouseCapture(MouseEventArgs)

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.

System_CAPS_protmethodOnGotStylusCapture(StylusEventArgs)

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.

System_CAPS_protmethodOnGotTouchCapture(TouchEventArgs)

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

System_CAPS_protmethodOnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

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

System_CAPS_protmethodOnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event.

System_CAPS_protmethodOnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

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

System_CAPS_protmethodOnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

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

System_CAPS_protmethodOnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

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

System_CAPS_protmethodOnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

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

System_CAPS_protmethodOnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

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

System_CAPS_protmethodOnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

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

System_CAPS_protmethodOnKeyDown(KeyEventArgs)

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.

System_CAPS_protmethodOnKeyUp(KeyEventArgs)

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.

System_CAPS_protmethodOnLostFocus(RoutedEventArgs)

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

System_CAPS_protmethodOnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

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.

System_CAPS_protmethodOnLostMouseCapture(MouseEventArgs)

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.

System_CAPS_protmethodOnLostStylusCapture(StylusEventArgs)

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.

System_CAPS_protmethodOnLostTouchCapture(TouchEventArgs)

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

System_CAPS_protmethodOnMouseDown(MouseButtonEventArgs)

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.

System_CAPS_protmethodOnMouseEnter(MouseEventArgs)

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

System_CAPS_protmethodOnMouseLeave(MouseEventArgs)

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

System_CAPS_protmethodOnMouseLeftButtonDown(MouseButtonEventArgs)

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

System_CAPS_protmethodOnMouseLeftButtonUp(MouseButtonEventArgs)

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

System_CAPS_protmethodOnMouseMove(MouseEventArgs)

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.

System_CAPS_protmethodOnMouseRightButtonDown(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.

System_CAPS_protmethodOnMouseRightButtonUp(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.

System_CAPS_protmethodOnMouseUp(MouseButtonEventArgs)

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.

System_CAPS_protmethodOnMouseWheel(MouseWheelEventArgs)

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.

System_CAPS_protmethodOnPreviewDragEnter(DragEventArgs)

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.

System_CAPS_protmethodOnPreviewDragLeave(DragEventArgs)

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.

System_CAPS_protmethodOnPreviewDragOver(DragEventArgs)

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.

System_CAPS_protmethodOnPreviewDrop(DragEventArgs)

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.

System_CAPS_protmethodOnPreviewGiveFeedback(GiveFeedbackEventArgs)

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.

System_CAPS_protmethodOnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs)

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.

System_CAPS_protmethodOnPreviewKeyDown(KeyEventArgs)

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.

System_CAPS_protmethodOnPreviewKeyUp(KeyEventArgs)

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.

System_CAPS_protmethodOnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)

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

System_CAPS_protmethodOnPreviewMouseDown(MouseButtonEventArgs)

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.

System_CAPS_protmethodOnPreviewMouseLeftButtonDown(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.

System_CAPS_protmethodOnPreviewMouseLeftButtonUp(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.

System_CAPS_protmethodOnPreviewMouseMove(MouseEventArgs)

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.

System_CAPS_protmethodOnPreviewMouseRightButtonDown(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.

System_CAPS_protmethodOnPreviewMouseRightButtonUp(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.

System_CAPS_protmethodOnPreviewMouseUp(MouseButtonEventArgs)

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.

System_CAPS_protmethodOnPreviewMouseWheel(MouseWheelEventArgs)

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.

System_CAPS_protmethodOnPreviewQueryContinueDrag(QueryContinueDragEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusButtonDown(StylusButtonEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusButtonUp(StylusButtonEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusDown(StylusDownEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusInAirMove(StylusEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusInRange(StylusEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusMove(StylusEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusOutOfRange(StylusEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)

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.

System_CAPS_protmethodOnPreviewStylusUp(StylusEventArgs)

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.

System_CAPS_protmethodOnPreviewTextInput(TextCompositionEventArgs)

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.

System_CAPS_protmethodOnPreviewTouchDown(TouchEventArgs)

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

System_CAPS_protmethodOnPreviewTouchMove(TouchEventArgs)

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

System_CAPS_protmethodOnPreviewTouchUp(TouchEventArgs)

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

System_CAPS_protmethodOnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data. (Inherited from DependencyObject.)

System_CAPS_protmethodOnQueryContinueDrag(QueryContinueDragEventArgs)

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.

System_CAPS_protmethodOnQueryCursor(QueryCursorEventArgs)

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.

System_CAPS_protmethodOnStylusButtonDown(StylusButtonEventArgs)

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.

System_CAPS_protmethodOnStylusButtonUp(StylusButtonEventArgs)

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.

System_CAPS_protmethodOnStylusDown(StylusDownEventArgs)

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.

System_CAPS_protmethodOnStylusEnter(StylusEventArgs)

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

System_CAPS_protmethodOnStylusInAirMove(StylusEventArgs)

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.

System_CAPS_protmethodOnStylusInRange(StylusEventArgs)

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.

System_CAPS_protmethodOnStylusLeave(StylusEventArgs)

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

System_CAPS_protmethodOnStylusMove(StylusEventArgs)

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.

System_CAPS_protmethodOnStylusOutOfRange(StylusEventArgs)

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.

System_CAPS_protmethodOnStylusSystemGesture(StylusSystemGestureEventArgs)

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.

System_CAPS_protmethodOnStylusUp(StylusEventArgs)

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.

System_CAPS_protmethodOnTextInput(TextCompositionEventArgs)

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.

System_CAPS_protmethodOnTouchDown(TouchEventArgs)

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

System_CAPS_protmethodOnTouchEnter(TouchEventArgs)

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

System_CAPS_protmethodOnTouchLeave(TouchEventArgs)

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

System_CAPS_protmethodOnTouchMove(TouchEventArgs)

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

System_CAPS_protmethodOnTouchUp(TouchEventArgs)

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

System_CAPS_protmethodOnUpdateModel()

Participates in rendering operations when overridden in a derived class.

System_CAPS_protmethodOnVisualChildrenChanged(DependencyObject, DependencyObject)

Called when the Visual3DCollection of the visual object is modified.(Inherited from Visual3D.)

System_CAPS_protmethodOnVisualParentChanged(DependencyObject)

Invoked when the parent element of this UIElement3D reports a change to its underlying visual parent.(Overrides Visual3D.OnVisualParentChanged(DependencyObject).)

System_CAPS_pubmethodPredictFocus(FocusNavigationDirection)

When overridden in a derived class, returns the element that would receive focus for a specified focus traversal direction, without actually moving focus to that element.

System_CAPS_pubmethodRaiseEvent(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).

System_CAPS_pubmethodReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.)

System_CAPS_pubmethodReleaseAllTouchCaptures()

Releases all captured touch devices from this element.

System_CAPS_pubmethodReleaseMouseCapture()

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

System_CAPS_pubmethodReleaseStylusCapture()

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

System_CAPS_pubmethodReleaseTouchCapture(TouchDevice)

Attempts to release the specified touch device from this element.

System_CAPS_pubmethodRemoveHandler(RoutedEvent, Delegate)

Removes the specified routed event handler from this element.

System_CAPS_protmethodRemoveVisual3DChild(Visual3D)

Removes the parent-child relationship between two 3-D visuals.(Inherited from Visual3D.)

System_CAPS_pubmethodSetCurrentValue(DependencyProperty, Object)

Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.)

System_CAPS_pubmethodSetValue(DependencyProperty, Object)

Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.)

System_CAPS_pubmethodSetValue(DependencyPropertyKey, Object)

Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.)

System_CAPS_pubmethodShouldSerializeCommandBindings()

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

System_CAPS_pubmethodShouldSerializeInputBindings()

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

System_CAPS_protmethodShouldSerializeProperty(DependencyProperty)

Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.(Inherited from DependencyObject.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTransformToAncestor(Visual)

Returns a transform that can be used to transform coordinates from this Visual3D object to the specified Visual ancestor of the object.(Inherited from Visual3D.)

System_CAPS_pubmethodTransformToAncestor(Visual3D)

Returns a transform that can be used to transform coordinates from this Visual3D object to the specified Visual3D ancestor of the object.(Inherited from Visual3D.)

System_CAPS_pubmethodTransformToDescendant(Visual3D)

Returns a transform that can be used to transform coordinates from this Visual3D object to the specified Visual3Ddescent object.(Inherited from Visual3D.)

System_CAPS_pubmethodVerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticAllowDropProperty

Identifies the AllowDrop dependency property.

System_CAPS_pubfieldSystem_CAPS_staticAreAnyTouchesCapturedProperty

Identifies the AreAnyTouchesCaptured dependency property.

System_CAPS_pubfieldSystem_CAPS_staticAreAnyTouchesCapturedWithinProperty

Identifies the AreAnyTouchesCapturedWithin dependency property.

System_CAPS_pubfieldSystem_CAPS_staticAreAnyTouchesDirectlyOverProperty

Identifies the AreAnyTouchesDirectlyOver dependency property.

System_CAPS_pubfieldSystem_CAPS_staticAreAnyTouchesOverProperty

Identifies the AreAnyTouchesOver dependency property.

System_CAPS_pubfieldSystem_CAPS_staticDragEnterEvent

Identifies the DragEnter routed event.

System_CAPS_pubfieldSystem_CAPS_staticDragLeaveEvent

Identifies the DragLeave routed event.

System_CAPS_pubfieldSystem_CAPS_staticDragOverEvent

Identifies the DragOver routed event.

System_CAPS_pubfieldSystem_CAPS_staticDropEvent

Identifies the Drop routed event.

System_CAPS_pubfieldSystem_CAPS_staticFocusableProperty

Identifies the Focusable dependency property.

System_CAPS_pubfieldSystem_CAPS_staticGiveFeedbackEvent

Identifies the GiveFeedback routed event.

System_CAPS_pubfieldSystem_CAPS_staticGotFocusEvent

Identifies the GotFocus routed event.

System_CAPS_pubfieldSystem_CAPS_staticGotKeyboardFocusEvent

Identifies the GotKeyboardFocus routed event.

System_CAPS_pubfieldSystem_CAPS_staticGotMouseCaptureEvent

Identifies the GotMouseCapture routed event.

System_CAPS_pubfieldSystem_CAPS_staticGotStylusCaptureEvent

Identifies the GotStylusCapture routed event.

System_CAPS_pubfieldSystem_CAPS_staticGotTouchCaptureEvent

Identifies the GotTouchCapture routed event.

System_CAPS_pubfieldSystem_CAPS_staticIsEnabledProperty

Identifies the IsEnabled dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsFocusedProperty

Identifies the IsFocused dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsHitTestVisibleProperty

Identifies the IsHitTestVisible  dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsKeyboardFocusedProperty

Identifies the IsKeyboardFocused dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsKeyboardFocusWithinProperty

Identifies the IsKeyboardFocusWithin dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsMouseCapturedProperty

Identifies the IsMouseCaptured dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsMouseCaptureWithinProperty

Identifies the IsMouseCaptureWithin dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsMouseDirectlyOverProperty

Identifies the IsMouseDirectlyOver dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsMouseOverProperty

Identifies the IsMouseOver dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsStylusCapturedProperty

Identifies the IsStylusCaptured dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsStylusCaptureWithinProperty

Identifies the IsStylusCaptureWithin dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsStylusDirectlyOverProperty

Identifies the IsStylusDirectlyOver dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsStylusOverProperty

Identifies the IsStylusOver dependency property.

System_CAPS_pubfieldSystem_CAPS_staticIsVisibleProperty

Identifies the IsVisible dependency property.

System_CAPS_pubfieldSystem_CAPS_staticKeyDownEvent

Identifies the KeyDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticKeyUpEvent

Identifies the KeyUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticLostFocusEvent

Identifies the LostFocus routed event.

System_CAPS_pubfieldSystem_CAPS_staticLostKeyboardFocusEvent

Identifies the LostKeyboardFocus routed event.

System_CAPS_pubfieldSystem_CAPS_staticLostMouseCaptureEvent

Identifies the LostMouseCapture routed event.

System_CAPS_pubfieldSystem_CAPS_staticLostStylusCaptureEvent

Identifies the LostStylusCapture routed event.

System_CAPS_pubfieldSystem_CAPS_staticLostTouchCaptureEvent

Identifies the LostTouchCapture routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseDownEvent

Identifies the MouseDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseEnterEvent

Identifies the MouseEnter routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseLeaveEvent

Identifies the MouseLeave routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseLeftButtonDownEvent

Identifies the MouseLeftButtonDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseLeftButtonUpEvent

Identifies the MouseLeftButtonUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseMoveEvent

Identifies the MouseMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseRightButtonDownEvent

Identifies the MouseRightButtonDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseRightButtonUpEvent

Identifies the MouseRightButtonUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseUpEvent

Identifies the MouseUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticMouseWheelEvent

Identifies the MouseWheel routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewDragEnterEvent

Identifies the PreviewDragEnter routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewDragLeaveEvent

Identifies the PreviewDragLeave routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewDragOverEvent

Identifies the PreviewDragOver routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewDropEvent

Identifies the PreviewDrop routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewGiveFeedbackEvent

Identifies the PreviewGiveFeedback routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewGotKeyboardFocusEvent

Identifies the PreviewGotKeyboardFocus routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewKeyDownEvent

Identifies the PreviewKeyDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewKeyUpEvent

Identifies the PreviewKeyUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewLostKeyboardFocusEvent

Identifies the PreviewLostKeyboardFocus routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseDownEvent

Identifies the PreviewMouseDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseLeftButtonDownEvent

Identifies the PreviewMouseLeftButtonDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseLeftButtonUpEvent

Identifies the PreviewMouseLeftButtonUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseMoveEvent

Identifies the PreviewMouseMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseRightButtonDownEvent

Identifies the PreviewMouseRightButtonDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseRightButtonUpEvent

Identifies the PreviewMouseRightButtonUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseUpEvent

Identifies the PreviewMouseUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewMouseWheelEvent

Identifies the PreviewMouseWheel routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewQueryContinueDragEvent

Identifies the PreviewQueryContinueDrag routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusButtonDownEvent

Identifies the PreviewStylusButtonDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusButtonUpEvent

Identifies the PreviewStylusButtonUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusDownEvent

Identifies the PreviewStylusDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusInAirMoveEvent

Identifies the PreviewStylusInAirMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusInRangeEvent

Identifies the PreviewStylusInRange routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusMoveEvent

Identifies the PreviewStylusMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusOutOfRangeEvent

Identifies the PreviewStylusOutOfRange routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusSystemGestureEvent

Identifies the PreviewStylusSystemGesture routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewStylusUpEvent

Identifies the PreviewStylusUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewTextInputEvent

Identifies the PreviewTextInput routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewTouchDownEvent

Identifies the PreviewTouchDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewTouchMoveEvent

Identifies the PreviewTouchMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticPreviewTouchUpEvent

Identifies the PreviewTouchUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticQueryContinueDragEvent

Identifies the QueryContinueDrag routed event.

System_CAPS_pubfieldSystem_CAPS_staticQueryCursorEvent

Identifies the QueryCursor routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusButtonDownEvent

Identifies the StylusButtonDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusButtonUpEvent

Identifies the StylusButtonUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusDownEvent

Identifies the StylusDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusEnterEvent

Identifies the StylusEnter routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusInAirMoveEvent

Identifies the StylusInAirMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusInRangeEvent

Identifies the StylusInRange routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusLeaveEvent

Identifies the StylusLeave routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusMoveEvent

Identifies the StylusMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusOutOfRangeEvent

Identifies the StylusOutOfRange routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusSystemGestureEvent

Identifies the StylusSystemGesture routed event.

System_CAPS_pubfieldSystem_CAPS_staticStylusUpEvent

Identifies the StylusUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticTextInputEvent

Identifies the TextInput routed event.

System_CAPS_pubfieldSystem_CAPS_staticTouchDownEvent

Identifies the TouchDown routed event.

System_CAPS_pubfieldSystem_CAPS_staticTouchEnterEvent

Identifies the TouchEnter routed event.

System_CAPS_pubfieldSystem_CAPS_staticTouchLeaveEvent

Identifies the TouchLeave routed event.

System_CAPS_pubfieldSystem_CAPS_staticTouchMoveEvent

Identifies the TouchMove routed event.

System_CAPS_pubfieldSystem_CAPS_staticTouchUpEvent

Identifies the TouchUp routed event.

System_CAPS_pubfieldSystem_CAPS_staticVisibilityProperty

Identifies the Visibility dependency property.

NameDescription
System_CAPS_pubeventDragEnter

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

System_CAPS_pubeventDragLeave

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

System_CAPS_pubeventDragOver

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

System_CAPS_pubeventDrop

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

System_CAPS_pubeventFocusableChanged

Occurs when the value of the Focusable property changes.

System_CAPS_pubeventGiveFeedback

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

System_CAPS_pubeventGotFocus

Occurs when this element gets logical focus.

System_CAPS_pubeventGotKeyboardFocus

Occurs when the keyboard is focused on this element.

System_CAPS_pubeventGotMouseCapture

Occurs when this element captures the mouse.

System_CAPS_pubeventGotStylusCapture

Occurs when this element captures the stylus.

System_CAPS_pubeventGotTouchCapture

Occurs when a touch is captured to this element.

System_CAPS_pubeventIsEnabledChanged

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

System_CAPS_pubeventIsHitTestVisibleChanged

Occurs when the value of the IsHitTestVisible dependency property changes on this element.

System_CAPS_pubeventIsKeyboardFocusedChanged

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

System_CAPS_pubeventIsKeyboardFocusWithinChanged

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

System_CAPS_pubeventIsMouseCapturedChanged

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

System_CAPS_pubeventIsMouseCaptureWithinChanged

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

System_CAPS_pubeventIsMouseDirectlyOverChanged

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

System_CAPS_pubeventIsStylusCapturedChanged

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

System_CAPS_pubeventIsStylusCaptureWithinChanged

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

System_CAPS_pubeventIsStylusDirectlyOverChanged

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

System_CAPS_pubeventIsVisibleChanged

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

System_CAPS_pubeventKeyDown

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

System_CAPS_pubeventKeyUp

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

System_CAPS_pubeventLostFocus

Occurs when this element loses logical focus.

System_CAPS_pubeventLostKeyboardFocus

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

System_CAPS_pubeventLostMouseCapture

Occurs when this element loses mouse capture.

System_CAPS_pubeventLostStylusCapture

Occurs when this element loses stylus capture.

System_CAPS_pubeventLostTouchCapture

Occurs when this element loses a touch capture.

System_CAPS_pubeventMouseDown

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

System_CAPS_pubeventMouseEnter

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

System_CAPS_pubeventMouseLeave

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

System_CAPS_pubeventMouseLeftButtonDown

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

System_CAPS_pubeventMouseLeftButtonUp

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

System_CAPS_pubeventMouseMove

Occurs when the mouse pointer moves while over this element.

System_CAPS_pubeventMouseRightButtonDown

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

System_CAPS_pubeventMouseRightButtonUp

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

System_CAPS_pubeventMouseUp

Occurs when any mouse button is released over this element.

System_CAPS_pubeventMouseWheel

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

System_CAPS_pubeventPreviewDragEnter

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

System_CAPS_pubeventPreviewDragLeave

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

System_CAPS_pubeventPreviewDragOver

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

System_CAPS_pubeventPreviewDrop

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

System_CAPS_pubeventPreviewGiveFeedback

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

System_CAPS_pubeventPreviewGotKeyboardFocus

Occurs when the keyboard is focused on this element.

System_CAPS_pubeventPreviewKeyDown

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

System_CAPS_pubeventPreviewKeyUp

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

System_CAPS_pubeventPreviewLostKeyboardFocus

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

System_CAPS_pubeventPreviewMouseDown

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

System_CAPS_pubeventPreviewMouseLeftButtonDown

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

System_CAPS_pubeventPreviewMouseLeftButtonUp

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

System_CAPS_pubeventPreviewMouseMove

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

System_CAPS_pubeventPreviewMouseRightButtonDown

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

System_CAPS_pubeventPreviewMouseRightButtonUp

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

System_CAPS_pubeventPreviewMouseUp

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

System_CAPS_pubeventPreviewMouseWheel

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

System_CAPS_pubeventPreviewQueryContinueDrag

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

System_CAPS_pubeventPreviewStylusButtonDown

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

System_CAPS_pubeventPreviewStylusButtonUp

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

System_CAPS_pubeventPreviewStylusDown

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

System_CAPS_pubeventPreviewStylusInAirMove

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

System_CAPS_pubeventPreviewStylusInRange

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

System_CAPS_pubeventPreviewStylusMove

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.

System_CAPS_pubeventPreviewStylusOutOfRange

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

System_CAPS_pubeventPreviewStylusSystemGesture

Occurs when a user performs one of several stylus gestures.

System_CAPS_pubeventPreviewStylusUp

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

System_CAPS_pubeventPreviewTextInput

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

System_CAPS_pubeventPreviewTouchDown

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

System_CAPS_pubeventPreviewTouchMove

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

System_CAPS_pubeventPreviewTouchUp

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

System_CAPS_pubeventQueryContinueDrag

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

System_CAPS_pubeventQueryCursor

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.

System_CAPS_pubeventStylusButtonDown

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

System_CAPS_pubeventStylusButtonUp

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

System_CAPS_pubeventStylusDown

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

System_CAPS_pubeventStylusEnter

Occurs when the stylus enters the bounds of this element.

System_CAPS_pubeventStylusInAirMove

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

System_CAPS_pubeventStylusInRange

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

System_CAPS_pubeventStylusLeave

Occurs when the stylus leaves the bounds of the element.

System_CAPS_pubeventStylusMove

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.

System_CAPS_pubeventStylusOutOfRange

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

System_CAPS_pubeventStylusSystemGesture

Occurs when a user performs one of several stylus gestures.

System_CAPS_pubeventStylusUp

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

System_CAPS_pubeventTextInput

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

System_CAPS_pubeventTouchDown

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

System_CAPS_pubeventTouchEnter

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

System_CAPS_pubeventTouchLeave

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

System_CAPS_pubeventTouchMove

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

System_CAPS_pubeventTouchUp

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

UIElement3D is an abstract base class from which you can derive classes to represent specific 3D elements.

Much of the input, focusing, and eventing behavior for 3D elements in general is defined in the UIElement3D class. This includes the events for keyboard, mouse, and stylus input, and related status properties. Many of these events are routed events, and many of the input-related events have both a bubbling routing version as well as a tunneling version of the event. These paired events are typically the events of greatest interest to control authors.

UIElement3D also includes APIs that relate to the WPF event model, including methods that can raise specified routed events that are sourced from an element instance.

A UIElement3D has the following capabilities that are specifically defined by the UIElement3D class:

  • Can respond to user input (including control of where input is sent via handling of event routing or routing of commands).

  • Can raise routed events that travel a route through the logical element tree.

System_CAPS_importantImportant

Visibility state affects all input handling by that element. Elements that are not visible do not participate in hit testing and do not receive input events, even if the mouse is over the bounds of where the element would be if were visible.

Unlike the UIElement class, the UIElement3D class does not include layout. Therefore, the UIElement3D class does not include Measure or Arrange methods.

A class that derives from UIElement3D and maintains its own collection of Visual3D objects by overriding GetVisual3DChild and Visual3DChildrenCount must still pass new Visual3D objects to AddVisual3DChild.

UIElement3D is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

The following example shows how to derive from the UIElement3D class to create a Sphere class:

public class Sphere : UIElement3D
{
    // OnUpdateModel is called in response to InvalidateModel and provides
    // a place to set the Visual3DModel property.
    // 
    // Setting Visual3DModel does not provide parenting information, which
    // is needed for data binding, styling, and other features. Similarly, creating render data
    // in 2-D does not provide the connections either.
    // 
    // To get around this, we create a Model dependency property which
    // sets this value.  The Model DP then causes the correct connections to occur
    // and the above features to work correctly.
    // 
    // In this update model we retessellate the sphere based on the current
    // dependency property values, and then set it as the model.  The brush
    // color is blue by default, but the code can easily be updated to let
    // this be set by the user.

    protected override void OnUpdateModel()
    {
        GeometryModel3D model = new GeometryModel3D();

        model.Geometry = Tessellate(ThetaDiv, PhiDiv, Radius);
        model.Material = new DiffuseMaterial(System.Windows.Media.Brushes.Blue);

        Model = model;
    }

    // The Model property for the sphere
    private static readonly DependencyProperty ModelProperty =
        DependencyProperty.Register("Model",
                                    typeof(Model3D),
                                    typeof(Sphere),
                                    new PropertyMetadata(ModelPropertyChanged));

    private static void ModelPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
        Sphere s = (Sphere)d;
        s.Visual3DModel = s.Model;
    }

    private Model3D Model
    {
        get
        {
            return (Model3D)GetValue(ModelProperty);
        }

        set
        {
            SetValue(ModelProperty, value);
        }
    }

    // The number of divisions to make in the theta direction on the sphere
    public static readonly DependencyProperty ThetaDivProperty =
        DependencyProperty.Register("ThetaDiv",
                                    typeof(int),
                                    typeof(Sphere),
                                    new PropertyMetadata(15, ThetaDivPropertyChanged));

    private static void ThetaDivPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
        Sphere s = (Sphere)d;
        s.InvalidateModel();
    }

    public int ThetaDiv
    {
        get
        {
            return (int)GetValue(ThetaDivProperty);
        }

        set
        {
            SetValue(ThetaDivProperty, value);
        }
    }

    // The number of divisions to make in the phi direction on the sphere
    public static readonly DependencyProperty PhiDivProperty =
        DependencyProperty.Register("PhiDiv",
                                    typeof(int),
                                    typeof(Sphere),
                                    new PropertyMetadata(15, PhiDivPropertyChanged));

    private static void PhiDivPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
        Sphere s = (Sphere)d;
        s.InvalidateModel();
    }

    public int PhiDiv
    {
        get
        {
            return (int)GetValue(PhiDivProperty);
        }

        set
        {
            SetValue(PhiDivProperty, value);
        }
    }

    // The radius of the sphere
    public static readonly DependencyProperty RadiusProperty =
        DependencyProperty.Register("Radius",
                                    typeof(double),
                                    typeof(Sphere),
                                    new PropertyMetadata(1.0, RadiusPropertyChanged));

    private static void RadiusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
    {
        Sphere s = (Sphere)d;
        s.InvalidateModel();
    }

    public double Radius
    {
        get
        {
            return (double)GetValue(RadiusProperty);
        }

        set
        {
            SetValue(RadiusProperty, value);
        }
    }

    // Private helper methods
    private static Point3D GetPosition(double theta, double phi, double radius)
    {
        double x = radius * Math.Sin(theta) * Math.Sin(phi);
        double y = radius * Math.Cos(phi);
        double z = radius * Math.Cos(theta) * Math.Sin(phi);

        return new Point3D(x, y, z);
    }

    private static Vector3D GetNormal(double theta, double phi)
    {
        return (Vector3D)GetPosition(theta, phi, 1.0);
    }

    private static double DegToRad(double degrees)
    {
        return (degrees / 180.0) * Math.PI;
    }

    private static System.Windows.Point GetTextureCoordinate(double theta, double phi)
    {
        System.Windows.Point p = new System.Windows.Point(theta / (2 * Math.PI),
                            phi / (Math.PI));

        return p;
    }

    // Tesselates the sphere and returns a MeshGeometry3D representing the 
    // tessellation based on the given parameters
    internal static MeshGeometry3D Tessellate(int tDiv, int pDiv, double radius)
    {            
        double dt = DegToRad(360.0) / tDiv;
        double dp = DegToRad(180.0) / pDiv;

        MeshGeometry3D mesh = new MeshGeometry3D();

        for (int pi = 0; pi <= pDiv; pi++)
        {
            double phi = pi * dp;

            for (int ti = 0; ti <= tDiv; ti++)
            {
                // we want to start the mesh on the x axis
                double theta = ti * dt;

                mesh.Positions.Add(GetPosition(theta, phi, radius));
                mesh.Normals.Add(GetNormal(theta, phi));
                mesh.TextureCoordinates.Add(GetTextureCoordinate(theta, phi));
            }
        }

        for (int pi = 0; pi < pDiv; pi++)
        {
            for (int ti = 0; ti < tDiv; ti++)
            {
                int x0 = ti;
                int x1 = (ti + 1);
                int y0 = pi * (tDiv + 1);
                int y1 = (pi + 1) * (tDiv + 1);

                mesh.TriangleIndices.Add(x0 + y0);
                mesh.TriangleIndices.Add(x0 + y1);
                mesh.TriangleIndices.Add(x1 + y0);

                mesh.TriangleIndices.Add(x1 + y0);
                mesh.TriangleIndices.Add(x0 + y1);
                mesh.TriangleIndices.Add(x1 + y1);
            }
        }

        mesh.Freeze();
        return mesh;
    }
}

For the complete sample, see UIElement3D Sphere Sample.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft