Hi,
I have a question about Control.DataBindings.
How can I bind Button.Enabled to whether if there is any item selected of a ListView? i.e.:
Button.Enabled = ListView.SelectedItems.Count > 0;
I know that I can use ListView.SelectionChanged event to do this.
I'm just wondering how can I use DataBinding to do the same job.
Thanks.
Peter
P.S.: The reason I want to do this is: if Button.Enabled is depending on the conditions of a lot of other controls, I think DataBinding is simpler.