Redigera

Dela via


ContainerUIElement3D Class

Definition

Represents a container for Visual3D objects.

public ref class ContainerUIElement3D sealed : System::Windows::UIElement3D
[System.Windows.Markup.ContentProperty("Children")]
public sealed class ContainerUIElement3D : System.Windows.UIElement3D
[<System.Windows.Markup.ContentProperty("Children")>]
type ContainerUIElement3D = class
    inherit UIElement3D
Public NotInheritable Class ContainerUIElement3D
Inherits UIElement3D
Inheritance
Attributes

Examples

In the following example, the ContainerUIElement3D object contains two cubes as its children:

<Viewport3D>
    <Viewport3D.Camera>
        <PerspectiveCamera Position="8,3,0" LookDirection="-8,-3,0" />
    </Viewport3D.Camera>
    
    <!-- The container has the two cubes as its children -->
    <ContainerUIElement3D MouseDown="ContainerMouseDown">
        <ContainerUIElement3D.Transform>
            <RotateTransform3D>
                <RotateTransform3D.Rotation>
                    <AxisAngleRotation3D x:Name="containerRotation" Axis="0, 1, 0" Angle="0" />
                </RotateTransform3D.Rotation>
            </RotateTransform3D>
        </ContainerUIElement3D.Transform>
        
        <!-- Cube 1 -->
        <ModelUIElement3D MouseDown="Cube1MouseDown">
            <ModelUIElement3D.Transform>
                <TranslateTransform3D OffsetZ="1.5" />
            </ModelUIElement3D.Transform>
            
            <ModelUIElement3D.Model>
                <GeometryModel3D Geometry="{StaticResource CubeMesh}">
                    <GeometryModel3D.Material>
                        <DiffuseMaterial x:Name="cube1Material" Brush="Blue" />
                    </GeometryModel3D.Material>
                </GeometryModel3D>
            </ModelUIElement3D.Model>
        </ModelUIElement3D>

        <!-- Cube 2 -->
        <ModelUIElement3D MouseDown="Cube2MouseDown">
            <ModelUIElement3D.Transform>
                <TranslateTransform3D OffsetZ="-1.5" />
            </ModelUIElement3D.Transform>
            
            <ModelUIElement3D.Model>
                <GeometryModel3D Geometry="{StaticResource CubeMesh}">
                    <GeometryModel3D.Material>
                        <DiffuseMaterial x:Name="cube2Material" Brush="Green" />
                    </GeometryModel3D.Material>
                </GeometryModel3D>
            </ModelUIElement3D.Model>
        </ModelUIElement3D>                
    </ContainerUIElement3D>
    
    <!-- Lights -->
    <ModelVisual3D>
        <ModelVisual3D.Content>
            <PointLight Color="White" Position="3, 10, 4" />
        </ModelVisual3D.Content>
    </ModelVisual3D>
</Viewport3D>

The following shows the event handler of the container:

// When the ContainerUIElement3D that has the two cubes as its children gets the
// routed click event, spin the cubes in a 360 degree circle
private void ContainerMouseDown(object sender, MouseButtonEventArgs e)
{
    e.Handled = true;

    // spin the cubes around
    DoubleAnimation doubleAnimation = new DoubleAnimation(0, 
                                                          360,
                                                          new Duration(TimeSpan.FromSeconds(0.5)));
    containerRotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, doubleAnimation);
}
' When the ContainerUIElement3D that has the two cubes as its children gets the
' routed click event, spin the cubes in a 360 degree circle
Private Sub ContainerMouseDown(ByVal sender As Object, ByVal e As MouseButtonEventArgs)
    e.Handled = True

    ' spin the cubes around
    Dim doubleAnimation As New DoubleAnimation(0, 360, New Duration(TimeSpan.FromSeconds(0.5)))
    containerRotation.BeginAnimation(AxisAngleRotation3D.AngleProperty, doubleAnimation)
End Sub

Remarks

The Children collection of a ContainerUIElement3D element can only consist of UIElement3D objects. Adding a UIElement3D child to a ContainerUIElement3D implicitly adds it to the Visual3DCollection for the ContainerUIElement3D element.

