Show / Hide Table of Contents

Class ModernNavigationMode

Represents a navigation mode centered on data, surveys, and studies.

Inheritance
System.Object
NavigationModeBase
ModernNavigationMode
Inherited Members
NavigationModeBase.Name
NavigationModeBase.Weight
NavigationModeBase.GetChildrenOfType(Guid, Node, Boolean)
NavigationModeBase.GetChildrenOfType(Guid[], Node, Boolean)
Namespace: Algenta.Colectica.Navigator.Modes
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class ModernNavigationMode : NavigationModeBase, INavigationMode

Constructors

ModernNavigationMode()

Initializes a new instance of the ModernNavigationMode class.

Declaration
public ModernNavigationMode()

Properties

IncludedTypes

Gets an array of all IVersionable item types that may be displayed by this mode.

Declaration
public override Guid[] IncludedTypes { get; }
Property Value
Type Description
Guid[]

The included types.

Overrides
NavigationModeBase.IncludedTypes

Labels

Declaration
public ModernNavigationLabels Labels { get; set; }
Property Value
Type Description
ModernNavigationLabels

Methods

AreChildrenRemote(Node)

Returns a value indicating whether the children of the specified node are determined by making network calls.

Declaration
public override bool AreChildrenRemote(Node item)
Parameters
Type Name Description
Node item

The item for which children will be requested.

Returns
Type Description
System.Boolean

true if network activity is required to determine the children of the specified node; otherwise false.

Overrides
NavigationModeBase.AreChildrenRemote(Node)

GetChildItems(Node)

Gets the child items of the specified node. If AreChildrenRemote returned true, this method wil be called on a background thread.

Declaration
public override Collection<Node> GetChildItems(Node item)
Parameters
Type Name Description
Node item

The node for which children are being requested.

Returns
Type Description
Collection<Node>

A list of nodes that will be added as children of the specified node.

Overrides
NavigationModeBase.GetChildItems(Node)

GetTopLevelGroups(Node)

Declaration
public Collection<Node> GetTopLevelGroups(Node parent)
Parameters
Type Name Description
Node parent
Returns
Type Description
Collection<Node>

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica