# The perils of binding to value types in XAML

DevFeed: [The perils of binding to value types in XAML](<https://devfeed.tech/articles/the-perils-of-binding-to-value-types-in-xaml-21754.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20260902-00/?p=112668>)

Author: Raymond Chen

Published: 2026-09-02T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [XAML](<https://devfeed.tech/topics/xaml.md>), [data](<https://devfeed.tech/topics/data.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [xaml](<https://devfeed.tech/tags/xaml.md>)

## AI overview

The article explains how binding XAML controls to value-type data models can break navigation through assistive technology because XAML receives copies rather than the same object identity. It recommends using a C++/WinRT runtime class and notes that Windows Implementation Library helpers can reduce implementation boilerplate.

## Source excerpt

Loss of identity. The post The perils of binding to value types in XAML appeared first on The Old New Thing.