InitColorSchemeFrom

IOverrideTheme.InitColorSchemeFrom method

Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

public void InitColorSchemeFrom(IColorScheme colorScheme)
Parameter Type Description
colorScheme IColorScheme Data to initialize from.

Exceptions

exception condition
InvalidOperationException Thrown if the ColorScheme is already initialized (not null).
ArgumentNullException Thrown if the colorScheme parameter is null.

See Also