Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



Provides a base class for rendered Silverlight objects.

See Derived Objects for syntax information.

Border (Silverlight 2), Canvas, Ellipse, Glyphs, Grid (Silverlight 2), Image, InkPresenter, Line, MediaElement, MultiScaleImage (Silverlight 2), PasswordBox (Silverlight 2), Path, Polygon, Polyline, Popup (Silverlight 2), Rectangle, Shape, StackPanel (Silverlight 2), TextBlock, TextBox (Silverlight 2)

Canvas.Left, Canvas.Top, Canvas.ZIndex, Clip, Cursor, Effect (Silverlight 3), Grid.Column (Silverlight 2), Grid.ColumnSpan (Silverlight 2), Grid.Row (Silverlight 2), Grid.RowSpan (Silverlight 2), Height (UIElement), HorizontalAlignment (Silverlight 2), IsHitTestVisible, Language (Silverlight 2), Margin (Silverlight 2), MaxHeight (Silverlight 2), MaxWidth (Silverlight 2), MinHeight (Silverlight 2), MinWidth (Silverlight 2), Name (DependencyObject), Opacity (UIElement), OpacityMask, Projection (Silverlight 3), RenderTransform, RenderTransformOrigin, Resources, Style (Silverlight 2), Tag, TextOptions.TextHintingMode (Silverlight 3), Triggers, UseLayoutRounding (Silverlight 2), VerticalAlignment (Silverlight 2), Visibility, Width (UIElement)

UIElement is abstract and is not returned as that object type by any API in the Silverlight JavaScript API. 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.

UIElement in the JavaScript API reference combines the managed API classes of UIElement and FrameworkElement.

Community Additions

© 2017 Microsoft