constantine
WPF TextBlock Text binding
You see now? It looks for the Placeholder property in the TextboxPlaceholder class, not in the view model. This means that data context is not set properly. Try to put a breakpoint at the constructor of the TextboxPlaceholder. Does it been called? Also it could be helpful if you share your solution on GitHub or somewhere, the devil may hide in other details.
18 replies