NavigationView.PaneCustomContent Property

Definition

Gets or sets a UI element that is shown in the NavigationView pane.

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

void PaneCustomContent(UIElement value);
public UIElement PaneCustomContent { get; set; }
var uIElement = navigationView.paneCustomContent;
navigationView.paneCustomContent = uIElement;
Public Property PaneCustomContent As UIElement

Property Value

UIElement

The element that is shown in the NavigationView pane.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

The PaneCustomContent property takes a single UIElement. This is typically a layout panel, such as Grid or StackPanel, that contains additional elements.

Applies to