Class NavigationView
- Namespace
- Adw
- Assembly
- Adw-1.dll
public sealed class NavigationView : Widget, IObject, INotifyPropertyChanged, IDisposable, Swipeable, Accessible, Buildable, ConstraintTarget, IHandle, GTypeProvider
- Inheritance
-
NavigationView
- Implements
- Inherited Members
Constructors
NavigationView()
public NavigationView()
NavigationView(params ConstructArgument[])
protected NavigationView(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
NavigationView(IntPtr, bool)
protected NavigationView(IntPtr ptr, bool ownedRef)
Parameters
Fields
AnimateTransitionsPropertyDefinition
public static readonly Property<bool, NavigationView> AnimateTransitionsPropertyDefinition
Field Value
GetNextPageSignal
Signal Descriptor for OnGetNextPage.
public static readonly ReturningSignal<NavigationView, NavigationPage?> GetNextPageSignal
Field Value
NavigationStackPropertyDefinition
public static readonly Property<ListModel, NavigationView> NavigationStackPropertyDefinition
Field Value
PopOnEscapePropertyDefinition
public static readonly Property<bool, NavigationView> PopOnEscapePropertyDefinition
Field Value
PoppedSignal
Signal Descriptor for OnPopped.
public static readonly Signal<NavigationView, NavigationView.PoppedSignalArgs> PoppedSignal
Field Value
PushedSignal
Signal Descriptor for OnPushed.
public static readonly Signal<NavigationView> PushedSignal
Field Value
ReplacedSignal
Signal Descriptor for OnReplaced.
public static readonly Signal<NavigationView> ReplacedSignal
Field Value
VisiblePagePropertyDefinition
public static readonly Property<NavigationPage?, NavigationView> VisiblePagePropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
AnimateTransitions
public bool AnimateTransitions { get; set; }
Property Value
NavigationStack
public ListModel NavigationStack { get; }
Property Value
PopOnEscape
public bool PopOnEscape { get; set; }
Property Value
VisiblePage
public NavigationPage? VisiblePage { get; }
Property Value
Methods
Add(NavigationPage)
[Version("1.4")]
public void Add(NavigationPage page)
Parameters
page
NavigationPage
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
FindPage(string)
[Version("1.4")]
public NavigationPage? FindPage(string tag)
Parameters
tag
string
Returns
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAnimateTransitions()
[Version("1.4")]
public bool GetAnimateTransitions()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
GetBounds(out int, out int, out int, out int)
[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)
Parameters
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetCancelProgress()
public double GetCancelProgress()
Returns
GetDistance()
public double GetDistance()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetNavigationStack()
[Version("1.4")]
public ListModel GetNavigationStack()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetPopOnEscape()
[Version("1.4")]
public bool GetPopOnEscape()
Returns
GetPreviousPage(NavigationPage)
[Version("1.4")]
public NavigationPage? GetPreviousPage(NavigationPage page)
Parameters
page
NavigationPage
Returns
GetProgress()
public double GetProgress()
Returns
GetVisiblePage()
[Version("1.4")]
public NavigationPage? GetVisiblePage()
Returns
New()
[Version("1.4")]
public static NavigationView New()
Returns
Pop()
[Version("1.4")]
public bool Pop()
Returns
PopToPage(NavigationPage)
[Version("1.4")]
public bool PopToPage(NavigationPage page)
Parameters
page
NavigationPage
Returns
PopToTag(string)
[Version("1.4")]
public bool PopToTag(string tag)
Parameters
tag
string
Returns
Push(NavigationPage)
[Version("1.4")]
public void Push(NavigationPage page)
Parameters
page
NavigationPage
PushByTag(string)
[Version("1.4")]
public void PushByTag(string tag)
Parameters
tag
string
Remove(NavigationPage)
[Version("1.4")]
public void Remove(NavigationPage page)
Parameters
page
NavigationPage
ReplaceWithTags(string[], int)
[Version("1.4")]
public void ReplaceWithTags(string[] tags, int nTags)
Parameters
ResetProperty(AccessibleProperty)
public void ResetProperty(AccessibleProperty property)
Parameters
property
AccessibleProperty
ResetRelation(AccessibleRelation)
public void ResetRelation(AccessibleRelation relation)
Parameters
relation
AccessibleRelation
ResetState(AccessibleState)
public void ResetState(AccessibleState state)
Parameters
state
AccessibleState
SetAccessibleParent(Accessible?, Accessible?)
[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)
Parameters
parent
AccessiblenextSibling
Accessible
SetAnimateTransitions(bool)
[Version("1.4")]
public void SetAnimateTransitions(bool animateTransitions)
Parameters
animateTransitions
bool
SetPopOnEscape(bool)
[Version("1.4")]
public void SetPopOnEscape(bool popOnEscape)
Parameters
popOnEscape
bool
UpdateNextAccessibleSibling(Accessible?)
[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)
Parameters
newSibling
Accessible
Events
OnGetNextPage
public event ReturningSignalHandler<NavigationView, NavigationPage?> OnGetNextPage
Event Type
OnPopped
public event SignalHandler<NavigationView, NavigationView.PoppedSignalArgs> OnPopped
Event Type
OnPushed
public event SignalHandler<NavigationView> OnPushed
Event Type
OnReplaced
public event SignalHandler<NavigationView> OnReplaced