ContentPresenter : FrameworkElement

Implemented for: WASM, Skia, Mobile

This document lists all properties, methods, and events of ContentPresenter 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
DependencyProperty BackgroundProperty WASM, Skia, Mobile
DependencyProperty BackgroundSizingProperty WASM, Skia, Mobile
DependencyProperty BorderBrushProperty WASM, Skia, Mobile
DependencyProperty BorderThicknessProperty WASM, Skia, Mobile
DependencyProperty ContentProperty WASM, Skia, Mobile
DependencyProperty ContentTemplateProperty WASM, Skia, Mobile
DependencyProperty ContentTemplateSelectorProperty WASM, Skia, Mobile
DependencyProperty ContentTransitionsProperty 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 MaxLinesProperty WASM, Skia, Mobile
DependencyProperty PaddingProperty WASM, Skia, Mobile
DependencyProperty TextWrappingProperty WASM, Skia, Mobile
DependencyProperty VerticalContentAlignmentProperty WASM, Skia, Mobile
Brush Background WASM, Skia, Mobile
BackgroundSizing BackgroundSizing WASM, Skia, Mobile
BrushTransition BackgroundTransition Skia
Brush BorderBrush WASM, Skia, Mobile
Thickness BorderThickness WASM, Skia, Mobile
object Content WASM, Skia, Mobile
DataTemplate ContentTemplate WASM, Skia, Mobile
DataTemplateSelector ContentTemplateSelector WASM, Skia, Mobile
TransitionCollection ContentTransitions WASM, Skia, Mobile
CornerRadius CornerRadius WASM, Skia, Mobile
FontFamily FontFamily WASM, Skia, Mobile
double FontSize WASM, Skia, Mobile
FontStyle FontStyle WASM, Skia, Mobile
FontWeight FontWeight WASM, Skia, Mobile
Brush Foreground WASM, Skia, Mobile
HorizontalAlignment HorizontalContentAlignment WASM, Skia, Mobile
int MaxLines WASM, Skia, Mobile
Thickness Padding WASM, Skia, Mobile
TextWrapping TextWrapping WASM, Skia, Mobile
VerticalAlignment VerticalContentAlignment WASM, Skia, Mobile

Implemented methods

Method Supported on
void OnContentTemplateChanged(DataTemplate, DataTemplate) WASM, Skia, Mobile
void OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) WASM, Skia, Mobile

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

Not implemented properties

Property Not supported on
DependencyProperty BackgroundProperty MacOS
DependencyProperty BackgroundSizingProperty MacOS
DependencyProperty BorderBrushProperty MacOS
DependencyProperty BorderThicknessProperty MacOS
DependencyProperty CharacterSpacingProperty all platforms supported by Uno Platform
DependencyProperty ContentProperty MacOS
DependencyProperty ContentTemplateProperty MacOS
DependencyProperty ContentTemplateSelectorProperty MacOS
DependencyProperty ContentTransitionsProperty MacOS
DependencyProperty CornerRadiusProperty MacOS
DependencyProperty FontFamilyProperty MacOS
DependencyProperty FontSizeProperty MacOS
DependencyProperty FontStretchProperty MacOS
DependencyProperty FontStyleProperty MacOS
DependencyProperty FontWeightProperty MacOS
DependencyProperty ForegroundProperty MacOS
DependencyProperty HorizontalContentAlignmentProperty MacOS
DependencyProperty IsTextScaleFactorEnabledProperty all platforms supported by Uno Platform
DependencyProperty LineHeightProperty all platforms supported by Uno Platform
DependencyProperty LineStackingStrategyProperty all platforms supported by Uno Platform
DependencyProperty MaxLinesProperty MacOS
DependencyProperty OpticalMarginAlignmentProperty all platforms supported by Uno Platform
DependencyProperty PaddingProperty MacOS
DependencyProperty TextLineBoundsProperty all platforms supported by Uno Platform
DependencyProperty TextWrappingProperty MacOS
DependencyProperty VerticalContentAlignmentProperty MacOS
bool HasUnwrappableNativeObject all platforms supported by Uno Platform
IObjectReference NativeObject all platforms supported by Uno Platform
Brush Background MacOS
BackgroundSizing BackgroundSizing MacOS
BrushTransition BackgroundTransition WASM, Xamarin
Brush BorderBrush MacOS
Thickness BorderThickness MacOS
int CharacterSpacing all platforms supported by Uno Platform
object Content MacOS
DataTemplate ContentTemplate MacOS
DataTemplateSelector ContentTemplateSelector MacOS
TransitionCollection ContentTransitions MacOS
CornerRadius CornerRadius MacOS
FontFamily FontFamily MacOS
double FontSize MacOS
FontStretch FontStretch all platforms supported by Uno Platform
FontStyle FontStyle MacOS
FontWeight FontWeight MacOS
Brush Foreground MacOS
HorizontalAlignment HorizontalContentAlignment MacOS
bool IsTextScaleFactorEnabled all platforms supported by Uno Platform
double LineHeight all platforms supported by Uno Platform
LineStackingStrategy LineStackingStrategy all platforms supported by Uno Platform
int MaxLines MacOS
OpticalMarginAlignment OpticalMarginAlignment all platforms supported by Uno Platform
Thickness Padding MacOS
TextLineBounds TextLineBounds all platforms supported by Uno Platform
TextWrapping TextWrapping MacOS
VerticalAlignment VerticalContentAlignment MacOS

Not implemented methods

Method Not supported on
I As() all platforms supported by Uno Platform
ContentPresenter FromAbi(nint) all platforms supported by Uno Platform
bool Equals(ContentPresenter) all platforms supported by Uno Platform
bool Equals(object) all platforms supported by Uno Platform
int GetHashCode() all platforms supported by Uno Platform
void OnContentTemplateChanged(DataTemplate, DataTemplate) MacOS
void OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) MacOS
bool IsOverridableInterface(Guid) all platforms supported by Uno Platform

Last updated Thursday, 16 July 2026 23:16.