My ViewModel:
class ViewModel
{
public string FileName {get;set;}
}
and in mine ViewI bind the contents of the label to the ViewModel FileName.
now When I drag a file into my view, how can I update the label property Contentso that the ViewMode is FileNamealso updated via the binding?
Directly setting the label property Contentwill not work, just just clear the binding.
Benny source
share