Column.GetValue C# (CSharp) Method

GetValue() public method

public GetValue ( source ) : object
return object
        public object GetValue(TSource source)
        {
            return this.PropertyValueSelector(source);
        }
        ... // possible other properties, like: IsVisible, IsSortable, DisplayFormat?

Usage Example

コード例 #1
0
        public void TestGetValue()
        {
            string value1 = ValuesList.GetValue(0);
            string value2 = ValuesList.GetValue(1);
            string value3 = ValuesList.GetValue(2);

            Assert.AreEqual(value1, "value1");
            Assert.AreEqual(value2, "value2");
            Assert.AreEqual(value3, "value3");
        }
All Usage Examples Of Column::GetValue
Column