Table of Contents

Class UnitFormatOptions

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Configuration options for BitUnit and ByteUnit. Implements the FormattingOptions

public sealed class UnitFormatOptions : FormattingOptions, IValidatableParameterObject, IParameterObject
Inheritance
Object
UnitFormatOptions
Implements
Inherited Members

Constructors

UnitFormatOptions()

Initializes a new instance of the UnitFormatOptions class.

public UnitFormatOptions()

Remarks

The following table shows the initial property values for an instance of UnitFormatOptions.

PropertyInitial Value
StyleSymbol
NumberFormat#,##0.##
FormatProviderSystem.Globalization.CultureInfo.InvariantCulture

Properties

NumberFormat

Gets or sets the desired number format.

public string NumberFormat { get; set; }

Property Value

String

The desired number format.

Style

Gets or sets the desired naming style.

public NamingStyle Style { get; set; }

Property Value

NamingStyle

The desired naming style.

See Also