[]
Creates a theme using the specified theme URI and resource locator.
public static Theme Create(string themeUri, ResourceLocator locator)
Type | Name | Description |
---|---|---|
string | themeUri | A string value indicating the URI of the theme. |
ResourceLocator | locator | A ResourceLocator object for locating theme resources. |
Type | Description |
---|---|
Theme | A new instance of Theme. |
Uri themeUri = new Uri("path/to/theme/file.rdlx-theme");
ResourceLocator resourceLocator = GetResourceLocator();
Theme theme = Theme.Create(themeUri, resourceLocator)