WPF TwoWay Binding to a static class Property
Use the static property binding syntax (which is, as far as I know, available since WPF 4.5): <TextBox Text=”{Binding Path=(engine:ProjectData.Username)}”/> No need to set Mode=”TwoWay”, as that is the default for the TextBox.Text property anyway. Although not explicitly asked for, you may also want to implement property change notification. See this answer for how to … Read more