Windows Dev Center

FocusControl.Value | value property

Gets the current value that the focus is set to.

Syntax


public:
property unsigned int Value { 
   unsigned int get();
}

Property value

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The value that the focus is set to. The minimum and maximum values for the focus are specified by Min and Max.

Remarks

To set a focus value, call SetValueAsync specifying a value between the Min and Max focus values.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

See also

FocusControl
FocusControl.Value
Min
Max

 

 

Show:
© 2015 Microsoft