Hi!
How to disable row in runtime?
Thank you.
Thank you Stephen!
It`s working for me!
Hi,
The xamWebGrid doesn't offer a property on a Row to disable it. However, its definitely achievable via Styles.
Style s = new Style(typeof(CellControl));
s.Setters.Add(new Setter(CellControl.IsEnabledProperty, false));
s.Setters.Add(new Setter(CellControl.ForegroundProperty, new SolidColorBrush(Colors.LightGray)));
((Row)this.xamWebGrid1.Rows[0]).CellStyle = s;
-SteveZ