FrameworkElement : UIElement

Implemented for: WASM, Skia, Mobile

This document lists all properties, methods, and events of FrameworkElement that are currently implemented by the Uno Platform. See the WinUI documentation for detailed usage guidelines which all automatically apply to Uno Platform.

To better understand how FrameworkElement works, you can run your own tests on the Uno Playground.

Implemented properties

Property Supported on
double Width WASM, Skia, Mobile
VerticalAlignment VerticalAlignment WASM, Skia, Mobile
object Tag WASM, Skia, Mobile
Style Style WASM, Skia, Mobile
ResourceDictionary Resources WASM, Skia, Mobile
ElementTheme RequestedTheme WASM, Skia, Mobile
string Name WASM, Skia, Mobile
double MinWidth WASM, Skia, Mobile
double MinHeight WASM, Skia, Mobile
double MaxWidth WASM, Skia, Mobile
double MaxHeight WASM, Skia, Mobile
Thickness Margin WASM, Skia, Mobile
HorizontalAlignment HorizontalAlignment WASM, Skia, Mobile
double Height WASM, Skia, Mobile
Thickness FocusVisualSecondaryThickness WASM, Skia, Mobile
Brush FocusVisualSecondaryBrush WASM, Skia, Mobile
Thickness FocusVisualPrimaryThickness WASM, Skia, Mobile
Brush FocusVisualPrimaryBrush WASM, Skia, Mobile
Thickness FocusVisualMargin WASM, Skia, Mobile
FlowDirection FlowDirection Skia
bool AllowFocusWhenDisabled WASM, Skia, Mobile
bool AllowFocusOnInteraction WASM, Skia, Mobile
double ActualHeight WASM, Skia, Mobile
ElementTheme ActualTheme WASM, Skia, Mobile
double ActualWidth WASM, Skia, Mobile
Uri BaseUri WASM, Skia, Mobile
bool IsLoaded WASM, Skia, Mobile
DependencyObject Parent WASM, Skia, Mobile
DependencyProperty AllowFocusOnInteractionProperty WASM, Skia, Mobile
DependencyProperty AllowFocusWhenDisabledProperty WASM, Skia, Mobile
DependencyProperty FlowDirectionProperty Skia
DependencyProperty FocusVisualMarginProperty WASM, Skia, Mobile
DependencyProperty FocusVisualPrimaryBrushProperty WASM, Skia, Mobile
DependencyProperty FocusVisualPrimaryThicknessProperty WASM, Skia, Mobile
DependencyProperty FocusVisualSecondaryBrushProperty WASM, Skia, Mobile
DependencyProperty FocusVisualSecondaryThicknessProperty WASM, Skia, Mobile
DependencyProperty HeightProperty WASM, Skia, Mobile
DependencyProperty HorizontalAlignmentProperty WASM, Skia, Mobile
DependencyProperty MarginProperty WASM, Skia, Mobile
DependencyProperty MaxHeightProperty WASM, Skia, Mobile
DependencyProperty MaxWidthProperty WASM, Skia, Mobile
DependencyProperty MinHeightProperty WASM, Skia, Mobile
DependencyProperty MinWidthProperty WASM, Skia, Mobile
DependencyProperty NameProperty WASM, Skia, Mobile
DependencyProperty RequestedThemeProperty WASM, Skia, Mobile
DependencyProperty StyleProperty WASM, Skia, Mobile
DependencyProperty TagProperty WASM, Skia, Mobile
DependencyProperty VerticalAlignmentProperty WASM, Skia, Mobile
DependencyProperty WidthProperty WASM, Skia, Mobile

Implemented methods

Method Supported on
object FindName(string) WASM, Skia, Mobile
Size MeasureOverride(Size) WASM, Skia, Mobile
Size ArrangeOverride(Size) WASM, Skia, Mobile
void OnApplyTemplate() WASM, Skia, Mobile
bool GoToElementStateCore(string, bool) WASM, Skia, Mobile

Implemented events

Event Supported on
TypedEventHandler<FrameworkElement, object> ActualThemeChanged WASM, Skia, Mobile
TypedEventHandler<FrameworkElement, EffectiveViewportChangedEventArgs> EffectiveViewportChanged WASM, Skia, Mobile
EventHandler LayoutUpdated WASM, Skia, Mobile
RoutedEventHandler Loaded WASM, Skia, Mobile
TypedEventHandler<FrameworkElement, object> Loading WASM, Skia, Mobile
SizeChangedEventHandler SizeChanged WASM, Skia, Mobile
RoutedEventHandler Unloaded WASM, Skia, Mobile

