-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.Slider.Header |
winrt property |
Gets or sets the content for the control's header.
<Slider Header="headerString"/>
- or -
<Slider>
<Slider.Header>headerObject</Slider.Header>
</Slider>
- headerString
- headerStringA text string that serves as header content.
- headerObject
- headerObjectAn single object element that serves as header content. Use discretion when using objects as header content; not all objects are suitable for use within the limited presentation surface that appears for headers.
You can set a data template for the Header by using the HeaderTemplate property.