BrightnessOverrideSettings.CreateFromDisplayBrightnessOverrideScenario Method

Definition

Creates a BrightnessOverrideSettings object with a brightness level corresponding to the specified brightness scenario.

public:
 static BrightnessOverrideSettings ^ CreateFromDisplayBrightnessOverrideScenario(DisplayBrightnessOverrideScenario overrideScenario);
 static BrightnessOverrideSettings CreateFromDisplayBrightnessOverrideScenario(DisplayBrightnessOverrideScenario const& overrideScenario);
public static BrightnessOverrideSettings CreateFromDisplayBrightnessOverrideScenario(DisplayBrightnessOverrideScenario overrideScenario);
function createFromDisplayBrightnessOverrideScenario(overrideScenario)
Public Shared Function CreateFromDisplayBrightnessOverrideScenario (overrideScenario As DisplayBrightnessOverrideScenario) As BrightnessOverrideSettings

Parameters

overrideScenario
DisplayBrightnessOverrideScenario

The override scenario on which to base the settings.

Returns

The override settings.

Applies to