private void _btnByRow_Click(object sender, System.EventArgs e) { _flex.Clear(); C1.Win.C1FlexGrid.RowCollection row = _flex.Rows; row[1].Caption = "String/Mask"; row[1].DataType = typeof(string); row[1].EditMask = "(999) 999-9999;*"; row[1].StyleFixed = _flex.Styles["Hdr"]; row[2].Caption = "Int/ImgMap"; row[2].DataType = typeof(int); row[2].ImageMap = _imgMap; row[2].ImageAndText = true; row[2].ComboList = "0|1|2|3|4|5"; row[2].StyleFixed = _flex.Styles["Hdr"]; row[3].Caption = "Currency"; row[3].DataType = typeof(decimal); row[3].ComboList = "|0|1,000|100,000|1,000,000"; row[3].StyleFixed = _flex.Styles["Hdr"]; row[4].Caption = "DateTime"; row[4].DataType = typeof(DateTime); row[4].StyleFixed = _flex.Styles["Hdr"]; row[5].Caption = "Aggregate"; row[5].DataType = typeof(C1.Win.C1FlexGrid.AggregateEnum); row[5].StyleFixed = _flex.Styles["Hdr"]; }