Hub.Header Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the content for the hub header.
public:
property Platform::Object ^ Header { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Header();
void Header(IInspectable value);
public object Header { get; set; }
var object = hub.header;
hub.header = object;
Public Property Header As Object
<Hub Header="headerString"/>
- or -
<Hub>
<Hub.Header>
headerObject
</Hub.Header>
</Hub>
Property Value
The content of the hub header. The default is null.
Remarks
Add a header to let users know the context of your Hub. This is often the name of your app. It's important to remember that although you can use arbitrary content in the header, the height of the header affects the amount of vertical space available for your hub section content. The header remains fixed in its position and doesn't scroll with the hub sections.
You can use a data template for the header by setting the HeaderTemplate property.