// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Controls.Templates;
using Avalonia.Layout;
namespace Avalonia.Controls
{
///
/// Defines a control that displays according to a
/// .
///
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; }
}
}