Click or drag to resize

StiNumberFormatService Class

Describes a service for the text formatting as number values.
Inheritance Hierarchy

Namespace:  Stimulsoft.Report.Components.TextFormats
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
[TypeConverterAttribute(typeof(StiNumberFormatConverter))]
public class StiNumberFormatService : StiFormatService

The StiNumberFormatService type exposes the following members.

Constructors
  NameDescription
Public methodStiNumberFormatService
Creates a new format of the type StiNumberFormatService.
Public methodStiNumberFormatService(Int32, String, Int32, String, Int32, Boolean, Boolean, String)
Creates a new format of the type StiNumberFormatService with specified arguments.
Public methodStiNumberFormatService(Int32, Int32, String, Int32, String, Int32, Boolean, Boolean, String)
Initializes a new instance of the StiNumberFormatService class
Public methodStiNumberFormatService(Int32, Int32, String, Int32, String, Int32, Boolean, Boolean, String, StiTextFormatState)
Initializes a new instance of the StiNumberFormatService class
Top
Properties
  NameDescription
Public propertyDecimalDigits
Gets or sets indicates the number of decimal places to use in currency values.
Public propertyDecimalSeparator
Gets or sets the string to use as the decimal separator in currency values.
Public propertyGroupSeparator
Gets or sets the string that separates groups of digits to the left of the decimal in currency values.
Public propertyGroupSize
Gets or sets the number of digits in group to the left of the decimal in currency values.
Public propertyIdent (Inherited from StiFormatService.)
Public propertyIsDefault (Inherited from StiFormatService.)
Public propertyIsFormatStringFromVariable
Internal use only.
(Inherited from StiFormatService.)
Public propertyNativeFormatString
Returns native format string.
(Overrides StiFormatServiceNativeFormatString.)
Public propertyNegativePattern
Gets or sets the format pattern for negative numeric values.
Public propertyNullDisplay
Gets or sets string value to show the value null.
Public propertyPosition (Overrides StiFormatServicePosition.)
Public propertyProperties (Inherited from StiService.)
Public propertySample
Gets value to show a sample of formatting.
(Overrides StiFormatServiceSample.)
Public propertyServiceCategory
Gets a service category.
(Inherited from StiFormatService.)
Public propertyServiceEnabled (Inherited from StiService.)
Public propertyServiceInfo (Inherited from StiService.)
Public propertyServiceName
Gets a service name.
(Overrides StiServiceServiceName.)
Public propertyServiceType
Gets a service type.
(Inherited from StiFormatService.)
Public propertyState
Public propertyStringFormat
Gets or sets string of formatting.
(Overrides StiFormatServiceStringFormat.)
Public propertyUseGroupSeparator
Gets or sets value indicates it is necessary to use a group separator.
Public propertyUseLocalSetting
Gets or sets value indicates it is necessary to use local settings.
Top
Methods
  NameDescription
Public methodClone (Overrides StiServiceClone.)
Public methodCreateNew (Overrides StiFormatServiceCreateNew.)
Public methodEquals (Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormat(Object)
Formats the specified object in order of format and returns a string.
(Inherited from StiFormatService.)
Public methodFormat(String, Object)
Formats the specified object in order of regulations and returns a string.
(Overrides StiFormatServiceFormat(String, Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsPropertiesInitializedProtected (Inherited from StiService.)
Public methodIsPropertyPresent (Inherited from StiService.)
Public methodLoadFromJsonObject (Overrides StiFormatServiceLoadFromJsonObject(JObject).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPackService (Inherited from StiService.)
Public methodSaveToJsonObject (Overrides StiFormatServiceSaveToJsonObject(StiJsonSaveMode).)
Public methodToString (Inherited from StiFormatService.)
Top
See Also