![]() |
Paradox Game Engine
v1.0.0 beta06
|
This class represents property to store in the settings that is identified by a key. More...
Protected Member Functions | |
SettingsKey (UFile name, object defaultValue) | |
Initializes a new instance of the SettingsKey class. More... | |
Protected Attributes | |
readonly object | DefaultObjectValue |
The default value of the settings key. More... | |
Properties | |
UFile | Name [get, set] |
Gets the name of this SettingsKey. More... | |
abstract Type | Type [get] |
Gets the type of this SettingsKey. More... | |
bool | IsEditable [get, set] |
Gets or sets whether this SettingsKey is editable by users. More... | |
UFile | DisplayName [get, set] |
Gets or sets the display name of the SettingsKey. More... | |
string | Description [get, set] |
Gets or sets the description of this SettingsKey. More... | |
Events | |
EventHandler < ChangesValidatedEventArgs > | ChangesValidated |
Raised when the value of the settings key has been modified and the method SettingsProfile.ValidateSettingsChanges has been invoked. More... | |
This class represents property to store in the settings that is identified by a key.
Definition at line 37 of file SettingsKey.cs.
|
protected |
Initializes a new instance of the SettingsKey class.
name | The name of this settings key. Must be unique amongst the application. |
defaultValue | The default value associated to this settings key. |
Definition at line 49 of file SettingsKey.cs.
|
protected |
The default value of the settings key.
Definition at line 42 of file SettingsKey.cs.
|
getset |
Gets or sets the description of this SettingsKey.
Definition at line 82 of file SettingsKey.cs.
|
getset |
Gets or sets the display name of the SettingsKey.
The default value is the name parameter given to the constructor of this class.
Definition at line 77 of file SettingsKey.cs.
|
getset |
Gets or sets whether this SettingsKey is editable by users.
Definition at line 71 of file SettingsKey.cs.
|
getset |
Gets the name of this SettingsKey.
Definition at line 61 of file SettingsKey.cs.
|
get |
Gets the type of this SettingsKey.
Definition at line 66 of file SettingsKey.cs.
EventHandler<ChangesValidatedEventArgs> SiliconStudio.Presentation.Settings.SettingsKey.ChangesValidated |
Raised when the value of the settings key has been modified and the method SettingsProfile.ValidateSettingsChanges has been invoked.
Definition at line 87 of file SettingsKey.cs.