Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
This task snipped enables you use XAML data binding with ink stroke data in an InkCanvas control.
The InkCanvas class does not expose a dependency property for its ink stroke data, so there is no built-in target for data binding. This snippet provides a InkStrokes attached property that you can use to bind to an InkStrokeContainer. This enables you to manipulate the ink stroke data programmatically (for example, to deserialize it from storage) and have the changes appear in the UI automatically.