开发者

Validation in a cell of Gridview

开发者 https://www.devze.com 2023-04-04 07:02 出处:网络
I am working with RadGridView (WPF) and I need to validate cell compared to other values in binding collection.

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

精彩评论

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