Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

FocusSettings.Mode Property

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.

Gets or sets a value indicating the focus mode setting.

public:
 property FocusMode Mode { FocusMode get(); void set(FocusMode value); };
FocusMode Mode();

void Mode(FocusMode value);
public FocusMode Mode { get; set; }
var focusMode = focusSettings.mode;
focusSettings.mode = focusMode;
Public Property Mode As FocusMode

Property Value

A value indicating the focus mode setting.

Remarks

Autofocus mode, enabled by using the FocusMode.Continuous value, is only supported while the preview stream is running. Check to make sure that the preview stream is running before turning on continuous autofocus.

Applies to


Feedback

Was this page helpful?