protected virtual void ApplyTheme() { SliderColorThemer.ApplySemanticColorScheme(CreateColorScheme(), Control); // TODO: This is not very safe as Google may change the way it // colors the control. // Right now, this must always come after the theme as this // is an unsupported operation. OverrideThemeColors(); }
protected virtual void ApplyTheme() { #pragma warning disable CS0618 // Type or member is obsolete SliderColorThemer.ApplySemanticColorScheme(CreateColorScheme(), Control); #pragma warning restore CS0618 // Type or member is obsolete // TODO: This is not very safe as Google may change the way it // colors the control. // Right now, this must always come after the theme as this // is an unsupported operation. OverrideThemeColors(); }