Control : FrameworkElement

Implemented for: all platforms supported by Uno Platform

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

Implemented properties

Property Supported on
Thickness Padding all platforms supported by Uno Platform
bool IsTabStop all platforms supported by Uno Platform
bool IsEnabled all platforms supported by Uno Platform
HorizontalAlignment HorizontalContentAlignment all platforms supported by Uno Platform
Brush Foreground all platforms supported by Uno Platform
FontWeight FontWeight all platforms supported by Uno Platform
FontStyle FontStyle all platforms supported by Uno Platform
double FontSize all platforms supported by Uno Platform
FontFamily FontFamily all platforms supported by Uno Platform
int TabIndex all platforms supported by Uno Platform
Thickness BorderThickness all platforms supported by Uno Platform
Brush BorderBrush all platforms supported by Uno Platform
KeyboardNavigationMode TabNavigation all platforms supported by Uno Platform
Brush Background all platforms supported by Uno Platform
VerticalAlignment VerticalContentAlignment all platforms supported by Uno Platform
ControlTemplate Template all platforms supported by Uno Platform
FocusState FocusState all platforms supported by Uno Platform
bool UseSystemFocusVisuals all platforms supported by Uno Platform
DependencyObject XYFocusUp all platforms supported by Uno Platform
DependencyObject XYFocusRight all platforms supported by Uno Platform
DependencyObject XYFocusLeft all platforms supported by Uno Platform
DependencyObject XYFocusDown all platforms supported by Uno Platform
bool IsFocusEngagementEnabled all platforms supported by Uno Platform
bool IsFocusEngaged all platforms supported by Uno Platform
CornerRadius CornerRadius all platforms supported by Uno Platform
BackgroundSizing BackgroundSizing all platforms supported by Uno Platform
object DefaultStyleKey all platforms supported by Uno Platform
DependencyProperty BorderThicknessProperty all platforms supported by Uno Platform
DependencyProperty FocusStateProperty all platforms supported by Uno Platform
DependencyProperty FontFamilyProperty all platforms supported by Uno Platform
DependencyProperty FontSizeProperty all platforms supported by Uno Platform
DependencyProperty FontStyleProperty all platforms supported by Uno Platform
DependencyProperty FontWeightProperty all platforms supported by Uno Platform
DependencyProperty ForegroundProperty all platforms supported by Uno Platform
DependencyProperty HorizontalContentAlignmentProperty all platforms supported by Uno Platform
DependencyProperty IsEnabledProperty all platforms supported by Uno Platform
DependencyProperty IsTabStopProperty all platforms supported by Uno Platform
DependencyProperty PaddingProperty all platforms supported by Uno Platform
DependencyProperty TabIndexProperty all platforms supported by Uno Platform
DependencyProperty TabNavigationProperty all platforms supported by Uno Platform
DependencyProperty TemplateProperty all platforms supported by Uno Platform
DependencyProperty BackgroundProperty all platforms supported by Uno Platform
DependencyProperty BorderBrushProperty all platforms supported by Uno Platform
DependencyProperty VerticalContentAlignmentProperty all platforms supported by Uno Platform
DependencyProperty IsTemplateFocusTargetProperty all platforms supported by Uno Platform
DependencyProperty UseSystemFocusVisualsProperty all platforms supported by Uno Platform
DependencyProperty IsFocusEngagedProperty all platforms supported by Uno Platform
DependencyProperty IsFocusEngagementEnabledProperty all platforms supported by Uno Platform
DependencyProperty XYFocusDownProperty all platforms supported by Uno Platform
DependencyProperty XYFocusLeftProperty all platforms supported by Uno Platform
DependencyProperty XYFocusRightProperty all platforms supported by Uno Platform
DependencyProperty XYFocusUpProperty all platforms supported by Uno Platform
DependencyProperty CornerRadiusProperty all platforms supported by Uno Platform
DependencyProperty BackgroundSizingProperty all platforms supported by Uno Platform

Implemented methods

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

Implemented events

Event Supported on
DependencyPropertyChangedEventHandler IsEnabledChanged all platforms supported by Uno Platform
TypedEventHandler<Control, FocusDisengagedEventArgs> FocusDisengaged all platforms supported by Uno Platform
TypedEventHandler<Control, FocusEngagedEventArgs> FocusEngaged all platforms supported by Uno Platform

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

Not implemented properties

Property Not supported on
FontStretch FontStretch all platforms supported by Uno Platform
int CharacterSpacing all platforms supported by Uno Platform
bool IsTextScaleFactorEnabled all platforms supported by Uno Platform
RequiresPointer RequiresPointer all platforms supported by Uno Platform
ElementSoundMode ElementSoundMode all platforms supported by Uno Platform
Uri DefaultStyleResourceUri all platforms supported by Uno Platform
DependencyProperty FontStretchProperty all platforms supported by Uno Platform
DependencyProperty CharacterSpacingProperty all platforms supported by Uno Platform
DependencyProperty DefaultStyleKeyProperty all platforms supported by Uno Platform
DependencyProperty IsTextScaleFactorEnabledProperty all platforms supported by Uno Platform
DependencyProperty ElementSoundModeProperty all platforms supported by Uno Platform
DependencyProperty RequiresPointerProperty all platforms supported by Uno Platform
DependencyProperty DefaultStyleResourceUriProperty all platforms supported by Uno Platform
DependencyProperty IsTemplateKeyTipTargetProperty all platforms supported by Uno Platform

Not implemented methods

Method Not supported on
void OnPointerWheelChanged(PointerRoutedEventArgs) Xamarin, Skia
void OnPreviewKeyDown(KeyRoutedEventArgs) all platforms supported by Uno Platform
void OnPreviewKeyUp(KeyRoutedEventArgs) all platforms supported by Uno Platform
void OnCharacterReceived(CharacterReceivedRoutedEventArgs) all platforms supported by Uno Platform
bool GetIsTemplateKeyTipTarget(DependencyObject) all platforms supported by Uno Platform
void SetIsTemplateKeyTipTarget(DependencyObject, bool) all platforms supported by Uno Platform

Last updated Wednesday, November 9, 2022 7:41 PM.