The CustomPreference type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CustomPreference |
Initializes a new instance of the CustomPreference class.
|
Methods
Name | Description | |
---|---|---|
AddPreference T |
Call this method (in the constructor of your
concrete preference class implementation) to add a new property
to your preference class.
(Inherited from PreferenceBase.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnPropertyChanged | Override this method to perform desired operations when a
the value of a property has changed.
(Inherited from PreferenceBase.) | |
Reset |
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.
(Inherited from PreferenceBase.) | |
Save | Persists all changes to the properties of this preference object.
(Inherited from PreferenceBase.) | |
UndoChanges | Undoes any changes that may have been to all of the properties
of this preference, since it was last saved.
(Inherited from PreferenceBase.) |
Properties
Name | Description | |
---|---|---|
Category | Implementations of this property are to return the name of
the category to which the preference belongs. The category name must
not be null or an empty string for the preference to be
properly persisted.
(Inherited from PreferenceBase.) | |
IsEmpty | Gets a value indicating whether this preference object only contains default property values or not.
(Inherited from PreferenceBase.) | |
SubCategory | Implementations of this property are to return the name of
the subcategory to which the preference belongs. The subcategory
must not be null or an empty string for the preference to
be properly persisted.
(Inherited from PreferenceBase.) |
Events
Name | Description | |
---|---|---|
PropertyChanged | Occurs when one of the properties in this preference is changed.
(Inherited from PreferenceBase.) |
See Also