API
FrameworkElement.DataContext
Supplies inherited binding context.
Formal Syntax & Structure
csharp syntaxcsharp
DataContext = new InventoryState();Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.DataContext = new InventoryState();