Provides functionality for controlling the focus settings on a capture device.
public : sealed class FocusControl
public sealed class FocusControl
Public NotInheritable Class FocusControl
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
You can find out if a device supports this control by checking FocusControl.Supported.
You can access the FocusControl for the capture device through MediaCapture.VideoDeviceController.
The FocusControl gives apps additional control over the focus settings on a device.
For how-to guidance for using the FocusControl, see Manual camera controls for photo and video capture.
|FocusChangedSupported FocusChangedSupported FocusChangedSupported FocusChangedSupported FocusChangedSupported||
Gets a value that specifics if the capture device supports the FocusChanged event.
|FocusState FocusState FocusState FocusState FocusState||
Gets a MediaCaptureFocusState value indicating the current focus state of the capture device.
|Max Max Max Max Max||
Gets the maximum focus length.
|Min Min Min Min Min||
Gets the minimum focus length.
|Mode Mode Mode Mode Mode||
Gets the capture device's current focus mode.
|Preset Preset Preset Preset Preset||
Gets the focus preset.
|Step Step Step Step Step||
Gets the smallest focus increment supported by the capture device.
|Supported Supported Supported Supported Supported||
Gets a value that specifies if the capture device supports the focus control.
|SupportedFocusDistances SupportedFocusDistances SupportedFocusDistances SupportedFocusDistances SupportedFocusDistances||
Gets a list of values indicating the manual focus distances that are supported by the capture device.
|SupportedFocusModes SupportedFocusModes SupportedFocusModes SupportedFocusModes SupportedFocusModes||
Gets a list of values indicating the focus modes that are supported by the capture device.
|SupportedFocusRanges SupportedFocusRanges SupportedFocusRanges SupportedFocusRanges SupportedFocusRanges||
Gets a list of values indicating the auto focus ranges that are supported by the capture device.
|SupportedPresets SupportedPresets SupportedPresets SupportedPresets SupportedPresets||
Gets the focus presets that the capture device supports.
|Value Value Value Value Value||
Gets the current value that the focus is set to.
|WaitForFocusSupported WaitForFocusSupported WaitForFocusSupported WaitForFocusSupported WaitForFocusSupported||
Gets a value that indicates whether WaitForFocus is supported by the capture device.
Send feedback about: