Control : FrameworkElement

Implemented for: WASM, Skia, Mobile

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

Implemented properties

Property Supported on
VerticalAlignment VerticalContentAlignment WASM, Skia, Mobile
ControlTemplate Template WASM, Skia, Mobile
KeyboardNavigationMode TabNavigation WASM, Skia, Mobile
Thickness Padding WASM, Skia, Mobile
bool IsFocusEngagementEnabled WASM, Skia, Mobile
bool IsFocusEngaged WASM, Skia, Mobile
bool IsEnabled WASM, Skia, Mobile
HorizontalAlignment HorizontalContentAlignment WASM, Skia, Mobile
Brush Foreground WASM, Skia, Mobile
FontWeight FontWeight WASM, Skia, Mobile
FontStyle FontStyle WASM, Skia, Mobile
double FontSize WASM, Skia, Mobile
FontFamily FontFamily WASM, Skia, Mobile
CornerRadius CornerRadius WASM, Skia, Mobile
Thickness BorderThickness WASM, Skia, Mobile
Brush BorderBrush WASM, Skia, Mobile
BackgroundSizing BackgroundSizing WASM, Skia, Mobile
Brush Background WASM, Skia, Mobile
object DefaultStyleKey WASM, Skia, Mobile
DependencyProperty BackgroundProperty WASM, Skia, Mobile
DependencyProperty BackgroundSizingProperty WASM, Skia, Mobile
DependencyProperty BorderBrushProperty WASM, Skia, Mobile
DependencyProperty BorderThicknessProperty WASM, Skia, Mobile
DependencyProperty CornerRadiusProperty WASM, Skia, Mobile
DependencyProperty FontFamilyProperty WASM, Skia, Mobile
DependencyProperty FontSizeProperty WASM, Skia, Mobile
DependencyProperty FontStretchProperty WASM, Skia, Mobile
DependencyProperty FontStyleProperty WASM, Skia, Mobile
DependencyProperty FontWeightProperty WASM, Skia, Mobile
DependencyProperty ForegroundProperty WASM, Skia, Mobile
DependencyProperty HorizontalContentAlignmentProperty WASM, Skia, Mobile
DependencyProperty IsEnabledProperty WASM, Skia, Mobile
DependencyProperty IsFocusEngagedProperty WASM, Skia, Mobile
DependencyProperty IsFocusEngagementEnabledProperty WASM, Skia, Mobile
DependencyProperty IsTemplateFocusTargetProperty WASM, Skia, Mobile
DependencyProperty PaddingProperty WASM, Skia, Mobile
DependencyProperty TabNavigationProperty WASM, Skia, Mobile
DependencyProperty TemplateProperty WASM, Skia, Mobile
DependencyProperty VerticalContentAlignmentProperty WASM, Skia, Mobile

Implemented methods

