Click or drag to resize

BaseModelDataContext Property

Contains a source of all bindings defined for element.

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
public string DataContext { get; set; }

Property Value

Type: String
Examples
XML
<Button IsVisible="{Binding IsClickable}" DataContext="{Binding CurrentElement, ElementId=Pipette}" />
In example above value of IsClickable property is taken from CurrentElement of Pipette.
See Also