ScrollViewer.TopHeader Property


Gets or sets the content of the top header.

 property UIElement ^ TopHeader { UIElement ^ get(); void set(UIElement ^ value); };
UIElement TopHeader();

void TopHeader(UIElement value);
public UIElement TopHeader { get; set; }
var uIElement = scrollViewer.topHeader;
scrollViewer.topHeader = uIElement;
Public Property TopHeader As UIElement

Property Value


The content of the top header.


The LeftHeader, TopHeader, and TopLeftHeader properties can be set only when ScrollViewer content's HorizontalAlignment is Left and VerticalAlignment is Top.

The top header scrolls horizontally, but not vertically.

Applies to