Control : FrameworkElement

Implemented for: all platforms

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

Implemented properties

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

Implemented methods

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

Implemented events

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

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
int CharacterSpacing all platforms
bool IsTextScaleFactorEnabled all platforms
RequiresPointer RequiresPointer all platforms
ElementSoundMode ElementSoundMode all platforms
Uri DefaultStyleResourceUri all platforms
BackgroundSizing BackgroundSizing all platforms
DependencyProperty FontStretchProperty all platforms
DependencyProperty CharacterSpacingProperty all platforms
DependencyProperty DefaultStyleKeyProperty all platforms
DependencyProperty IsTextScaleFactorEnabledProperty all platforms
DependencyProperty ElementSoundModeProperty all platforms
DependencyProperty RequiresPointerProperty all platforms
DependencyProperty DefaultStyleResourceUriProperty all platforms
DependencyProperty IsTemplateKeyTipTargetProperty all platforms
DependencyProperty BackgroundSizingProperty all platforms

Not implemented methods

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

Last updated Tuesday, July 27, 2021 3:49 PM.