ScrollViewer.TopHeader ScrollViewer.TopHeader ScrollViewer.TopHeader ScrollViewer.TopHeader Property

Definition

Gets or sets the content of the top header.

public : UIElement TopHeader { get; set; }
UIElement TopHeader();

void TopHeader(UIElement topheader);
public UIElement TopHeader { get; set; }
Public ReadWrite Property TopHeader As UIElement
<ScrollViewer>
  <ScrollViewer.TopHeader>headerObject</ScrollViewer.TopHeader>
</ScrollViewer>

Property Value

The content of the top header.

Remarks

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.