CADability dotNET
The Settings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Settings()()()() | ||
Settings(String) | ||
Settings(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
AddSetting | ||
ContainsSetting | ||
GetBoolValue(Object) |
Wandelt das im Parameter gegebene Objekt in den Typ bool um. Werte vom Typ bool können
auf zwei Arten in den Settings gespeichert sein: einmal als primitiver bool Typ und einmal als
Booleanproperty Typ. Letzterer hat noch Informationen, wie er interaktiv durch den
Anwender in einem ShowProperty Control geändert werden kann. Wenn das gegebene Objekt
einen anderen Typ hat, dann gibt es eine InvalidCastException.
| |
GetBoolValue(String, Boolean) | ||
GetDoubleValue(Object) | ||
GetDoubleValue(String, Double) | ||
GetIntValue(Object) | ||
GetIntValue(String, Int32) | ||
GetObjectData | ||
GetStringValue | ||
GetSubSetting | ||
GetValue | ||
LoadGlobalSettings | ||
OnDeserialization | ||
RearrangeSetting | ||
RefreshSubentries | ||
RemoveSetting | ||
SaveGlobalSettings()()()() | ||
SaveGlobalSettings(String) | ||
SetValue | ||
ShutDown |
GlobalSettings has registered the Application.ApplicationExit event. This call saves the settings
and unregisters the event.
|
Fields
Name | Description | |
---|---|---|
GlobalSettings |
The global settings contain many different settings or configurations for the program execution.
The settings are displayed in the "global" tab of the controlcenter. User code may add or remove settings.
AddSetting(String, Object).
| |
myName |
Properties
Name | Description | |
---|---|---|
ColorList | ||
DimensionStyleList | ||
EntryType |
Overrides EntryType,
returns GroupTitle.
(Overrides IShowPropertyImpl..::..EntryType.) | |
HatchStyleList | ||
HelpLink | (Overrides IShowPropertyImpl..::..HelpLink.) | |
LayerList | ||
LinePatternList | ||
LineWidthList | ||
Modified | ||
StyleList | ||
SubEntries |
Overrides SubEntries,
returns the subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntries.) | |
SubEntriesCount |
Overrides SubEntriesCount,
returns the number of subentries in this property view.
(Overrides IShowPropertyImpl..::..SubEntriesCount.) |
Events
Name | Description | |
---|---|---|
SettingChangedEvent |