12aa76dc a77e 40cc b407 61a0fd02dcd3 - akesseler/Plexdata.Utilities.Templates GitHub Wiki

TokenLiterals.HyphenToken Field

The hyphen character.

Namespace: Plexdata.Utilities.Formatting.Defines
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0

Syntax

C#

public const char HyphenToken = '-'

Field Value

Type: Char

Remarks

This constant is used to find out how the alignment has to applied; padding is added to the left or to the right.

Examples

Here an example of how the hyphen token is used.

C#

Template.Format("{0,-10}", 42);
Template.Format("{SomeName,-10}", 42);

See Also

Reference

TokenLiterals Class
Plexdata.Utilities.Formatting.Defines Namespace
TokenLiterals.LiningToken

⚠️ **GitHub.com Fallback** ⚠️