ContentPresenter : FrameworkElement

Implemented for: Skia

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 Skia
DependencyProperty BackgroundSizingProperty Skia
DependencyProperty BorderBrushProperty Skia
DependencyProperty BorderThicknessProperty Skia
DependencyProperty ContentProperty Skia
DependencyProperty ContentTemplateProperty Skia
DependencyProperty ContentTemplateSelectorProperty Skia
DependencyProperty ContentTransitionsProperty Skia
DependencyProperty CornerRadiusProperty Skia
DependencyProperty FontFamilyProperty Skia
DependencyProperty FontSizeProperty Skia
DependencyProperty FontStretchProperty Skia
DependencyProperty FontStyleProperty Skia
DependencyProperty FontWeightProperty Skia
DependencyProperty ForegroundProperty Skia
DependencyProperty HorizontalContentAlignmentProperty Skia
DependencyProperty IsTextScaleFactorEnabledProperty Skia
DependencyProperty MaxLinesProperty Skia
DependencyProperty PaddingProperty Skia
DependencyProperty TextWrappingProperty Skia
DependencyProperty VerticalContentAlignmentProperty Skia
Brush Background Skia
BackgroundSizing BackgroundSizing Skia
BrushTransition BackgroundTransition Skia
Brush BorderBrush Skia
Thickness BorderThickness Skia
object Content Skia
DataTemplate ContentTemplate Skia
DataTemplateSelector ContentTemplateSelector Skia
TransitionCollection ContentTransitions Skia
CornerRadius CornerRadius Skia
FontFamily FontFamily Skia
double FontSize Skia
FontStyle FontStyle Skia
FontWeight FontWeight Skia
Brush Foreground Skia
HorizontalAlignment HorizontalContentAlignment Skia
bool IsTextScaleFactorEnabled Skia
int MaxLines Skia
Thickness Padding Skia
TextWrapping TextWrapping Skia
VerticalAlignment VerticalContentAlignment Skia

Implemented methods

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

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

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) WASM, Xamarin
void OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) WASM, Xamarin
bool IsOverridableInterface(Guid) all platforms supported by Uno Platform

Last updated Friday, 13 November 2026 23:32.