You can call XWT getDataContext() by providing the Text field
"St Clair Clarke" <firstname.lastname@example.org> wrote in message
> I have managed to bind a Text widget in XWT to a model using a DataContext
> with a StaticResource as a property of a Shell.
> Question: How to I retrieve the model in the code-behind class?