ScrollViewer.TopHeader 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 of the top header.
public:
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
<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.