Perhaps this is what you need -
<TextBox Text="{Binding Source={x:Static local:VieModel}, Path=Test}"></TextBox> <Controls:CustomControl x:Name="myControl" />
Remember to add the markup extension to include the namespace where the ViewModel class exists - xmlns:local="clr-namespace:ViewModel NameSpace"
source share