| UIElement Class |
Namespace: Windows.UI.Xaml
public abstract class UIElement : DependencyObject
The UIElement type exposes the following members.
| Name | Description | |
|---|---|---|
| CapturePointer |
Sets pointer capture to a UIElement.
| |
| CreateDomChildWrapper |
When overriden, creates a dom wrapper for each child that is added to the UIElement.
| |
| CreateDomElement |
When overriden, creates the dom elements designed to represent an instance of an UIElement and defines the place where its child(ren) will be added.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetChildsWrapper | ||
| GetDomElementWhereToPlaceChild | ||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue |
Returns the current effective value of a dependency property from a DependencyObject.
(Inherited from DependencyObject.) | |
| GetVisualStateValue | (Inherited from DependencyObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnGotFocus |
Raises the GotFocus event
| |
| OnKeyDown |
Raises the KeyDown event
| |
| OnKeyUp |
Raises the KeyUp event
| |
| OnLostFocus |
Raises the LostFocus event
| |
| OnPointerEntered |
Raises the PointerEntered event
| |
| OnPointerExited |
Raises the PointerExited event
| |
| OnPointerMoved | ||
| OnPointerPressed |
Raises the PointerPressed event
| |
| OnPointerReleased |
Raises the PointerReleased event
| |
| OnTapped |
Raises the Tapped event
| |
| ReadLocalValue |
Returns the local value of a dependency property, if a local value is set.
(Inherited from DependencyObject.) | |
| ReleasePointerCapture |
Releases pointer captures for capture of one specific pointer by this UIElement.
| |
| SetBinding |
Attaches a binding to a FrameworkElement, using the provided binding object.
(Inherited from DependencyObject.) | |
| SetInheritedValue |
Sets the inherited value of a dependency property on a DependencyObject. Do not use this method.
(Inherited from DependencyObject.) | |
| SetLocalValue |
Sets the local value of a dependency property on a DependencyObject while not overriding a hypothetical Binding (example: when the user writes in a TextBox with a two way Binding on its Text property).
(Inherited from DependencyObject.) | |
| SetValue |
Sets the local value of a dependency property on a DependencyObject.
(Inherited from DependencyObject.) | |
| SetVisualStateValue | (Inherited from DependencyObject.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TransformToVisual |
Returns a transform object that can be used to transform coordinates from
the UIElement to the specified object.
|
| Name | Description | |
|---|---|---|
| EffectProperty | ||
| OpacityProperty |
Identifies the Opacity dependency property.
| |
| RenderTransformOriginProperty | ||
| RenderTransformProperty |
Identifies the RenderTransform dependency property.
| |
| UseLayoutRoundingProperty |
Identifies the UseLayoutRounding dependency property.
| |
| VisibilityProperty |
Identifies the Visibility dependency property.
|
| Name | Description | |
|---|---|---|
| Dispatcher |
Gets the CoreDispatcher that this object is associated with.
(Inherited from DependencyObject.) | |
| Effect | ||
| Opacity |
Gets or sets the degree of the object's opacity.
A value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning
full opacity and 0 meaning transparent. The default value is 1.0.
| |
| RenderTransform |
Gets or sets transform information that affects the rendering position of
a UIElement.
| |
| RenderTransformOrigin | ||
| UseLayoutRounding |
Gets or sets a value that determines whether rendering for the object and
its visual subtree should use rounding behavior that aligns rendering to
whole pixels.
| |
| Visibility |
Gets or sets the visibility of a UIElement. A UIElement that is not visible
is not rendered and does not communicate its desired size to layout.
|
| Name | Description | |
|---|---|---|
| GotFocus |
Occurs when the pointer device that previously initiated a Press action is
pressed, while within this element.
Note that ONLY sender's informations are currently filled (not pointer's)
| |
| KeyDown |
Occurs when a keyboard key is pressed while the UIElement has focus.
| |
| KeyUp |
Occurs when a keyboard key is released while the UIElement has focus.
| |
| LostFocus |
Occurs when a UIElement loses focus.
| |
| PointerEntered |
Occurs when a pointer enters the hit test area of this element.
| |
| PointerExited |
Occurs when a pointer leaves the hit test area of this element.
| |
| PointerMoved |
Occurs when the pointer device that previously initiated a Press action is
moved, while within this element.
| |
| PointerPressed |
Occurs when the pointer device that previously initiated a Press action is
pressed, while within this element.
| |
| PointerReleased |
Occurs when the pointer device that previously initiated a Press action is
released, while within this element.
| |
| Tapped |
Occurs when an otherwise unhandled Tap interaction occurs over the hit test
area of this element.
|