Class UserSettings
Access to user settings
Inherited Members
Namespace: DesignData.SDS2.Setup
Assembly: DesignData.SDS2.Setup.dll
Syntax
public class UserSettings
Properties
UserInterfaceAppearance
This user's current setting for light or dark mode. If you want your interface to match up with SDS2 this setting is useful to see what the current user's expectation is.
Declaration
public UIAppearance UserInterfaceAppearance { get; }
Property Value
Type | Description |
---|---|
UIAppearance |
Methods
Dispose(bool)
Access to user settings
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
~UserSettings()
Access to user settings
Declaration
protected ~UserSettings()
Get()
Get the UserSettings object for the current user
Declaration
public static UserSettings Get()
Returns
Type | Description |
---|---|
UserSettings |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | thrown if there is no DataDirectory open. You must call DataDirectory.Open() before checking node config |