BrightnessOverrideSettings.CreateFromDisplayBrightnessOverrideScenario Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.