ContainerUIElement3D does not have a visual representation; it serves as a container for other visual 3-D objects. ContainerUIElement3D is a UIElement3D object, which provides support for input, focus, and events in 3-D.

This class does not set the Visual3DModel property.

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

Constructors

ContainerUIElement3D()

Initializes a new instance of the ContainerUIElement3D class.

Properties

AllowDrop

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

(Inherited from UIElement3D)
AreAnyTouchesCaptured

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

(Inherited from UIElement3D)
AreAnyTouchesCapturedWithin

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

(Inherited from UIElement3D)
AreAnyTouchesDirectlyOver

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

(Inherited from UIElement3D)
AreAnyTouchesOver

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

(Inherited from UIElement3D)
Children

Gets a Visual3DCollection of child elements of this ContainerUIElement3D object.

CommandBindings

Gets a collection of CommandBinding objects associated with this element.

(Inherited from UIElement3D)
DependencyObjectType

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

(Inherited from DependencyObject)
Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
Focusable

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

(Inherited from UIElement3D)
HasAnimatedProperties

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

(Inherited from Visual3D)
InputBindings

Gets the collection of input bindings associated with this element.

(Inherited from UIElement3D)
IsEnabled

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

(Inherited from UIElement3D)
IsEnabledCore

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

(Inherited from UIElement3D)
IsFocused

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

(Inherited from UIElement3D)
IsHitTestVisible

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.

(Inherited from UIElement3D)
IsInputMethodEnabled

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.

(Inherited from UIElement3D)
IsKeyboardFocused

Gets a value indicating whether this element has keyboard focus.

(Inherited from UIElement3D)
IsKeyboardFocusWithin

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

(Inherited from UIElement3D)
IsMouseCaptured

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

(Inherited from UIElement3D)
IsMouseCaptureWithin

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

(Inherited from UIElement3D)
IsMouseDirectlyOver

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

(Inherited from UIElement3D)
IsMouseOver

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

(Inherited from UIElement3D)
IsSealed

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

(Inherited from DependencyObject)
IsStylusCaptured

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

(Inherited from UIElement3D)
IsStylusCaptureWithin

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

(Inherited from UIElement3D)
IsStylusDirectlyOver

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

(Inherited from UIElement3D)
IsStylusOver

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

(Inherited from UIElement3D)
IsVisible

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

(Inherited from UIElement3D)
TouchesCaptured

Gets all touch devices that are captured to this element.

(Inherited from UIElement3D)
TouchesCapturedWithin

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

(Inherited from UIElement3D)
TouchesDirectlyOver

Gets all touch devices that are over this element.

(Inherited from UIElement3D)
TouchesOver

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

(Inherited from UIElement3D)
Transform

Gets or sets the transformation that is applied to the 3-D object.

(Inherited from Visual3D)
Visibility

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

(Inherited from UIElement3D)
Visual3DChildrenCount

Gets the number of child elements for the Visual3D object.

(Inherited from Visual3D)
Visual3DModel

Gets or sets the Model3D object to render.

(Inherited from Visual3D)

Methods

AddHandler(RoutedEvent, Delegate, Boolean)

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

(Inherited from UIElement3D)
AddHandler(RoutedEvent, Delegate)

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

(Inherited from UIElement3D)
AddToEventRoute(EventRoute, RoutedEventArgs)

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

(Inherited from UIElement3D)
AddVisual3DChild(Visual3D)

Defines the parent-child relationship between two 3-D visuals.

(Inherited from Visual3D)
ApplyAnimationClock(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)
ApplyAnimationClock(DependencyProperty, AnimationClock)

Applies the effect of a given AnimationClock to a given dependency property.

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

Initiates an animation sequence for the DependencyProperty object, based on both the specified AnimationTimeline and HandoffBehavior.

(Inherited from Visual3D)
BeginAnimation(DependencyProperty, AnimationTimeline)

Initiates an animation sequence for the DependencyProperty object, based on the specified AnimationTimeline.

(Inherited from Visual3D)
CaptureMouse()

