Table of Contents

Class NavigationViewContentPresenter

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll
public class NavigationViewContentPresenter : Frame, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IUriContext
Inheritance
NavigationViewContentPresenter
Implements
Inherited Members
Extension Methods

Constructors

NavigationViewContentPresenter()

public NavigationViewContentPresenter()

Fields

IsDynamicScrollViewerEnabledProperty

Identifies the IsDynamicScrollViewerEnabled dependency property.

public static readonly DependencyProperty IsDynamicScrollViewerEnabledProperty

Field Value

DependencyProperty

TransitionDurationProperty

Identifies the TransitionDuration dependency property.

public static readonly DependencyProperty TransitionDurationProperty

Field Value

DependencyProperty

TransitionProperty

Identifies the Transition dependency property.

public static readonly DependencyProperty TransitionProperty

Field Value

DependencyProperty

Properties

IsDynamicScrollViewerEnabled

Gets or sets a value indicating whether the dynamic scroll viewer is enabled.

public bool IsDynamicScrollViewerEnabled { get; protected set; }

Property Value

bool

Transition

Gets or sets type of NavigationViewContentPresenter transitions during navigation.

public Transition Transition { get; set; }

Property Value

Transition

TransitionDuration

[Bindable(true)]
public int TransitionDuration { get; set; }

Property Value

int

Methods

OnInitialized(EventArgs)

Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.

protected override void OnInitialized(EventArgs e)

Parameters

e EventArgs

The RoutedEventArgs that contains the event data.

OnMouseDown(MouseButtonEventArgs)

Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnMouseDown(MouseButtonEventArgs e)

Parameters

e MouseButtonEventArgs

The MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.

OnNavigated(NavigationEventArgs)

protected virtual void OnNavigated(NavigationEventArgs eventArgs)

Parameters

eventArgs NavigationEventArgs

OnNavigating(NavigatingCancelEventArgs)

protected virtual void OnNavigating(NavigatingCancelEventArgs eventArgs)

Parameters

eventArgs NavigatingCancelEventArgs

OnPreviewKeyDown(KeyEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnPreviewKeyDown(KeyEventArgs e)

Parameters

e KeyEventArgs

The KeyEventArgs that contains the event data.