Share via


ScrollViewer.LeftHeader Property

Definition

Gets or sets the content of the left header.

public:
 property UIElement ^ LeftHeader { UIElement ^ get(); void set(UIElement ^ value); };
UIElement LeftHeader();

void LeftHeader(UIElement value);
public UIElement LeftHeader { get; set; }
var uIElement = scrollViewer.leftHeader;
scrollViewer.leftHeader = uIElement;
Public Property LeftHeader As UIElement
<ScrollViewer>
  <ScrollViewer.LeftHeader>headerObject</ScrollViewer.LeftHeader>
</ScrollViewer>

Property Value

The content of the left header.

Remarks

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

The left header scrolls vertically, but not horizontally.

Applies to

See also