FrameworkElement : UIElement
Implemented for: all platforms supported by Uno Platform
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 | Android, MacOS, WASM, Skia |
| VerticalAlignment VerticalAlignment | Android, MacOS, WASM, Skia |
| object Tag | all platforms supported by Uno Platform |
| Style Style | all platforms supported by Uno Platform |
| ResourceDictionary Resources | all platforms supported by Uno Platform |
| ElementTheme RequestedTheme | all platforms supported by Uno Platform |
| string Name | Android, MacOS, WASM, Skia |
| double MinWidth | Android, MacOS, WASM, Skia |
| double MinHeight | Android, MacOS, WASM, Skia |
| double MaxWidth | Android, MacOS, WASM, Skia |
| double MaxHeight | Android, MacOS, WASM, Skia |
| Thickness Margin | Android, MacOS, WASM, Skia |
| HorizontalAlignment HorizontalAlignment | Android, MacOS, WASM, Skia |
| double Height | Android, MacOS, WASM, Skia |
| Thickness FocusVisualSecondaryThickness | all platforms supported by Uno Platform |
| Brush FocusVisualSecondaryBrush | all platforms supported by Uno Platform |
| Thickness FocusVisualPrimaryThickness | all platforms supported by Uno Platform |
| Brush FocusVisualPrimaryBrush | all platforms supported by Uno Platform |
| Thickness FocusVisualMargin | all platforms supported by Uno Platform |
| FlowDirection FlowDirection | Skia |
| bool AllowFocusWhenDisabled | all platforms supported by Uno Platform |
| bool AllowFocusOnInteraction | all platforms supported by Uno Platform |
| double ActualHeight | Android, MacOS, WASM, Skia |
| ElementTheme ActualTheme | all platforms supported by Uno Platform |
| double ActualWidth | Android, MacOS, WASM, Skia |
| Uri BaseUri | all platforms supported by Uno Platform |
| bool IsLoaded | Android, MacOS, WASM, Skia |
| DependencyObject Parent | all platforms supported by Uno Platform |
| DependencyProperty AllowFocusOnInteractionProperty | all platforms supported by Uno Platform |
| DependencyProperty AllowFocusWhenDisabledProperty | all platforms supported by Uno Platform |
| DependencyProperty FlowDirectionProperty | Skia |
| DependencyProperty FocusVisualMarginProperty | all platforms supported by Uno Platform |
| DependencyProperty FocusVisualPrimaryBrushProperty | all platforms supported by Uno Platform |
| DependencyProperty FocusVisualPrimaryThicknessProperty | all platforms supported by Uno Platform |
| DependencyProperty FocusVisualSecondaryBrushProperty | all platforms supported by Uno Platform |
| DependencyProperty FocusVisualSecondaryThicknessProperty | all platforms supported by Uno Platform |
| DependencyProperty HeightProperty | Android, MacOS, WASM, Skia |
| DependencyProperty HorizontalAlignmentProperty | Android, MacOS, WASM, Skia |
| DependencyProperty MarginProperty | Android, MacOS, WASM, Skia |
| DependencyProperty MaxHeightProperty | Android, MacOS, WASM, Skia |
| DependencyProperty MaxWidthProperty | Android, MacOS, WASM, Skia |
| DependencyProperty MinHeightProperty | Android, MacOS, WASM, Skia |
| DependencyProperty MinWidthProperty | Android, MacOS, WASM, Skia |
| DependencyProperty NameProperty | Android, MacOS, WASM, Skia |
| DependencyProperty RequestedThemeProperty | all platforms supported by Uno Platform |
| DependencyProperty StyleProperty | all platforms supported by Uno Platform |
| DependencyProperty TagProperty | all platforms supported by Uno Platform |
| DependencyProperty VerticalAlignmentProperty | Android, MacOS, WASM, Skia |
| DependencyProperty WidthProperty | Android, MacOS, WASM, Skia |
Implemented methods
| Method | Supported on |
|---|---|
| object FindName(string) | Android, MacOS, WASM, Skia |
| Size MeasureOverride(Size) | all platforms supported by Uno Platform |
| Size ArrangeOverride(Size) | all platforms supported by Uno Platform |
| void OnApplyTemplate() | all platforms supported by Uno Platform |
| bool GoToElementStateCore(string, bool) | all platforms supported by Uno Platform |
Implemented events
| Event | Supported on |
|---|---|
| TypedEventHandler<FrameworkElement, object> ActualThemeChanged | all platforms supported by Uno Platform |
| TypedEventHandler<FrameworkElement, EffectiveViewportChangedEventArgs> EffectiveViewportChanged | all platforms supported by Uno Platform |
| EventHandler | all platforms supported by Uno Platform |
| RoutedEventHandler Loaded | Android, MacOS, WASM, Skia |
| TypedEventHandler<FrameworkElement, object> Loading | Android, MacOS, WASM, Skia |
| SizeChangedEventHandler SizeChanged | Android, MacOS, WASM, Skia |
| RoutedEventHandler Unloaded | Android, MacOS, WASM, Skia |
Below are all properties, methods, and events of FrameworkElement that are not currently implemented in Uno.
Not implemented properties
Not implemented methods
| Method | Not supported on |
|---|---|
| object FindName(string) | iOS |
| 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 |
| void DeferTree(DependencyObject) | all platforms supported by Uno Platform |
Not implemented events
| Event | Not supported on |
|---|---|
| TypedEventHandler<FrameworkElement, DataContextChangedEventArgs> DataContextChanged | all platforms supported by Uno Platform |
| RoutedEventHandler Loaded | iOS |
| TypedEventHandler<FrameworkElement, object> Loading | iOS |
| SizeChangedEventHandler SizeChanged | iOS |
| RoutedEventHandler Unloaded | iOS |
Last updated Wednesday, 28 February 2024 15:39.