Reputation: 1581
I have a DevExpress gridview that loads on my screen. Initially, I do not want it to have a focus on any row. Only after a user selects a row do I want there to be focus. Is there a way to achieve this?
Upvotes: 0
Views: 8808
Reputation: 59
with Mvvm pattern you can try this. I had the same problem and have solved it by overriding the OnPropertyChanged event of the GridView
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e) { base.OnPropertyChanged(e); this.ClearSelection(); }
Upvotes: 0