Show / Hide Table of Contents

Class Epub3NavSpan

Navigation header associated with a Epub3NavLi (represented by the <span> HTML tag in the navigation document).

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.

Inheritance
object
Epub3NavSpan
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VersOne.Epub.Schema
Assembly: VersOne.Epub.dll
Syntax
public class Epub3NavSpan

Constructors

View Source

Epub3NavSpan(string, string?, string?)

Initializes a new instance of the Epub3NavSpan class.

Declaration
public Epub3NavSpan(string text, string? title, string? alt = null)
Parameters
Type Name Description
string text

The textual content of the navigation header (represented by the inner content of the <span> HTML tag in the navigation document).

string title

The alternative title of the navigation header (represented by the 'title' HTML attribute in the navigation document) or null if the alternative title is not specified.

string alt

The alternative text of the navigation header (represented by the 'title' HTML attribute in the navigation document) or null if the alternative text is not specified.

Exceptions
Type Condition
ArgumentNullException

The text parameter is null.

Properties

View Source

Alt

Gets the alternative text of the navigation header (represented by the 'title' HTML attribute in the navigation document) or null if the alternative text is not specified.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.

Declaration
public string? Alt { get; }
Property type: string
View Source

Text

Gets the textual content of the navigation header (represented by the inner content of the <span> HTML tag in the navigation document).

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.

Declaration
public string Text { get; }
Property type: string
View Source

Title

Gets the alternative title of the navigation header (represented by the 'title' HTML attribute in the navigation document) or null if the alternative title is not specified.

See https://www.w3.org/publishing/epub32/epub-packages.html#sec-package-nav-def-model for more information.

Declaration
public string? Title { get; }
Property type: string
  • View Source
In this article
Back to top Generated by DocFX