Class ThemeLoader
Definition
- Namespace:
- Tizen.Applications.ThemeManager
- Assembly:
- Tizen.Applications.ThemeManager.dll
public class ThemeLoader : IDisposable
- Inheritance
-
objectThemeLoader
Constructors
View SourceThemeLoader()
Creates ThemeLoader.
Declaration
public ThemeLoader()
Properties
View SourceCurrentTheme
Sets current theme.
Declaration
public Theme CurrentTheme { get; set; }
Property Value
Type | Description |
---|---|
Theme |
Methods
View SourceDispose()
Releases all resources used by the ThemeLoader class.
Declaration
public void Dispose()
Dispose(bool)
Releases the unmanaged resources used by the ThemeLoader class specifying whether to perform a normal dispose operation.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true for a normal dispose operation; false to finalize the handle. |
LoadTheme(string)
Loads theme.
Declaration
public Theme LoadTheme(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id |
Returns
Type | Description |
---|---|
Theme |
QueryIds()
Gets bundle of theme IDs.
Declaration
public IEnumerable<string> QueryIds()
Returns
Type | Description |
---|---|
IEnumerable<><string> |
Events
View SourceThemeChanged
Adds or removes events for theme changed.
Declaration
public event EventHandler<ThemeEventArgs> ThemeChanged
Event Type
Type | Description |
---|---|
EventHandler<><ThemeEventArgs> |