Attempts to force capture of the mouse to this element.

(Inherited from UIElement3D)
CaptureStylus()

Attempts to force capture of the stylus to this element.

(Inherited from UIElement3D)
CaptureTouch(TouchDevice)

Attempts to force capture of a touch to this element.

(Inherited from UIElement3D)
CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
ClearValue(DependencyProperty)

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

(Inherited from DependencyObject)
ClearValue(DependencyPropertyKey)

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

(Inherited from DependencyObject)
CoerceValue(DependencyProperty)

Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(Inherited from DependencyObject)
Equals(Object)

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

(Inherited from DependencyObject)
FindCommonVisualAncestor(DependencyObject)

Returns the common ancestor of the visual object and another specified visual object.

(Inherited from Visual3D)
Focus()

Attempts to set the logical focus on this element.

(Inherited from UIElement3D)
GetAnimationBaseValue(DependencyProperty)

Retrieves the base value of the specified DependencyProperty object.

(Inherited from Visual3D)
GetHashCode()

Gets a hash code for this DependencyObject.

(Inherited from DependencyObject)
GetLocalValueEnumerator()

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

(Inherited from DependencyObject)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUIParentCore()

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

(Inherited from UIElement3D)
GetValue(DependencyProperty)

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

(Inherited from DependencyObject)
GetVisual3DChild(Int32)

Returns the specified Visual3D in the parent Visual3DCollection.

(Inherited from Visual3D)
InvalidateModel()

Invalidates the model that represents the element.

(Inherited from UIElement3D)
InvalidateProperty(DependencyProperty)

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

(Inherited from DependencyObject)
IsAncestorOf(DependencyObject)

Determines whether the visual object is an ancestor of the descendant visual object.

(Inherited from Visual3D)
IsDescendantOf(DependencyObject)

Determines whether the visual object is a descendant of the ancestor visual object.

(Inherited from Visual3D)
MemberwiseClone()

Creates a shallow copy of the current Object.

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

(Inherited from UIElement3D)
OnAccessKey(AccessKeyEventArgs)

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

(Inherited from UIElement3D)
OnCreateAutomationPeer()

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

(Inherited from UIElement3D)
OnDragEnter(DragEventArgs)

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

(Inherited from UIElement3D)
OnDragLeave(DragEventArgs)

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

(Inherited from UIElement3D)
OnDragOver(DragEventArgs)

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

(Inherited from UIElement3D)
OnDrop(DragEventArgs)

Invoked when an unhandled 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.

(Inherited from UIElement3D)
OnGiveFeedback(GiveFeedbackEventArgs)

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

(Inherited from UIElement3D)
OnGotFocus(RoutedEventArgs)

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

(Inherited from UIElement3D)
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

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

(Inherited from UIElement3D)
OnGotMouseCapture(MouseEventArgs)

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

(Inherited from UIElement3D)
OnGotStylusCapture(StylusEventArgs)

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

(Inherited from UIElement3D)
OnGotTouchCapture(TouchEventArgs)

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

(Inherited from UIElement3D)
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

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

(Inherited from UIElement3D)
OnKeyDown(KeyEventArgs)

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

(Inherited from UIElement3D)
OnKeyUp(KeyEventArgs)

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

(Inherited from UIElement3D)
OnLostFocus(RoutedEventArgs)

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

(Inherited from UIElement3D)
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

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

(Inherited from UIElement3D)
OnLostMouseCapture(MouseEventArgs)

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

(Inherited from UIElement3D)
OnLostStylusCapture(StylusEventArgs)

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

(Inherited from UIElement3D)
OnLostTouchCapture(TouchEventArgs)

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

