// ----------------------------------------------------------------------- // // Copyright 2014 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Controls.Primitives { /// /// A with a header. /// public class HeaderedContentControl : ContentControl, IHeadered { /// /// Defines the property. /// public static readonly PerspexProperty HeaderProperty = PerspexProperty.Register("Header"); /// /// Gets or sets the header content. /// public object Header { get { return this.GetValue(HeaderProperty); } set { this.SetValue(HeaderProperty, value); } } } }