开发者

Validation in a cell of Gridview

I am working with RadGridView (WPF) and I need to validate cell compared to other values in binding collection.

I have a object :

public class MyObject
{ 
    public DateTime DateBegin { get; set;}
    public int Value { get; set;}
}

And if I add a new row in my GridView with existing Date I want to show error message in cell.

I thought to use an ValidationRules in my cell, but i am not sure if i can compare开发者_StackOverflow社区d to with others values in binding list.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