InitColorSchemeFrom

OverrideTheme.InitColorSchemeFrom method

Init ColorScheme with new object for overriding ColorScheme of InheritedTheme.

public void InitColorSchemeFrom(IColorScheme colorScheme)
ParameterTypeDescription
colorSchemeIColorSchemeData to initialize from.

Exceptions

exceptioncondition
InvalidOperationExceptionThrown if the ColorScheme is already initialized (not null).
ArgumentNullExceptionThrown if the colorScheme parameter is null.

See Also