PreferenceBase Class

Spotfire 14.3 API Reference
Base class for Preference implementations.
Inheritance Hierarchy

SystemObject
  DedicatedThreadAccessible
    Spotfire.Dxp.Framework.PreferencesPreferenceBase
      Spotfire.Dxp.Application.ExtensionCustomPreference
      Spotfire.Dxp.Application.UserPreferencesVisualizationPreferences

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

C#
public abstract class PreferenceBase : DedicatedThreadAccessible

The PreferenceBase type exposes the following members.

Properties

  NameDescription
Public propertyIsEmpty
Gets a value indicating whether this preference object only contains default property values or not.
Top
Methods

  NameDescription
Protected methodAddPreferenceT
Call this method (in the constructor of your concrete preference class implementation) to add a new property to your preference class.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Override this method to perform desired operations when a the value of a property has changed.
Public methodReset
Resets all values that may explicitly have been given to the properties of this preference on a user level basis through a calls to Value. The effect of resetting a property is that when the Value of it is queried, either the group value or the default value will be returned.
Public methodSave
Persists all changes to the properties of this preference object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndoChanges
Undoes any changes that may have been to all of the properties of this preference, since it was last saved.
Top
Events

  NameDescription
Public eventPropertyChanged
Occurs when one of the properties in this preference is changed.
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference