ContentPresenter : FrameworkElement

Implemented for: all platforms supported by Uno Platform

This document lists all properties, methods, and events of ContentPresenter that are currently implemented by the Uno Platform. See the WinUI and UWP documentation for detailed usage guidelines which all automatically apply to Uno Platform.

Implemented properties

Property Supported on
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
TransitionCollection ContentTransitions all platforms supported by Uno Platform
DataTemplateSelector ContentTemplateSelector all platforms supported by Uno Platform
DataTemplate ContentTemplate all platforms supported by Uno Platform
object Content all platforms supported by Uno Platform
VerticalAlignment VerticalContentAlignment all platforms supported by Uno Platform
TextWrapping TextWrapping all platforms supported by Uno Platform
Thickness Padding all platforms supported by Uno Platform
int MaxLines all platforms supported by Uno Platform
HorizontalAlignment HorizontalContentAlignment 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
Brush Background Android, MacOS, WASM, Skia
BackgroundSizing BackgroundSizing all platforms supported by Uno Platform
DependencyProperty ContentProperty all platforms supported by Uno Platform
DependencyProperty ContentTemplateProperty all platforms supported by Uno Platform
DependencyProperty ContentTemplateSelectorProperty all platforms supported by Uno Platform
DependencyProperty ContentTransitionsProperty all platforms supported by Uno Platform
DependencyProperty FontFamilyProperty all platforms supported by Uno Platform
DependencyProperty FontSizeProperty 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 BackgroundProperty Android, MacOS, WASM, Skia
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 HorizontalContentAlignmentProperty all platforms supported by Uno Platform
DependencyProperty MaxLinesProperty all platforms supported by Uno Platform
DependencyProperty PaddingProperty all platforms supported by Uno Platform
DependencyProperty TextWrappingProperty all platforms supported by Uno Platform
DependencyProperty VerticalContentAlignmentProperty all platforms supported by Uno Platform
DependencyProperty BackgroundSizingProperty all platforms supported by Uno Platform

Implemented methods

Method Supported on
void OnContentTemplateChanged(DataTemplate, DataTemplate) all platforms supported by Uno Platform
void OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) all platforms supported by Uno Platform

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

Not implemented properties

Property Not supported on
FontStretch FontStretch all platforms supported by Uno Platform
int CharacterSpacing all platforms supported by Uno Platform
TextLineBounds TextLineBounds all platforms supported by Uno Platform
OpticalMarginAlignment OpticalMarginAlignment all platforms supported by Uno Platform
bool IsTextScaleFactorEnabled all platforms supported by Uno Platform
LineStackingStrategy LineStackingStrategy all platforms supported by Uno Platform
double LineHeight all platforms supported by Uno Platform
Brush Background iOS
BrushTransition BackgroundTransition all platforms supported by Uno Platform
DependencyProperty CharacterSpacingProperty all platforms supported by Uno Platform
DependencyProperty FontStretchProperty all platforms supported by Uno Platform
DependencyProperty OpticalMarginAlignmentProperty all platforms supported by Uno Platform
DependencyProperty TextLineBoundsProperty all platforms supported by Uno Platform
DependencyProperty IsTextScaleFactorEnabledProperty all platforms supported by Uno Platform
DependencyProperty BackgroundProperty iOS
DependencyProperty LineHeightProperty all platforms supported by Uno Platform
DependencyProperty LineStackingStrategyProperty all platforms supported by Uno Platform

Last updated Friday, 03 November 2023 16:21.