UIElement Object (Abstract)

UIElement is the base class for rendered Silverlight objects.

Must use derived objects.
Must use derived objects.


Canvas.Left, Canvas.Top, Canvas.ZIndex, Clip, Cursor, Height, IsHitTestVisible, Name, Opacity, OpacityMask, RenderTransform, RenderTransformOrigin, Resources, Tag, Triggers, Visibility, Width


AddEventListener, CaptureMouse, Equals, FindName, GetHost, GetParent, GetValue, ReleaseMouseCapture, RemoveEventListener, SetValue


GotFocus, KeyDown, KeyUp, Loaded, LostFocus, MouseEnter, MouseLeave, MouseLeftButtonDown, MouseLeftButtonUp, MouseMove

Derived Objects

Canvas, Ellipse, Glyphs, Image, InkPresenter, Line, MediaElement, Path, Polygon, Polyline, Rectangle, Shape, TextBlock


UIElement is abstract, and is not returned as that object type by any APIs in Silverlight 1.0. Instead, you always obtain an instance of the more specific derived practical class. You also cannot create a true <UIElement> object element in XAML. For this reason, UIElement is not listed in the "Applies To" lists for various UIElement APIs, even though it is the defining class.

See Also

Silverlight Object Model