At compile time DefaultValueAttribute will never influence the generated IL and it won't be go through to initialize the property to that value (see DefaultValue attribute is not working with my Vehicle Property). So your DataContext for "video_length_textbox" is ready to itself, plus your IncrementingTextBox course doesn't have a public https://justpaste.it/dhikp