I have a property like this (I don’t want it to be nullable like int?)
public int id{get;set;}
I have a TextBox that binded to id property
<TextBox Text="{Binding id}"/>
When my windows loaded my TextBox has a value as 0,how can i hide id default value from my TextBox
You could use a binding converter like this: