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 documentation for detailed usage guidelines which all automatically apply to Uno Platform.

Implemented properties

Property Supported on
VerticalAlignment VerticalContentAlignment all platforms supported by Uno Platform
ControlTemplate Template all platforms supported by Uno Platform
KeyboardNavigationMode TabNavigation all platforms supported by Uno Platform
Thickness Padding all platforms supported by Uno Platform
bool IsFocusEngagementEnabled all platforms supported by Uno Platform
bool IsFocusEngaged 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
CornerRadius CornerRadius all platforms supported by Uno Platform
Thickness BorderThickness all platforms supported by Uno Platform
Brush BorderBrush all platforms supported by Uno Platform
BackgroundSizing BackgroundSizing all platforms supported by Uno Platform
Brush Background all platforms supported by Uno Platform
object DefaultStyleKey all platforms supported by Uno Platform
DependencyProperty BackgroundProperty all platforms supported by Uno Platform
DependencyProperty BackgroundSizingProperty all platforms supported by Uno Platform
DependencyProperty BorderBrushProperty all platforms supported by Uno Platform
DependencyProperty BorderThicknessProperty all platforms supported by Uno Platform
DependencyProperty CornerRadiusProperty all platforms supported by Uno Platform
DependencyProperty FontFamilyProperty all platforms supported by Uno Platform
DependencyProperty FontSizeProperty all platforms supported by Uno Platform
DependencyProperty FontStretchProperty 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 IsFocusEngagedProperty all platforms supported by Uno Platform
DependencyProperty IsFocusEngagementEnabledProperty all platforms supported by Uno Platform
DependencyProperty IsTemplateFocusTargetProperty all platforms supported by Uno Platform
DependencyProperty PaddingProperty all platforms supported by Uno Platform
DependencyProperty TabNavigationProperty all platforms supported by Uno Platform
DependencyProperty TemplateProperty all platforms supported by Uno Platform
DependencyProperty VerticalContentAlignmentProperty all platforms supported by Uno Platform

Implemented methods

Method Supported on
void RemoveFocusEngagement() all platforms supported by Uno Platform
bool ApplyTemplate() 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 OnPreviewKeyDown(KeyRoutedEventArgs) WASM, Skia
void OnPreviewKeyUp(KeyRoutedEventArgs) WASM, Skia
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
TypedEventHandler<Control, FocusDisengagedEventArgs> FocusDisengaged all platforms supported by Uno Platform
TypedEventHandler<Control, FocusEngagedEventArgs> FocusEngaged all platforms supported by Uno Platform
DependencyPropertyChangedEventHandler IsEnabledChanged 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
RequiresPointer RequiresPointer all platforms supported by Uno Platform
bool IsTextScaleFactorEnabled all platforms supported by Uno Platform
FontStretch FontStretch all platforms supported by Uno Platform
ElementSoundMode ElementSoundMode all platforms supported by Uno Platform
Uri DefaultStyleResourceUri all platforms supported by Uno Platform
int CharacterSpacing all platforms supported by Uno Platform
DependencyProperty CharacterSpacingProperty all platforms supported by Uno Platform
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 IsTemplateKeyTipTargetProperty all platforms supported by Uno Platform
DependencyProperty IsTextScaleFactorEnabledProperty all platforms supported by Uno Platform
DependencyProperty RequiresPointerProperty all platforms supported by Uno Platform

Not implemented methods

Method Not supported on
void OnPointerWheelChanged(PointerRoutedEventArgs) Xamarin, Skia
void OnPreviewKeyDown(KeyRoutedEventArgs) Android, iOS, MacOS
void OnPreviewKeyUp(KeyRoutedEventArgs) Android, iOS, MacOS
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 Saturday, 23 November 2024 09:21.