using Avalonia.Controls.Templates; using Avalonia.Layout; using Avalonia.Metadata; namespace Avalonia.Controls { /// /// Defines a control that displays according to a /// . /// [NotClientImplementable] public interface IContentControl : IControl { /// /// Gets or sets the content to display. /// object? Content { get; set; } /// /// Gets or sets the data template used to display the content of the control. /// IDataTemplate? ContentTemplate { get; set; } /// /// Gets or sets the horizontal alignment of the content within the control. /// HorizontalAlignment HorizontalContentAlignment { get; set; } /// /// Gets or sets the vertical alignment of the content within the control. /// VerticalAlignment VerticalContentAlignment { get; set; } } }