Method Supported on
void RemoveFocusEngagement() WASM, Skia, Mobile
bool ApplyTemplate() WASM, Skia, Mobile
DependencyObject GetTemplateChild(string) WASM, Skia, Mobile
void OnPointerEntered(PointerRoutedEventArgs) WASM, Skia, Mobile
void OnPointerPressed(PointerRoutedEventArgs) WASM, Skia, Mobile
void OnPointerMoved(PointerRoutedEventArgs) WASM, Skia, Mobile
void OnPointerReleased(PointerRoutedEventArgs) WASM, Skia, Mobile
void OnPointerExited(PointerRoutedEventArgs) WASM, Skia, Mobile
void OnPointerCaptureLost(PointerRoutedEventArgs) WASM, Skia, Mobile
void OnPointerCanceled(PointerRoutedEventArgs) WASM, Skia, Mobile
void OnPointerWheelChanged(PointerRoutedEventArgs) WASM
void OnTapped(TappedRoutedEventArgs) WASM, Skia, Mobile
void OnDoubleTapped(DoubleTappedRoutedEventArgs) WASM, Skia, Mobile
void OnHolding(HoldingRoutedEventArgs) WASM, Skia, Mobile
void OnRightTapped(RightTappedRoutedEventArgs) WASM, Skia, Mobile
void OnManipulationStarting(ManipulationStartingRoutedEventArgs) WASM, Skia, Mobile
void OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs) WASM, Skia, Mobile
void OnManipulationStarted(ManipulationStartedRoutedEventArgs) WASM, Skia, Mobile
void OnManipulationDelta(ManipulationDeltaRoutedEventArgs) WASM, Skia, Mobile
void OnManipulationCompleted(ManipulationCompletedRoutedEventArgs) WASM, Skia, Mobile
void OnKeyUp(KeyRoutedEventArgs) WASM, Skia, Mobile
void OnKeyDown(KeyRoutedEventArgs) WASM, Skia, Mobile
void OnPreviewKeyDown(KeyRoutedEventArgs) WASM, Skia
void OnPreviewKeyUp(KeyRoutedEventArgs) WASM, Skia
void OnGotFocus(RoutedEventArgs) WASM, Skia, Mobile
void OnLostFocus(RoutedEventArgs) WASM, Skia, Mobile
void OnDragEnter(DragEventArgs) WASM, Skia, Mobile
void OnDragLeave(DragEventArgs) WASM, Skia, Mobile
void OnDragOver(DragEventArgs) WASM, Skia, Mobile
void OnDrop(DragEventArgs) WASM, Skia, Mobile
bool GetIsTemplateFocusTarget(FrameworkElement) WASM, Skia, Mobile
void SetIsTemplateFocusTarget(FrameworkElement, bool) WASM, Skia, Mobile

Implemented events

Event Supported on
TypedEventHandler<Control, FocusDisengagedEventArgs> FocusDisengaged WASM, Skia, Mobile
TypedEventHandler<Control, FocusEngagedEventArgs> FocusEngaged WASM, Skia, Mobile
DependencyPropertyChangedEventHandler IsEnabledChanged WASM, Skia, Mobile

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

Not implemented properties

Property Not supported on
VerticalAlignment VerticalContentAlignment MacOS
ControlTemplate Template MacOS
KeyboardNavigationMode TabNavigation MacOS
RequiresPointer RequiresPointer all platforms supported by Uno Platform
Thickness Padding MacOS
bool IsTextScaleFactorEnabled all platforms supported by Uno Platform
bool IsFocusEngagementEnabled MacOS
bool IsFocusEngaged MacOS
bool IsEnabled MacOS
HorizontalAlignment HorizontalContentAlignment MacOS
Brush Foreground MacOS
FontWeight FontWeight MacOS
FontStyle FontStyle MacOS
FontStretch FontStretch all platforms supported by Uno Platform
double FontSize MacOS
FontFamily FontFamily MacOS
ElementSoundMode ElementSoundMode all platforms supported by Uno Platform
Uri DefaultStyleResourceUri all platforms supported by Uno Platform
CornerRadius CornerRadius MacOS
int CharacterSpacing all platforms supported by Uno Platform
Thickness BorderThickness MacOS
Brush BorderBrush MacOS
BackgroundSizing BackgroundSizing MacOS
Brush Background MacOS
object DefaultStyleKey MacOS
DependencyProperty BackgroundProperty MacOS
DependencyProperty BackgroundSizingProperty MacOS
DependencyProperty BorderBrushProperty MacOS
DependencyProperty BorderThicknessProperty MacOS
DependencyProperty CharacterSpacingProperty all platforms supported by Uno Platform
DependencyProperty CornerRadiusProperty MacOS
DependencyProperty DefaultStyleKeyProperty all platforms supported by Uno Platform
DependencyProperty DefaultStyleResourceUriProperty all platforms supported by Uno Platform
DependencyProperty ElementSoundModeProperty all platforms supported by Uno Platform
DependencyProperty FontFamilyProperty MacOS
DependencyProperty FontSizeProperty MacOS
DependencyProperty FontStretchProperty MacOS
DependencyProperty FontStyleProperty MacOS
DependencyProperty FontWeightProperty MacOS
DependencyProperty ForegroundProperty MacOS
DependencyProperty HorizontalContentAlignmentProperty MacOS
DependencyProperty IsEnabledProperty MacOS
DependencyProperty IsFocusEngagedProperty MacOS
DependencyProperty IsFocusEngagementEnabledProperty MacOS
DependencyProperty IsTemplateFocusTargetProperty MacOS
DependencyProperty IsTemplateKeyTipTargetProperty all platforms supported by Uno Platform
DependencyProperty IsTextScaleFactorEnabledProperty all platforms supported by Uno Platform
DependencyProperty PaddingProperty MacOS
DependencyProperty RequiresPointerProperty all platforms supported by Uno Platform
DependencyProperty TabNavigationProperty MacOS
DependencyProperty TemplateProperty MacOS
DependencyProperty VerticalContentAlignmentProperty MacOS

