NavigateToggle Constructor uno
Creates a new NavigateToggle
Toggles a Navigation
.
This is currently only supported in EdgeNavigation, and will do nothing if used on another type of navigation.
Used on an EdgeNavigation
, it will navigate to and from a Panel with EdgeNavigation.Edge
set, specified by using the Target
property.
This example shows the use of NavigateToggle
by toggling the visibility of an EdgePanel
.
<DockPanel>
<EdgeNavigation/>
<Panel Width="150" Edge="Left" Background="#f63" Alignment="Left" ux:Name="nav">
<EnteringAnimation>
<Move X="-1" RelativeTo="Size" />
</EnteringAnimation>
</Panel>
<Panel Background="#90CAF9">
<Tapped>
<NavigateToggle Target="nav" />
</Tapped>
</Panel>
</DockPanel>
Creates a new NavigateToggle
The item to have its navigated state toggled.
The number of seconds after the start of the trigger that the action should be performed.
hide
hide
hide