ContentPresenter : FrameworkElement

Implemented for: all platforms

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

Implemented properties

Property Supported on
Brush Foreground all platforms
FontWeight FontWeight all platforms
FontStyle FontStyle all platforms
double FontSize all platforms
FontFamily FontFamily all platforms
TransitionCollection ContentTransitions all platforms
DataTemplateSelector ContentTemplateSelector all platforms
DataTemplate ContentTemplate all platforms
object Content all platforms
VerticalAlignment VerticalContentAlignment all platforms
TextWrapping TextWrapping all platforms
Thickness Padding all platforms
int MaxLines all platforms
HorizontalAlignment HorizontalContentAlignment all platforms
CornerRadius CornerRadius all platforms
Thickness BorderThickness all platforms
Brush BorderBrush all platforms
Brush Background all platforms
BackgroundSizing BackgroundSizing all platforms
DependencyProperty ContentProperty all platforms
DependencyProperty ContentTemplateProperty all platforms
DependencyProperty ContentTemplateSelectorProperty all platforms
DependencyProperty ContentTransitionsProperty all platforms
DependencyProperty FontFamilyProperty all platforms
DependencyProperty FontSizeProperty all platforms
DependencyProperty FontStyleProperty all platforms
DependencyProperty FontWeightProperty all platforms
DependencyProperty ForegroundProperty all platforms
DependencyProperty BackgroundProperty all platforms
DependencyProperty HorizontalContentAlignmentProperty all platforms
DependencyProperty MaxLinesProperty all platforms
DependencyProperty TextWrappingProperty all platforms
DependencyProperty VerticalContentAlignmentProperty all platforms
DependencyProperty BackgroundSizingProperty all platforms

Implemented methods

Method Supported on
void OnContentTemplateChanged(DataTemplate, DataTemplate) all platforms
void OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) all platforms

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
int CharacterSpacing all platforms
TextLineBounds TextLineBounds all platforms
OpticalMarginAlignment OpticalMarginAlignment all platforms
bool IsTextScaleFactorEnabled all platforms
LineStackingStrategy LineStackingStrategy all platforms
double LineHeight all platforms
BrushTransition BackgroundTransition all platforms
DependencyProperty CharacterSpacingProperty all platforms
DependencyProperty FontStretchProperty all platforms
DependencyProperty OpticalMarginAlignmentProperty all platforms
DependencyProperty TextLineBoundsProperty all platforms
DependencyProperty IsTextScaleFactorEnabledProperty all platforms
DependencyProperty BorderBrushProperty all platforms
DependencyProperty BorderThicknessProperty all platforms
DependencyProperty CornerRadiusProperty all platforms
DependencyProperty LineHeightProperty all platforms
DependencyProperty LineStackingStrategyProperty all platforms
DependencyProperty PaddingProperty all platforms

Last updated Wednesday, October 20, 2021 12:49 PM.