Below are all properties, methods, and events of FrameworkElement that are not currently implemented in Uno.

Not implemented properties

Property Not supported on
double Width MacOS
VerticalAlignment VerticalAlignment MacOS
object Tag MacOS
Style Style MacOS
ResourceDictionary Resources MacOS
ElementTheme RequestedTheme MacOS
string Name MacOS
double MinWidth MacOS
double MinHeight MacOS
double MaxWidth MacOS
double MaxHeight MacOS
Thickness Margin MacOS
string Language all platforms supported by Uno Platform
HorizontalAlignment HorizontalAlignment MacOS
double Height MacOS
Thickness FocusVisualSecondaryThickness MacOS
Brush FocusVisualSecondaryBrush MacOS
Thickness FocusVisualPrimaryThickness MacOS
Brush FocusVisualPrimaryBrush MacOS
Thickness FocusVisualMargin MacOS
FlowDirection FlowDirection WASM, Xamarin
object DataContext all platforms supported by Uno Platform
bool AllowFocusWhenDisabled MacOS
bool AllowFocusOnInteraction MacOS
double ActualHeight MacOS
ElementTheme ActualTheme MacOS
double ActualWidth MacOS
Uri BaseUri MacOS
bool IsLoaded MacOS
DependencyObject Parent MacOS
TriggerCollection Triggers all platforms supported by Uno Platform
DependencyProperty ActualHeightProperty all platforms supported by Uno Platform
DependencyProperty ActualThemeProperty all platforms supported by Uno Platform
DependencyProperty ActualWidthProperty all platforms supported by Uno Platform
DependencyProperty AllowFocusOnInteractionProperty MacOS
DependencyProperty AllowFocusWhenDisabledProperty MacOS
DependencyProperty DataContextProperty all platforms supported by Uno Platform
DependencyProperty FlowDirectionProperty WASM, Xamarin
DependencyProperty FocusVisualMarginProperty MacOS
DependencyProperty FocusVisualPrimaryBrushProperty MacOS
DependencyProperty FocusVisualPrimaryThicknessProperty MacOS
DependencyProperty FocusVisualSecondaryBrushProperty MacOS
DependencyProperty FocusVisualSecondaryThicknessProperty MacOS
DependencyProperty HeightProperty MacOS
DependencyProperty HorizontalAlignmentProperty MacOS
DependencyProperty LanguageProperty all platforms supported by Uno Platform
DependencyProperty MarginProperty MacOS
DependencyProperty MaxHeightProperty MacOS
DependencyProperty MaxWidthProperty MacOS
DependencyProperty MinHeightProperty MacOS
DependencyProperty MinWidthProperty MacOS
DependencyProperty NameProperty MacOS
DependencyProperty RequestedThemeProperty MacOS
DependencyProperty StyleProperty MacOS
DependencyProperty TagProperty MacOS
DependencyProperty VerticalAlignmentProperty MacOS
DependencyProperty WidthProperty MacOS

Not implemented methods

Method Not supported on
object FindName(string) MacOS
void SetBinding(DependencyProperty, BindingBase) all platforms supported by Uno Platform
BindingExpression GetBindingExpression(DependencyProperty) all platforms supported by Uno Platform
void InvalidateViewport() all platforms supported by Uno Platform
Size MeasureOverride(Size) MacOS
Size ArrangeOverride(Size) MacOS
void OnApplyTemplate() MacOS
bool GoToElementStateCore(string, bool) MacOS
void DeferTree(DependencyObject) all platforms supported by Uno Platform

Not implemented events

Event Not supported on
TypedEventHandler<FrameworkElement, object> ActualThemeChanged MacOS
TypedEventHandler<FrameworkElement, DataContextChangedEventArgs> DataContextChanged all platforms supported by Uno Platform
TypedEventHandler<FrameworkElement, EffectiveViewportChangedEventArgs> EffectiveViewportChanged MacOS
EventHandler LayoutUpdated MacOS
RoutedEventHandler Loaded MacOS
TypedEventHandler<FrameworkElement, object> Loading MacOS
SizeChangedEventHandler SizeChanged MacOS
RoutedEventHandler Unloaded MacOS

Last updated Monday, 14 April 2025 02:07.