ContentControl

Inheritance: TemplatedControl AvaloniaUI documentation: ContentControl API

Properties

Properties
Description

horizontalContentAlignment(value: HorizontalAlignment)

Sets the HorizontalContentAlignment property.

verticalContentAlignment(value: VerticalAlignment)

Sets the VerticalContentAlignment property.

centerContentHorizontal()

Sets the HorizontalContentAlignment property to Center.

centerContentVertical()

Sets the VerticalContentAlignment property to Center.

center()

Sets both the HorizontalContentAlignment and VerticalContentAlignment properties to Center.

Last updated