Not implemented methods

Method Not supported on
void RemoveFocusEngagement() MacOS
bool ApplyTemplate() MacOS
DependencyObject GetTemplateChild(string) MacOS
void OnPointerEntered(PointerRoutedEventArgs) MacOS
void OnPointerPressed(PointerRoutedEventArgs) MacOS
void OnPointerMoved(PointerRoutedEventArgs) MacOS
void OnPointerReleased(PointerRoutedEventArgs) MacOS
void OnPointerExited(PointerRoutedEventArgs) MacOS
void OnPointerCaptureLost(PointerRoutedEventArgs) MacOS
void OnPointerCanceled(PointerRoutedEventArgs) MacOS
void OnPointerWheelChanged(PointerRoutedEventArgs) Skia, Xamarin
void OnTapped(TappedRoutedEventArgs) MacOS
void OnDoubleTapped(DoubleTappedRoutedEventArgs) MacOS
void OnHolding(HoldingRoutedEventArgs) MacOS
void OnRightTapped(RightTappedRoutedEventArgs) MacOS
void OnManipulationStarting(ManipulationStartingRoutedEventArgs) MacOS
void OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs) MacOS
void OnManipulationStarted(ManipulationStartedRoutedEventArgs) MacOS
void OnManipulationDelta(ManipulationDeltaRoutedEventArgs) MacOS
void OnManipulationCompleted(ManipulationCompletedRoutedEventArgs) MacOS
void OnKeyUp(KeyRoutedEventArgs) MacOS
void OnKeyDown(KeyRoutedEventArgs) MacOS
void OnPreviewKeyDown(KeyRoutedEventArgs) Android, iOS, macOS, tvOS
void OnPreviewKeyUp(KeyRoutedEventArgs) Android, iOS, macOS, tvOS
void OnGotFocus(RoutedEventArgs) MacOS
void OnLostFocus(RoutedEventArgs) MacOS
void OnCharacterReceived(CharacterReceivedRoutedEventArgs) all platforms supported by Uno Platform
void OnDragEnter(DragEventArgs) MacOS
void OnDragLeave(DragEventArgs) MacOS
void OnDragOver(DragEventArgs) MacOS
void OnDrop(DragEventArgs) MacOS
bool GetIsTemplateFocusTarget(FrameworkElement) MacOS
void SetIsTemplateFocusTarget(FrameworkElement, bool) MacOS
bool GetIsTemplateKeyTipTarget(DependencyObject) all platforms supported by Uno Platform
void SetIsTemplateKeyTipTarget(DependencyObject, bool) all platforms supported by Uno Platform

Not implemented events

Event Not supported on
TypedEventHandler<Control, FocusDisengagedEventArgs> FocusDisengaged MacOS
TypedEventHandler<Control, FocusEngagedEventArgs> FocusEngaged MacOS
DependencyPropertyChangedEventHandler IsEnabledChanged MacOS

Last updated Monday, 14 April 2025 02:07.