InkStroke.Id InkStroke.Id InkStroke.Id InkStroke.Id InkStroke.Id Property


Gets the ink stroke identifier.

A unique identifier is assigned to each ink stroke managed by the InkPresenter.

public : unsigned int Id { get; }
uint32_t Id();
public uint Id { get; }
Public ReadOnly Property Id As uint
var uint =;

Property Value

uint uint uint

The identifier for the ink stroke.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)


This identifier does not persist through serialization/deserialization of the ink stroke. After deserialization, a new identifer is assigned.

Calling the Clone method also generates a new identifier for the cloned stroke.

See also