(Inherited from UIElement3D)
OnMouseDown(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnMouseEnter(MouseEventArgs)

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

(Inherited from UIElement3D)
OnMouseLeave(MouseEventArgs)

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

(Inherited from UIElement3D)
OnMouseLeftButtonDown(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnMouseLeftButtonUp(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnMouseMove(MouseEventArgs)

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

(Inherited from UIElement3D)
OnMouseRightButtonDown(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnMouseRightButtonUp(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnMouseUp(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnMouseWheel(MouseWheelEventArgs)

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

(Inherited from UIElement3D)
OnPreviewDragEnter(DragEventArgs)

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

(Inherited from UIElement3D)
OnPreviewDragLeave(DragEventArgs)

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

(Inherited from UIElement3D)
OnPreviewDragOver(DragEventArgs)

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

(Inherited from UIElement3D)
OnPreviewDrop(DragEventArgs)

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

(Inherited from UIElement3D)
OnPreviewGiveFeedback(GiveFeedbackEventArgs)

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

(Inherited from UIElement3D)
OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs)

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

(Inherited from UIElement3D)
OnPreviewKeyDown(KeyEventArgs)

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

(Inherited from UIElement3D)
OnPreviewKeyUp(KeyEventArgs)

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

(Inherited from UIElement3D)
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled 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.

(Inherited from UIElement3D)
OnPreviewMouseDown(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewMouseMove(MouseEventArgs)

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

(Inherited from UIElement3D)
OnPreviewMouseRightButtonDown(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewMouseRightButtonUp(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewMouseUp(MouseButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewMouseWheel(MouseWheelEventArgs)

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

(Inherited from UIElement3D)
OnPreviewQueryContinueDrag(QueryContinueDragEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusButtonDown(StylusButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusButtonUp(StylusButtonEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusDown(StylusDownEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusInAirMove(StylusEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusInRange(StylusEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusMove(StylusEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusOutOfRange(StylusEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)

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

(Inherited from UIElement3D)
OnPreviewStylusUp(StylusEventArgs)

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

(Inherited from UIElement3D)
OnPreviewTextInput(TextCompositionEventArgs)

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

(Inherited from UIElement3D)
OnPreviewTouchDown(TouchEventArgs)

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

(Inherited from UIElement3D)
OnPreviewTouchMove(TouchEventArgs)

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

(Inherited from UIElement3D)
OnPreviewTouchUp(TouchEventArgs)

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

(Inherited from UIElement3D)
OnPropertyChanged(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)
OnQueryContinueDrag(QueryContinueDragEventArgs)

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

(Inherited from UIElement3D)
OnQueryCursor(QueryCursorEventArgs)

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

(Inherited from UIElement3D)
OnStylusButtonDown(StylusButtonEventArgs)

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

(Inherited from UIElement3D)
OnStylusButtonUp(StylusButtonEventArgs)

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

(Inherited from UIElement3D)
OnStylusDown(StylusDownEventArgs)

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

(Inherited from UIElement3D)
OnStylusEnter(StylusEventArgs)

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

(Inherited from UIElement3D)
OnStylusInAirMove(StylusEventArgs)

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

(Inherited from UIElement3D)
OnStylusInRange(StylusEventArgs)

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

(Inherited from UIElement3D)
OnStylusLeave(StylusEventArgs)

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

(Inherited from UIElement3D)
OnStylusMove(StylusEventArgs)

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

(Inherited from UIElement3D)
OnStylusOutOfRange(StylusEventArgs)

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

(Inherited from UIElement3D)
OnStylusSystemGesture(StylusSystemGestureEventArgs)

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

(Inherited from UIElement3D)
OnStylusUp(StylusEventArgs)

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

(Inherited from UIElement3D)
OnTextInput(TextCompositionEventArgs)

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

(Inherited from UIElement3D)
OnTouchDown(TouchEventArgs)

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

(Inherited from UIElement3D)
OnTouchEnter(TouchEventArgs)

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

(Inherited from UIElement3D)
OnTouchLeave(TouchEventArgs)

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

(Inherited from UIElement3D)
OnTouchMove(TouchEventArgs)

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

(Inherited from UIElement3D)
OnTouchUp(TouchEventArgs)

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

(Inherited from UIElement3D)
OnUpdateModel()

Participates in rendering operations when overridden in a derived class.

(Inherited from UIElement3D)
OnVisualChildrenChanged(DependencyObject, DependencyObject)

Called when the Visual3DCollection of the visual object is modified.

(Inherited from Visual3D)
OnVisualParentChanged(DependencyObject)

Invoked when the parent element of this UIElement3D reports a change to its underlying visual parent.

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

(Inherited from UIElement3D)
RaiseEvent(RoutedEventArgs)

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

(Inherited from UIElement3D)
ReadLocalValue(DependencyProperty)

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

(Inherited from DependencyObject)
ReleaseAllTouchCaptures()

Releases all captured touch devices from this element.

(Inherited from UIElement3D)
ReleaseMouseCapture()

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

(Inherited from UIElement3D)
ReleaseStylusCapture()

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

(Inherited from UIElement3D)
ReleaseTouchCapture(TouchDevice)

Attempts to release the specified touch device from this element.

(Inherited from UIElement3D)
RemoveHandler(RoutedEvent, Delegate)

Removes the specified routed event handler from this element.

(Inherited from UIElement3D)
RemoveVisual3DChild(Visual3D)

Removes the parent-child relationship between two 3-D visuals.

(Inherited from Visual3D)
SetCurrentValue(DependencyProperty, Object)

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

(Inherited from DependencyObject)
SetValue(DependencyProperty, Object)

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

(Inherited from DependencyObject)
SetValue(DependencyPropertyKey, Object)

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

(Inherited from DependencyObject)
ShouldSerializeCommandBindings()

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

(Inherited from UIElement3D)
ShouldSerializeInputBindings()

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

(Inherited from UIElement3D)
ShouldSerializeProperty(DependencyProperty)

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

(Inherited from DependencyObject)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TransformToAncestor(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)
TransformToAncestor(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)
TransformToDescendant(Visual3D)

Returns a transform that can be used to transform coordinates from this Visual3D object to the specified Visual3D descent object.

(Inherited from Visual3D)
VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Events

DragEnter

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

(Inherited from UIElement3D)
DragLeave

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

(Inherited from UIElement3D)
DragOver

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

(Inherited from UIElement3D)
Drop

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

(Inherited from UIElement3D)
FocusableChanged

Occurs when the value of the Focusable property changes.

(Inherited from UIElement3D)
GiveFeedback

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

(Inherited from UIElement3D)
GotFocus

Occurs when this element gets logical focus.

(Inherited from UIElement3D)
GotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from UIElement3D)
GotMouseCapture

Occurs when this element captures the mouse.

(Inherited from UIElement3D)
GotStylusCapture

Occurs when this element captures the stylus.

(Inherited from UIElement3D)
GotTouchCapture

Occurs when a touch is captured to this element.

(Inherited from UIElement3D)
IsEnabledChanged

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

(Inherited from UIElement3D)
IsHitTestVisibleChanged

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

(Inherited from UIElement3D)
IsKeyboardFocusedChanged

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

(Inherited from UIElement3D)
IsKeyboardFocusWithinChanged

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

(Inherited from UIElement3D)
IsMouseCapturedChanged

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

(Inherited from UIElement3D)
IsMouseCaptureWithinChanged

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

(Inherited from UIElement3D)
IsMouseDirectlyOverChanged

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

(Inherited from UIElement3D)
IsStylusCapturedChanged

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

(Inherited from UIElement3D)
IsStylusCaptureWithinChanged

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

(Inherited from UIElement3D)
IsStylusDirectlyOverChanged

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

(Inherited from UIElement3D)
IsVisibleChanged

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

(Inherited from UIElement3D)
KeyDown

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

(Inherited from UIElement3D)
KeyUp

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

(Inherited from UIElement3D)
LostFocus

Occurs when this element loses logical focus.

(Inherited from UIElement3D)
LostKeyboardFocus

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

(Inherited from UIElement3D)
LostMouseCapture

Occurs when this element loses mouse capture.

(Inherited from UIElement3D)
LostStylusCapture

Occurs when this element loses stylus capture.

(Inherited from UIElement3D)
LostTouchCapture

Occurs when this element loses a touch capture.

(Inherited from UIElement3D)
MouseDown

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

(Inherited from UIElement3D)
MouseEnter

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

(Inherited from UIElement3D)
MouseLeave

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

(Inherited from UIElement3D)
MouseLeftButtonDown

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

(Inherited from UIElement3D)
MouseLeftButtonUp

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

(Inherited from UIElement3D)
MouseMove

Occurs when the mouse pointer moves while over this element.

(Inherited from UIElement3D)
MouseRightButtonDown

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

(Inherited from UIElement3D)
MouseRightButtonUp

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

(Inherited from UIElement3D)
MouseUp

Occurs when any mouse button is released over this element.

(Inherited from UIElement3D)
MouseWheel

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

(Inherited from UIElement3D)
PreviewDragEnter

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

(Inherited from UIElement3D)
PreviewDragLeave

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

(Inherited from UIElement3D)
PreviewDragOver

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

(Inherited from UIElement3D)
PreviewDrop

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

(Inherited from UIElement3D)
PreviewGiveFeedback

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

(Inherited from UIElement3D)
PreviewGotKeyboardFocus

Occurs when the keyboard is focused on this element.

(Inherited from UIElement3D)
PreviewKeyDown

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

(Inherited from UIElement3D)
PreviewKeyUp

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

(Inherited from UIElement3D)
PreviewLostKeyboardFocus

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

(Inherited from UIElement3D)
PreviewMouseDown

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

(Inherited from UIElement3D)
PreviewMouseLeftButtonDown

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

(Inherited from UIElement3D)
PreviewMouseLeftButtonUp

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

(Inherited from UIElement3D)
PreviewMouseMove

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

(Inherited from UIElement3D)
PreviewMouseRightButtonDown

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

(Inherited from UIElement3D)
PreviewMouseRightButtonUp

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

(Inherited from UIElement3D)
PreviewMouseUp

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

(Inherited from UIElement3D)
PreviewMouseWheel

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

(Inherited from UIElement3D)
PreviewQueryContinueDrag

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

(Inherited from UIElement3D)
PreviewStylusButtonDown

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

(Inherited from UIElement3D)
PreviewStylusButtonUp

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

(Inherited from UIElement3D)
PreviewStylusDown

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

(Inherited from UIElement3D)
PreviewStylusInAirMove

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

(Inherited from UIElement3D)
PreviewStylusInRange

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

(Inherited from UIElement3D)
PreviewStylusMove

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

(Inherited from UIElement3D)
PreviewStylusOutOfRange

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

(Inherited from UIElement3D)
PreviewStylusSystemGesture

Occurs when a user performs one of several stylus gestures.

(Inherited from UIElement3D)
PreviewStylusUp

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

(Inherited from UIElement3D)
PreviewTextInput

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

(Inherited from UIElement3D)
PreviewTouchDown

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

(Inherited from UIElement3D)
PreviewTouchMove

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

(Inherited from UIElement3D)
PreviewTouchUp

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

(Inherited from UIElement3D)
QueryContinueDrag

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

(Inherited from UIElement3D)
QueryCursor

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

(Inherited from UIElement3D)
StylusButtonDown

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

(Inherited from UIElement3D)
StylusButtonUp

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

(Inherited from UIElement3D)
StylusDown

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

(Inherited from UIElement3D)
StylusEnter

Occurs when the stylus enters the bounds of this element.

(Inherited from UIElement3D)
StylusInAirMove

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

(Inherited from UIElement3D)
StylusInRange

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

(Inherited from UIElement3D)
StylusLeave

Occurs when the stylus leaves the bounds of the element.

(Inherited from UIElement3D)
StylusMove

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

(Inherited from UIElement3D)
StylusOutOfRange

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

(Inherited from UIElement3D)
StylusSystemGesture

Occurs when a user performs one of several stylus gestures.

(Inherited from UIElement3D)
StylusUp

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

(Inherited from UIElement3D)
TextInput

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

(Inherited from UIElement3D)
TouchDown

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

(Inherited from UIElement3D)
TouchEnter

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

(Inherited from UIElement3D)
TouchLeave

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

(Inherited from UIElement3D)
TouchMove

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

(Inherited from UIElement3D)
TouchUp

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

(Inherited from UIElement3D)

Applies to