LocaleIndependent Property

See Also       Example        Applies To       Specifics

 

Gets or sets a value that determines if the control uses locale (country/region) independent time formats when displaying event timestamps.

 

Syntax

[Visual Basic]
Public Property LocaleIndependent As Boolean

[C#]
public bool LocaleIndependent {get; set;}

 

The LocaleIndependent property syntax has these parts:

 

Part

Description

Boolean

A boolean expression that determines timestamps are locale independent.

 

Settings

The settings for Boolean are:

 

Setting

Description

True

The control uses the supplied time format default format if the timeformat string is blank.

False

(Default) Use Windows current regional settings (see Control Panel - Regional Settings)

 

 

Remarks

 

The default time format (dd-MMM-yyyy hh:mm:ss) can be overridden by supplying a valid format string in TimeFormatString property.

The control get the country/region information at startup so the application has the be restarted if the region/country is changed. The control does adapt to time and number format changes immediately.

 

Requirements

    Assembly: OSIsoft.PISDK.Controls.PIArchiveEditor (in OSIsoft.PISDK.Controls.PIArchiveEditor.dll)

 

 


Enabling Operational Intelligence