PreferencePropertyTValue Property TIBCO Spotfire 7.6 API Reference
Gets or sets the value of the property. A get request to this property will return the overridden value of a preference property. That is, if the user has overridden the value inherited from the user group, that inherited value is returned. Otherwise, the group value is returned. The same way, group values may override the values inherited from parent groups. If no value can be found, neither at the group level nor at the user level, a default value is returned. The default value is passed to the constructors of this class, either as a value or a PreferencePropertyTDefaultValueCalculatorCallback. If no default value exists, null is returned for reference types, and 0 is returned for value types.

Setting the property will only affect the user level value and override the inherited group value (if such exists).

After setting or resetting the value of a preference property, Save() must be called on the owning preference to cause the property to be persisted.

Namespace: Spotfire.Dxp.Framework.Preferences
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public T Value { get; set; }

Property Value

Type: T
Exceptions

ExceptionCondition
ArgumentException If the value exceeds the minimum or maximum values defined when this property was initialized.
Remarks

If the value type of this property implements IComparable and minimum and maximum values were defined for this property when it was created, a check will be performed against these values.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference