Table of Contents

Class NavigationSegmentAttribute

Namespace
Nalu
Assembly
Nalu.Maui.Navigation.dll

Defines an alternative navigation segment name (by default matches the name of the class).

[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class NavigationSegmentAttribute : Attribute
Inheritance
NavigationSegmentAttribute
Inherited Members

Constructors

NavigationSegmentAttribute(string)

Defines an alternative navigation segment name (by default matches the name of the class).

public NavigationSegmentAttribute(string segmentName)

Parameters

segmentName string

The navigation segment name.

Properties

SegmentName

Gets the navigation segment name.

public string SegmentName { get; }

Property Value

string

Methods

GetSegmentName(Type)

Gets the segment name for the given type.

public static string GetSegmentName(Type type)

Parameters

type Type

The given type.

Returns

string

The segment name, defaults to type name.