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
VerticalAlignment VerticalContentAlignment WASM, Skia, Mobile
TextWrapping TextWrapping WASM, Skia, Mobile
Thickness Padding WASM, Skia, Mobile
int MaxLines WASM, Skia, Mobile
HorizontalAlignment HorizontalContentAlignment WASM, Skia, Mobile
Brush Foreground WASM, Skia, Mobile
FontWeight FontWeight WASM, Skia, Mobile
FontStyle FontStyle WASM, Skia, Mobile
double FontSize WASM, Skia, Mobile
FontFamily FontFamily WASM, Skia, Mobile
CornerRadius CornerRadius WASM, Skia, Mobile
TransitionCollection ContentTransitions WASM, Skia, Mobile
DataTemplateSelector ContentTemplateSelector WASM, Skia, Mobile
DataTemplate ContentTemplate WASM, Skia, Mobile
object Content WASM, Skia, Mobile
Thickness BorderThickness WASM, Skia, Mobile
Brush BorderBrush WASM, Skia, Mobile
BrushTransition BackgroundTransition Skia
BackgroundSizing BackgroundSizing WASM, Skia, Mobile
Brush Background WASM, Skia, Mobile
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

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
VerticalAlignment VerticalContentAlignment MacOS
TextWrapping TextWrapping MacOS
TextLineBounds TextLineBounds all platforms supported by Uno Platform
Thickness Padding MacOS
OpticalMarginAlignment OpticalMarginAlignment all platforms supported by Uno Platform
int MaxLines MacOS
LineStackingStrategy LineStackingStrategy all platforms supported by Uno Platform
double LineHeight all platforms supported by Uno Platform
bool IsTextScaleFactorEnabled all platforms supported by Uno Platform
HorizontalAlignment HorizontalContentAlignment MacOS
Brush Foreground MacOS
FontWeight FontWeight MacOS
FontStyle FontStyle MacOS
FontStretch FontStretch all platforms supported by Uno Platform
double FontSize MacOS
FontFamily FontFamily MacOS
CornerRadius CornerRadius MacOS
TransitionCollection ContentTransitions MacOS
DataTemplateSelector ContentTemplateSelector MacOS
DataTemplate ContentTemplate MacOS
object Content MacOS
int CharacterSpacing all platforms supported by Uno Platform
Thickness BorderThickness MacOS
Brush BorderBrush MacOS
BrushTransition BackgroundTransition WASM, Xamarin
BackgroundSizing BackgroundSizing MacOS
Brush Background MacOS
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

Not implemented methods

Method Not supported on
void OnContentTemplateChanged(DataTemplate, DataTemplate) MacOS
void OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) MacOS

Last updated Monday, 14 April 2025 02:07.