// 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. namespace Avalonia.Controls.Primitives { /// /// A with a header. /// public class HeaderedContentControl : ContentControl, IHeadered { /// /// Defines the property. /// public static readonly StyledProperty HeaderProperty = AvaloniaProperty.Register(nameof(Header)); /// /// Gets or sets the header content. /// public object Header { get { return GetValue(HeaderProperty); } set { SetValue(HeaderProperty, value); } } } }