4.967 UIElement

x:Object > DependencyObject > Visual > UIElement, IInputElement
UIElement
FrameworkElement
(usage)
<UIElement />
(description)
A base type for core elements and basic presentation characteristics.
(used by)
AdornedElementPlaceholder AdornerDecorator AutomationProperties BlockUIContainer BulletDecorator ContextMenu ContextMenuService Decorator InlineCollection InlineUIContainer Label Popup ToolTip ToolTipService UIElementCollection Viewbox
(properties)
AllowDrop
x:Boolean
(description)
A value indicating whether this element can be used as the target of a drag-and-drop operation.
CacheMode
CacheMode
(description)
A cached representation of the UIElement.
Clip
Geometry
(description)
The geometry used to define the outline of the contents of an element.
ClipToBounds
x:Boolean
(description)
A value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element.
CommandBindings
CommandBindingCollection
(description)
A collection of CommandBinding objects associated with this element. A CommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element.
[read only]
true
Effect
Effect
(description)
The bitmap effect to apply to the UIElement.
Focusable
x:Boolean
(description)
A value that indicates whether the element can receive focus.
InputBindings
InputBindingCollection
(description)
The collection of input bindings associated with this element.
[read only]
true
IsEnabled
x:Boolean
(description)
A value indicating whether this element is enabled in the user interface (UI).
IsHitTestVisible
x:Boolean
(description)
A value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content.
IsManipulationEnabled
x:Boolean
(description)
A value that indicates whether manipulation events are enabled on this UIElement.
Opacity
x:Double
(description)
The opacity factor applied to the entire UIElement when it is rendered in the user interface (UI).
OpacityMask
Brush
(description)
An opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element.
RenderSize
Size
(description)
The final render size of this element.
RenderTransform
Transform
(description)
Transform information that affects the rendering position of this element.
RenderTransformOrigin
Point
(description)
The center point of any possible render transform declared by RenderTransform, relative to the bounds of the element.
SnapsToDevicePixels
x:Boolean
(description)
A value that determines whether rendering for this element should use device-specific pixel settings during rendering.
Uid
x:String
(description)
The unique identifier (for localization) for this element.
Visibility
Visibility
(description)
The user interface (UI) visibility of this element.
(events)
DragEnter
Occurs when the input system reports an underlying drag event with this element as the drag target.
DragLeave
Occurs when the input system reports an underlying drag event with this element as the drag origin.
DragOver
Occurs when the input system reports an underlying drag event with this element as the potential drop target.
Drop
Occurs when the input system reports an underlying drop event with this element as the drop target.
FocusableChanged
Occurs when the value of the Focusable property changes.
GiveFeedback
Occurs when the input system reports an underlying drag-and-drop event that involves this element.
GotFocus
Occurs when this element gets logical focus.
GotKeyboardFocus
Occurs when the keyboard is focused on this element.
GotMouseCapture
Occurs when this element captures the mouse.
GotStylusCapture
Occurs when this element captures the stylus.
GotTouchCapture
Occurs when a touch is captured to this element.
IsEnabledChanged
Occurs when the value of the IsEnabled property on this element changes.
IsHitTestVisibleChanged
Occurs when the value of the IsHitTestVisible property changes on this element.
IsKeyboardFocusedChanged
Occurs when the value of the IsKeyboardFocused property changes on this element.
IsKeyboardFocusWithinChanged
Occurs when the value of the IsKeyboardFocusWithinChanged property changes on this element.
IsMouseCapturedChanged
Occurs when the value of the IsMouseCaptured property changes on this element.
IsMouseCaptureWithinChanged
Occurs when the value of the IsMouseCaptureWithinProperty changes on this element.
IsMouseDirectlyOverChanged
Occurs when the value of the IsMouseDirectlyOver property changes on this element.
IsStylusCapturedChanged
Occurs when the value of the IsStylusCaptured property changes on this element.
IsStylusCaptureWithinChanged
Occurs when the value of the IsStylusCaptureWithin property changes on this element.
IsStylusDirectlyOverChanged
Occurs when the value of the IsStylusDirectlyOver property changes on this element.
IsVisibleChanged
Occurs when the value of the IsVisible property changes on this element.
KeyDown
Occurs when a key is pressed while focus is on this element.
KeyUp
Occurs when a key is released while focus is on this element.
LayoutUpdated
Occurs when the layout of the various visual elements associated with the current Dispatcher changes.
LostFocus
Occurs when this element loses logical focus.
LostKeyboardFocus
Occurs when the keyboard is no longer focused on this element,.
LostMouseCapture
Occurs when this element loses mouse capture.
LostStylusCapture
Occurs when this element loses stylus capture.
LostTouchCapture
Occurs when this element loses a touch capture.
ManipulationBoundaryFeedback
Occurs when the manipulation encounters a boundary.
ManipulationCompleted
Occurs when a manipulation and inertia on the UIElement object is complete.
ManipulationDelta
Occurs when the input device changes position during a manipulation.
ManipulationInertiaStarting
Occurs when the input device loses contact with the UIElement object during a manipulation and inertia begins.
ManipulationStarted
Occurs when an input device begins a manipulation on the UIElement object.
ManipulationStarting
Occurs when the manipulation processor is first created.
MouseDown
Occurs when any mouse button is pressed while the pointer is over this element.
MouseEnter
Occurs when the mouse pointer enters the bounds of this element.
MouseLeave
Occurs when the mouse pointer leaves the bounds of this element.
MouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
MouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over this element.
MouseMove
Occurs when the mouse pointer moves while over this element.
MouseRightButtonDown
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
MouseRightButtonUp
Occurs when the right mouse button is released while the mouse pointer is over this element.
MouseUp
Occurs when any mouse button is released over this element.
MouseWheel
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.
PreviewDragEnter
Occurs when the input system reports an underlying drag event with this element as the drag target.
PreviewDragLeave
Occurs when the input system reports an underlying drag event with this element as the drag origin.
PreviewDragOver
Occurs when the input system reports an underlying drag event with this element as the potential drop target.
PreviewDrop
Occurs when the input system reports an underlying drop event with this element as the drop target.
PreviewGiveFeedback
Occurs when a drag-and-drop operation is started.
PreviewGotKeyboardFocus
Occurs when the keyboard is focused on this element.
PreviewKeyDown
Occurs when a key is pressed while focus is on this element.
PreviewKeyUp
Occurs when a key is released while focus is on this element.
PreviewLostKeyboardFocus
Occurs when the keyboard is no longer focused on this element.
PreviewMouseDown
Occurs when any mouse button is pressed while the pointer is over this element.
PreviewMouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
PreviewMouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over this element.
PreviewMouseMove
Occurs when the mouse pointer moves while the mouse pointer is over this element.
PreviewMouseRightButtonDown
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
PreviewMouseRightButtonUp
Occurs when the right mouse button is released while the mouse pointer is over this element.
PreviewMouseUp
Occurs when any mouse button is released while the mouse pointer is over this element.
PreviewMouseWheel
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.
PreviewQueryContinueDrag
Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.
PreviewStylusButtonDown
Occurs when the stylus button is pressed while the pointer is over this element.
PreviewStylusButtonUp
Occurs when the stylus button is released while the pointer is over this element.
PreviewStylusDown
Occurs when the stylus touches the digitizer while it is over this element.
PreviewStylusInAirMove
Occurs when the stylus moves over an element without actually touching the digitizer.
PreviewStylusInRange
Occurs when the stylus is close enough to the digitizer to be detected, while over this element.
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.
PreviewStylusOutOfRange
Occurs when the stylus is too far from the digitizer to be detected.
PreviewStylusSystemGesture
Occurs when a user performs one of several stylus gestures.
PreviewStylusUp
Occurs when the user raises the stylus off the digitizer while the stylus is over this element.
PreviewTextInput
Occurs when this element gets text in a device-independent manner.
PreviewTouchDown
Occurs when a finger touches the screen while the finger is over this element.
PreviewTouchMove
Occurs when a finger moves on the screen while the finger is over this element.
PreviewTouchUp
Occurs when a finger is raised off of the screen while the finger is over this element.
QueryContinueDrag
Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.
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.
StylusButtonDown
Occurs when the stylus button is pressed while the pointer is over this element.
StylusButtonUp
Occurs when the stylus button is released while the pointer is over this element.
StylusDown
Occurs when the stylus touches the digitizer while the stylus is over this element.
StylusEnter
Occurs when the stylus enters the bounds of this element.
StylusInAirMove
Occurs when the stylus moves over an element without actually touching the digitizer.
StylusInRange
Occurs when the stylus is close enough to the digitizer to be detected, while over this element.
StylusLeave
Occurs when the stylus leaves the bounds of the element.
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.
StylusOutOfRange
Occurs when the stylus is too far from the digitizer to be detected, while over this element.
StylusSystemGesture
Occurs when a user performs one of several stylus gestures.
StylusUp
Occurs when the user raises the stylus off the digitizer while it is over this element.
TextInput
Occurs when this element gets text in a device-independent manner.
TouchDown
Occurs when a finger touches the screen while the finger is over this element.
TouchEnter
Occurs when a touch moves from outside to inside the bounds of this element.
TouchLeave
Occurs when a touch moves from inside to outside the bounds of this element.
TouchMove
Occurs when a finger moves on the screen while the finger is over this element.
TouchUp
Occurs when a finger is raised off of the screen while the finger is over this element.