462:
How can I sort by two-columns, one by date and one by time

exlist1.BeginUpdate();
exlist1.SingleSort = false;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Index") as exontrol.EXLISTLib.Column).FormatColumn = "1 index ``";
	(var_Columns.Add("Date") as exontrol.EXLISTLib.Column).SortType = exontrol.EXLISTLib.SortTypeEnum.SortDate;
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("Time") as exontrol.EXLISTLib.Column);
		var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortTime;
		var_Column.FormatColumn = "time(value)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 6:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(0);
	var_Items.set_Caption(h,1,Convert.ToDateTime("12/31/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,2,Convert.ToDateTime("1/1/2001 6:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exlist1.Layout = "multiplesort=\"C1:1 C2:1\"";
exlist1.EndUpdate();

461:
How can I connect to a DBF file
exlist1.BeginUpdate();
exlist1.ColumnAutoResize = false;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Select * From foxcode.DBF","Provider=vfpoledb;Data Source=C:\\Program Files\\Microsoft Visual FoxPro 9\\",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exlist1.DataSource = (rs as ADODB.Recordset);
exlist1.EndUpdate();

460:
Does your control supports scrolling by touching the screen

exlist1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exlist1.DataSource = (rs as ADODB.Recordset);
exlist1.ContinueColumnScroll = true;
exlist1.ScrollBySingleLine = true;
exlist1.AutoDrag = exontrol.EXLISTLib.AutoDragEnum.exAutoDragScrollOnShortTouch | exontrol.EXLISTLib.AutoDragEnum.exAutoDragScroll;

459:
How can I enlarge the size of the control's scroll bars, for using on touch screens

exlist1.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableBoth;
exlist1.ScrollWidth = 32;
exlist1.ScrollHeight = 32;
exlist1.ScrollButtonHeight = 32;
exlist1.ScrollButtonWidth = 32;

458:
Is there a syntax for conditional formatting of items, based on CellState/CellStateChange

// CellStateChanged event - Fired after cell's state is changed.
private void exlist1_CellStateChanged(object sender,int Item,int ColIndex)
{
	exontrol.EXLISTLib.Items var_Items = exlist1.Items;
		var_Items.set_Caption(Item,2,var_Items.get_CellState(Item,0));
}
//this.exlist1.CellStateChanged += new exontrol.EXLISTLib.exg2antt.CellStateChangedEventHandler(this.exlist1_CellStateChanged);

exlist1.BeginUpdate();
exlist1.ShowFocusRect = false;
exlist1.MarkSearchColumn = false;
exlist1.SelBackMode = exontrol.EXLISTLib.BackModeEnum.exTransparent;
exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("%2 != 0",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToItems;
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.Width = 16;
	var_Column.AllowSizing = false;
exlist1.Columns.Add("Information");
(exlist1.Columns.Add("Hidden") as exontrol.EXLISTLib.Column).Visible = false;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add(""),1,"This is a bit of text associated");
	int h = var_Items.Add("");
	var_Items.set_Caption(h,1,"This is a bit of text associated");
	var_Items.set_CellState(h,0,1);
	var_Items.set_Caption(var_Items.Add(""),1,"This is a bit of text associated");
exlist1.EndUpdate();

457:
How can I display the caption bellow to picture

exlist1.BeginUpdate();
exlist1.ScrollBySingleLine = true;
exlist1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
exlist1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("<c><img>p1</img><br><c>your caption1");
	var_Items.set_CellSingleLine(h,0,false);
	var_Items.set_CaptionFormat(h,0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
	h = var_Items.Add("<c><img>p2</img><br><c>your caption2");
	var_Items.set_CellSingleLine(h,0,false);
	var_Items.set_CaptionFormat(h,0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
exlist1.EndUpdate();

456:
How can I add a vertical padding

exlist1.BeginUpdate();
exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Padding") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellSingleLine,false);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellPaddingLeft,6);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellPaddingRight,6);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellPaddingTop,6);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellPaddingBottom,6);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("padding");
	var_Items.Add("padding");
exlist1.EndUpdate();

455:
How do you embed HTML options into the anchor click string

// AnchorClick event - Occurs when an anchor element is clicked.
private void exlist1_AnchorClick(object sender,string AnchorID,string Options)
{
	System.Diagnostics.Debug.Print( AnchorID.ToString() );
	System.Diagnostics.Debug.Print( Options.ToString() );
}
//this.exlist1.AnchorClick += new exontrol.EXLISTLib.exg2antt.AnchorClickEventHandler(this.exlist1_AnchorClick);

exlist1.BeginUpdate();
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Car") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("<a mazda_1;options for 1>Mazda <b>1</b></a>");
	var_Items.Add("<a mazda_2;options for 2>Mazda <b>2</b></a>");
	var_Items.Add("<a mazda_3;options for 3a>Mazda <b>3.a</b></a>");
	var_Items.Add("<a mazda_3;options for 3b>Mazda <b>3.b</b></a>");
exlist1.EndUpdate();

454:
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 3)

exlist1.BeginUpdate();
exlist1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BVEIQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQCWIAzATGYBRfIUEgjBM6ExwG78e" +
"gBHp/ZpkACIJJAaRjHQdJxGKKMQB9DIhCZpeKhWgkKIJBzOEyBRC4ERBGqNGrsIgLEqWZpnWhaNpWXYTLyBN64LhuK46g53O6wLxvK6hEr2dJ/YBcIAOfghf4NQ7EMRx" +
"LC8Mw3BDvYDkOAABAIgI=");
exlist1.SelBackColor32 = 0x1fffffe;
exlist1.ShowFocusRect = false;
exlist1.Columns.Add("Items");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemBackColor(var_Items.Add("red"),Color.FromArgb(255,0,0));
	var_Items.set_ItemBackColor(var_Items.Add("blue"),Color.FromArgb(0,0,255));
	var_Items.set_ItemBackColor(var_Items.Add("green"),Color.FromArgb(0,255,0));
exlist1.EndUpdate();

453:
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 2)

exlist1.BeginUpdate();
exlist1.SelBackMode = exontrol.EXLISTLib.BackModeEnum.exTransparent;
exlist1.ShowFocusRect = false;
exlist1.Columns.Add("Items");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemBackColor(var_Items.Add("red"),Color.FromArgb(255,0,0));
	var_Items.set_ItemBackColor(var_Items.Add("blue"),Color.FromArgb(0,0,255));
	var_Items.set_ItemBackColor(var_Items.Add("green"),Color.FromArgb(0,255,0));
exlist1.EndUpdate();

452:
I have the rows with different background color, and when I select the item it takes the color of the SelBackColor, and therefore is no longer visible behind the color. Is there any option to make the item's color being visible (method 1)

exlist1.BeginUpdate();
exlist1.SelBackColor = exlist1.BackColor;
exlist1.SelForeColor = exlist1.ForeColor;
exlist1.ShowFocusRect = true;
exlist1.Columns.Add("Items");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemBackColor(var_Items.Add("red"),Color.FromArgb(255,0,0));
	var_Items.set_ItemBackColor(var_Items.Add("blue"),Color.FromArgb(0,0,255));
	var_Items.set_ItemBackColor(var_Items.Add("green"),Color.FromArgb(0,255,0));
exlist1.EndUpdate();

451:
I am using the FormatColumn property, but is it also possible to have a blank field when the value is '0'. I've tried the 'leading zero' flag in the FormatColumn, but that did not work

(exlist1.Columns.Add("Currency") as exontrol.EXLISTLib.Column).FormatColumn = "int(value) != 0 ? (value format `0||3|,`) : ``";
exlist1.Items.Add(123456789);
exlist1.Items.Add(1234);
exlist1.Items.Add(0);
exlist1.Items.Add(2345);

450:
Do you have a VB sample on how to use .FormatColumn to show this number '123456789' like '123,456,789'

(exlist1.Columns.Add("Currency") as exontrol.EXLISTLib.Column).FormatColumn = "value format `0||3|,`";
exlist1.Items.Add(123456789);
exlist1.Items.Add(1234);

449:
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
exlist1.Columns.Add("Default");
exlist1.Items.Add("Item 1");
exlist1.Items.Add("Item 2");
exlist1.OLEDropMode = exontrol.EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
exlist1.set_HTMLPicture("OLEDragDropImage","C:\\Program Files\\Exontrol\\ExList\\Sample\\VB\\UNICODE\\unicode.jpg");

448:
Is it possible to change the image while do OLE Drag and Drop operations

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
exlist1.Columns.Add("Default");
exlist1.Items.Add("Item 1");
exlist1.Items.Add("Item 2");
exlist1.OLEDropMode = exontrol.EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
exlist1.VisualAppearance.Add(1,"C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\EBN\\xpbselIcon.ebn");
exlist1.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exDragDropAfter,0x1000000);
exlist1.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exDragDropBefore,Color.FromArgb(255,255,255));

447:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a snapshot
exlist1.BeginUpdate();
exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exlist1.set_HTMLPicture("p1","c:\\exontrol\\images\\card.png");
exlist1.set_HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
exlist1.AutoDrag = exontrol.EXLISTLib.AutoDragEnum.exAutoDragCopySnapShot;
exlist1.ShowFocusRect = false;
exlist1.DefaultItemHeight = 26;
exlist1.Columns.Add("Task");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("<img>p1:32</img> Group 1"),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CaptionFormat(var_Items.Add("<img>p2:32</img> Group 2"),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
exlist1.EndUpdate();

446:
How can copy and paste the selection to Microsoft Word, any OLE compliant application, as a image

exlist1.BeginUpdate();
exlist1.set_HTMLPicture("p1","c:\\exontrol\\images\\card.png");
exlist1.set_HTMLPicture("p2","c:\\exontrol\\images\\sun.png");
exlist1.HeaderHeight = 24;
exlist1.DefaultItemHeight = 48;
exlist1.DrawGridLines = (exontrol.EXLISTLib.GridLinesEnum)0xfffffffc | exontrol.EXLISTLib.GridLinesEnum.exVLines;
exlist1.GridLineColor = Color.FromArgb(240,240,240);
exlist1.SelBackMode = exontrol.EXLISTLib.BackModeEnum.exTransparent;
exlist1.ColumnAutoResize = false;
exlist1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exlist1.DataSource = (rs as ADODB.Recordset);
exlist1.Columns[0].set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exlist1.Columns[0].FormatColumn = "value + ` <img>p` + (1 + (value mod 3 ) ) + `</img>`";
exlist1.Columns[0].Width = 112;
exlist1.AutoDrag = exontrol.EXLISTLib.AutoDragEnum.exAutoDragCopyImage;
exlist1.SingleSel = false;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_SelectItem(1,true);
	var_Items.set_SelectItem(2,true);
	var_Items.set_SelectItem(3,true);
exlist1.EndUpdate();

445:
How can copy and paste the selection to Microsoft Word, Excel or any OLE compliant application, as a text

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = false;
exlist1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExList\\Sample\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exlist1.DataSource = (rs as ADODB.Recordset);
exlist1.AutoDrag = exontrol.EXLISTLib.AutoDragEnum.exAutoDragCopyText;
exlist1.SingleSel = false;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_SelectItem(1,true);
	var_Items.set_SelectItem(3,true);
	var_Items.set_SelectItem(4,true);
	var_Items.set_SelectItem(5,true);
exlist1.EndUpdate();

444:
How can I change the row's position to another, by drag and drop. Is it possible

exlist1.BeginUpdate();
exlist1.AutoDrag = exontrol.EXLISTLib.AutoDragEnum.exAutoDragPosition;
exlist1.Columns.Add("Task");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
exlist1.EndUpdate();

443:
Does your control support subscript or superscript, in HTML captions

(exlist1.Columns.Add("Column") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exlist1.Items.Add("<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1");

442:
Is there any property I can save and restore automatically the current setting, column position, size, and so on (2)

exlist1.BeginUpdate();
exlist1.Columns.Add("Column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
exlist1.Layout = "Select=\"0\";SingleSort=\"C0:2\";Columns=1";
exlist1.EndUpdate();

441:
Is there any property I can save and restore automatically the current setting, column position, size, and so on (1)

exlist1.BeginUpdate();
exlist1.Columns.Add("Column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
exlist1.Layout = "gBjAAwAAuABmABpABsAB0ABlAByhoAPIAOEPAA9gYABoABQAgUEg0XN4AOcJicKkpujMbjsfkMFk0YhkQgUOjUEl8gjcGO0ok8KMULjEaGMcj08kQAO8oMkTNEtGwAG" +
"QAqc7gUlhh1ABtAEsk9GpEfhElgVcsMupNlnlonlaAFcr0shUsp8QPEtnVJqJhmcIhUMh0QiU5sYAqMngUSuEMw07k8Qv0SgVRrNEuVflF2jF5x9JyNEm0TjQijemyE0" +
"jE3t+YruauoAu4Az1qj9BzRn0UzksSnAA0xDjY6qnAw8OiUQ0dwzN0zWz2t7j8/xURAGNvWH6k8xlEhklhEI0O/6QAgI=";
exlist1.EndUpdate();

440:
Is there any public method to export the selected data

exlist1.Columns.Add("Header");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.set_SelectItem(var_Items.Add("Item 2"),true);
	var_Items.Add("Item 3");
System.Diagnostics.Debug.Print( exlist1.Export("","sel").ToString() );

439:
How can I change the visual aspect of the links in the sort bar

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.0 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExGrid\\Sample\\SAMPLE.MDB",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exlist1.DataSource = (rs as ADODB.Recordset);
exlist1.SortBarHeight = 24;
exlist1.HeaderHeight = 24;
exlist1.BackColorSortBar = Color.FromArgb(240,240,240);
exlist1.BackColorSortBarCaption = exlist1.BackColor;
exlist1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BdsIQAAYAQGKIYBkAKBQAGaAoDDgNw0QwAAxjMK0EwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpA" +
"AWL4tCyMc7QHKAWhrEAbJjgQYJUh+TQAAZCIJRXRQAL/K6rKwnSCQIgkUBpGKdBynEYoYxAfyESCJWyIahWAwoQjUMB1HLQAAxC5kKbkIxyBABFBdVjVeBYG78Bz+ABj" +
"EovbAMEwPBqAMwmIAZDheA4FR4AGhTXKcbxrFaXZSzKckPRoADSZq1Sg5LjDJI2ABqU6ABqNLZtJKsZS4apABrWeZ3Q7QMLdFTwA4PH6EZhxXAYbTVeaPZjQIBAgI");
exlist1.SortBarVisible = true;
exlist1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exontrol.EXLISTLib.Column var_Column = exlist1.Columns[1];
	var_Column.Alignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellBackColor,15790320);
	var_Column.SortOrder = true;
exontrol.EXLISTLib.Column var_Column1 = exlist1.Columns[5];
	var_Column1.Alignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column1.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellBackColor,16119285);
	var_Column1.SortOrder = true;
exlist1.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exSortBarLinkColor,0x1000000);
exlist1.EndUpdate();

438:
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("Car") as exontrol.EXLISTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "MAZDA";
	exontrol.EXLISTLib.Column var_Column1 = (var_Columns.Add("Equipment") as exontrol.EXLISTLib.Column);
		var_Column1.DisplayFilterButton = true;
		var_Column1.DisplayFilterPattern = false;
		var_Column1.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*";
		var_Column1.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "AIR BAG";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag");
	var_Items.set_Caption(var_Items.Add("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_Caption(var_Items.Add("Ford"),1,"Air condition");
	var_Items.set_Caption(var_Items.Add("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"ABS,ESP");
exlist1.ApplyFilter();
exlist1.EndUpdate();

437:
How can I have a case-sensitive filter

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("Car") as exontrol.EXLISTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exFilterDoCaseSensitive | exontrol.EXLISTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "Mazda";
	exontrol.EXLISTLib.Column var_Column1 = (var_Columns.Add("Equipment") as exontrol.EXLISTLib.Column);
		var_Column1.DisplayFilterButton = true;
		var_Column1.DisplayFilterPattern = false;
		var_Column1.CustomFilter = "Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*";
		var_Column1.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exFilterDoCaseSensitive | exontrol.EXLISTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "Air Bag";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag");
	var_Items.set_Caption(var_Items.Add("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_Caption(var_Items.Add("Ford"),1,"Air condition");
	var_Items.set_Caption(var_Items.Add("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"ABS,ESP");
exlist1.ApplyFilter();
exlist1.EndUpdate();

436:
I have several columns, but noticed that the filter is using AND between columns, but I need OR clause for filtering. Is it possible

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Item") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.Filter = "Child 1";
	var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exFilter;
exontrol.EXLISTLib.Column var_Column1 = (exlist1.Columns.Add("Date") as exontrol.EXLISTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.DisplayFilterDate = true;
	var_Column1.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowExclude | exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox | exontrol.EXLISTLib.FilterListEnum.exNoItems;
	var_Column1.Filter = Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")).ToString();
	var_Column1.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exDate;
exlist1.FilterCriteria = "%0 or %1";
exlist1.set_Description(exontrol.EXLISTLib.DescriptionTypeEnum.exFilterBarOr,"<font ;18><fgcolor=FF0000>or</fgcolor></font>");
exlist1.set_Description(exontrol.EXLISTLib.DescriptionTypeEnum.exFilterBarAnd,"<font ;18><fgcolor=FF0000>and</fgcolor></font>");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.set_Caption(var_Items.Add("Child 1"),1,Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(var_Items.Add("Child 2"),1,Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add("Root 2");
	var_Items.set_Caption(var_Items.Add("Child 1"),1,Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(var_Items.Add("Child 2"),1,Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exlist1.ApplyFilter();
exlist1.EndUpdate();

435:
Is it possible exclude the dates being selected in the drop down filter window

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Date") as exontrol.EXLISTLib.Column);
	var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowExclude | exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox | exontrol.EXLISTLib.FilterListEnum.exNoItems;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exlist1.EndUpdate();

434:
How can I display a calendar control inside the drop down filter window

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Date") as exontrol.EXLISTLib.Column);
	var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox | exontrol.EXLISTLib.FilterListEnum.exNoItems;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exlist1.EndUpdate();

433:
Is it possible to include the dates as checkb-boxes in the drop down filter window

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Dates") as exontrol.EXLISTLib.Column);
	var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exDate;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exlist1.ApplyFilter();
exlist1.EndUpdate();

432:
How can I filter items for dates before a specified date

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Dates") as exontrol.EXLISTLib.Column);
	var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exNoItems;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exDate;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exlist1.ApplyFilter();
exlist1.EndUpdate();

431:
Is it possible to filter dates

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Dates") as exontrol.EXLISTLib.Column);
	var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exNoItems;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exlist1.EndUpdate();

430:
Is it possible to change the Exclude field name to something different, in the drop down filter window

exlist1.BeginUpdate();
exlist1.set_Description(exontrol.EXLISTLib.DescriptionTypeEnum.exFilterBarExclude,"Leaving out");
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowExclude | exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
exlist1.EndUpdate();

429:
How can I display the Exclude field in the drop down filter window

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowExclude | exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
exlist1.EndUpdate();

428:
Is it possible to show and ensure the focused item from the control, in the drop down filter window

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowFocusItem | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.set_SelectItem(var_Items.Add("Child 2"),true);
exlist1.EndUpdate();

427:
Is it possible to show only blanks items with no listed items from the control

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowBlanks | exontrol.EXLISTLib.FilterListEnum.exNoItems;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
exlist1.EndUpdate();

426:
How can I include the blanks items in the drop down filter window

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowBlanks | exontrol.EXLISTLib.FilterListEnum.exShowCheckBox;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
exlist1.EndUpdate();

425:
How can I select multiple items in the drop down filter window, using check-boxes

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exShowCheckBox;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
exlist1.EndUpdate();

424:
Is it possible to allow a single item being selected in the drop down filter window

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exSingleSel;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
exlist1.EndUpdate();

423:
How can I display no (All) item in the drop down filter window

exlist1.BeginUpdate();
exlist1.set_Description(exontrol.EXLISTLib.DescriptionTypeEnum.exFilterBarAll,"");
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exNoItems;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
exlist1.EndUpdate();

422:
Is it possible to display no items in the drop down filter window, so only the pattern is visible

exlist1.BeginUpdate();
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Items") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exNoItems;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root 1");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	h = var_Items.Add("Root 2");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
exlist1.EndUpdate();

421:
How can I sort the value gets listed in the drop down filter window

exlist1.MarkSearchColumn = false;
exlist1.set_Description(exontrol.EXLISTLib.DescriptionTypeEnum.exFilterBarAll,"");
exlist1.set_Description(exontrol.EXLISTLib.DescriptionTypeEnum.exFilterBarBlanks,"");
exlist1.set_Description(exontrol.EXLISTLib.DescriptionTypeEnum.exFilterBarNonBlanks,"");
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("P1") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXLISTLib.FilterListEnum.exSortItemsDesc;
exontrol.EXLISTLib.Column var_Column1 = (exlist1.Columns.Add("P2") as exontrol.EXLISTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.FilterList = exontrol.EXLISTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Z3");
	var_Items.set_Caption(h,1,"C");
	var_Items.set_Caption(var_Items.Add("Z1"),1,"B");
	var_Items.set_Caption(var_Items.Add("Z2"),1,"A");

420:
How can I add or change the padding (spaces) for captions in the control's header

exlist1.BeginUpdate();
(exlist1.Columns.Add("Padding-Left") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exHeaderPaddingLeft,18);
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Padding-Right") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exHeaderPaddingRight,18);
	var_Column.HeaderAlignment = exontrol.EXLISTLib.AlignmentEnum.RightAlignment;
exlist1.EndUpdate();

419:
Do you have any plans to add cell spacing and cell padding to the cells

exlist1.BeginUpdate();
exlist1.DrawGridLines = (exontrol.EXLISTLib.GridLinesEnum)0xfffffffc | exontrol.EXLISTLib.GridLinesEnum.exVLines;
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Padding-Left") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellPaddingLeft,18);
(exlist1.Columns.Add("No-Padding") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
(exlist1.Columns.Add("Empty") as exontrol.EXLISTLib.Column).Position = 0;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add("Item A.1"),1,"Item A.2");
	var_Items.set_Caption(var_Items.Add("Item B.1"),1,"Item B.2");
	var_Items.set_Caption(var_Items.Add("Item C.1"),1,"Item C.2");
exlist1.EndUpdate();

418:
Is it possible display numbers in the same format no matter of regional settings in the control panel

exlist1.BeginUpdate();
(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default positive)'");
	h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
	h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default negative)'");
	h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
exlist1.EndUpdate();

417:
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8

exlist1.BeginUpdate();
(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(0.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(0.27);
	var_Items.set_FormatCell(h,0,"(value format '|||||0') +  ' <fgcolor=808080>(Display no leading zeros)'");
exlist1.EndUpdate();

416:
How can I specify the format for negative numbers

exlist1.BeginUpdate();
(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '||||1') +  ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'");
exlist1.EndUpdate();

415:
Is it possible to change the grouping character when display numbers

exlist1.BeginUpdate();
(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '|||-') +  ' <fgcolor=808080>(grouping character is -)'");
exlist1.EndUpdate();

414:
How can I display numbers with 2 digits in each group

exlist1.BeginUpdate();
(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '||2') +  ' <fgcolor=808080>(grouping by 2 digits)'");
exlist1.EndUpdate();

413:
How can I display my numbers using a different decimal separator

exlist1.BeginUpdate();
(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '|;') +  ' <fgcolor=808080>(decimal separator is <b>;</b>)'");
exlist1.EndUpdate();

412:
Is it possible to display the numbers using 3 (three) digits

exlist1.BeginUpdate();
(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format '3') +  ' <fgcolor=808080>(3 digits)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format 2) +  '  <fgcolor=808080>(2 digits)'");
	h = var_Items.Add(100.27);
	var_Items.set_FormatCell(h,0,"(value format 1) +  ' <fgcolor=808080>(1 digit)'");
exlist1.EndUpdate();

411:
Is it possible to format numbers

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exlist1.SelBackColor = exlist1.BackColor;
exlist1.SelForeColor = exlist1.ForeColor;
exlist1.ShowFocusRect = true;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Name");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("A") as exontrol.EXLISTLib.Column);
		var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 36;
		var_Column.FormatColumn = "len(value) ? value + ' +'";
	exontrol.EXLISTLib.Column var_Column1 = (var_Columns.Add("B") as exontrol.EXLISTLib.Column);
		var_Column1.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column1.AllowSizing = false;
		var_Column1.Width = 36;
		var_Column1.FormatColumn = "len(value) ? value + ' +'";
	exontrol.EXLISTLib.Column var_Column2 = (var_Columns.Add("C") as exontrol.EXLISTLib.Column);
		var_Column2.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column2.AllowSizing = false;
		var_Column2.Width = 36;
		var_Column2.FormatColumn = "len(value) ? value + ' ='";
	exontrol.EXLISTLib.Column var_Column3 = (var_Columns.Add("A+B+C") as exontrol.EXLISTLib.Column);
		var_Column3.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column3.Width = 64;
		var_Column3.ComputedField = "dbl(%1)+dbl(%2)+dbl(%3)";
		var_Column3.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )";
		var_Column3.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item");
	var_Items.set_CaptionFormat(h,4,exontrol.EXLISTLib.CaptionFormatEnum.exComputedField);
	h = var_Items.Add("Item 1");
	var_Items.set_Caption(h,1,7);
	var_Items.set_Caption(h,2,3);
	var_Items.set_Caption(h,3,1);
	h = var_Items.Add("Item 2");
	var_Items.set_Caption(h,1,-2);
	var_Items.set_Caption(h,2,-2);
	var_Items.set_Caption(h,3,-4);
	h = var_Items.Add("Item 3");
	var_Items.set_Caption(h,1,2);
	var_Items.set_Caption(h,2,2);
	var_Items.set_Caption(h,3,-4);
exlist1.EndUpdate();

410:
Is it possible background color displayed when the mouse passes over an item

exlist1.BeginUpdate();
exlist1.Columns.Add("Def");
exlist1.HotBackColor = Color.FromArgb(0,0,128);
exlist1.HotForeColor = Color.FromArgb(255,255,255);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item A");
	var_Items.Add("Item B");
	var_Items.Add("Item C");
exlist1.EndUpdate();

409:
Is it possible to specify the cell's value but still want to display some formatted text instead the value

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Name");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("Values") as exontrol.EXLISTLib.Column);
		var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_FormatCell(var_Items.Add("Item A"),1,"`<none>`");
	var_Items.set_Caption(var_Items.Add("Item 1"),1,10);
	var_Items.set_Caption(var_Items.Add("Item 2"),1,15);
	var_Items.set_Caption(var_Items.Add("Item 3"),1,25);
exlist1.EndUpdate();

408:
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Name");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("Values") as exontrol.EXLISTLib.Column);
		var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_FormatCell(var_Items.Add("Item A"),1," ");
	var_Items.set_Caption(var_Items.Add("Item 1"),1,10);
	var_Items.set_Caption(var_Items.Add("Item 2"),1,15);
	var_Items.set_Caption(var_Items.Add("Item 3"),1,25);
exlist1.EndUpdate();

407:
I am using the FormatColumn to format my columns. Is it possible to ignore the SelForeColor, so the foreground color for selected items does not override my settings

// SelectionChanged event - Fired after a new item is selected.
private void exlist1_SelectionChanged(object sender)
{
	exontrol.EXLISTLib.Items var_Items = exlist1.Items;
		var_Items.ClearItemBackColor(-1);
		var_Items.set_ItemBackColor(var_Items.get_SelectedItem(0),Color.FromArgb(128,255,255));
}
//this.exlist1.SelectionChanged += new exontrol.EXLISTLib.exg2antt.SelectionChangedEventHandler(this.exlist1_SelectionChanged);

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exlist1.SelForeColor = exlist1.ForeColor;
exlist1.SelBackColor = exlist1.BackColor;
exlist1.ShowFocusRect = false;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("Format") as exontrol.EXLISTLib.Column);
		var_Column.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )";
		var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(10);
	var_Items.Add(-8);
exlist1.EndUpdate();

406:
Is it possible to change the height for all items at once

exlist1.BeginUpdate();
exlist1.Columns.Add("Items");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
exlist1.EndUpdate();
exlist1.DefaultItemHeight = 12;
exlist1.Items.set_ItemHeight(-1,12);

405:
How can I change the shape of the line to be shown when user drag and drop data over the control

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
exlist1.OLEDropMode = exontrol.EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
exlist1.VisualAppearance.Add(1,"C:\\Program Files\\Exontrol\\ExList\\Sample\\VB\\DragDrop\\insert_bottom.ebn");
exlist1.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exListOLEDropPosition,0x1000000);
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");

404:
How can I highlight the item from cursor when the user drag and drop data over the control

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
exlist1.OLEDropMode = exontrol.EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
exlist1.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exListOLEDropPosition,Color.FromArgb(1,0,0));
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");

403:
How can I start drag and drop items

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
exlist1.BeginUpdate();
exlist1.OLEDropMode = exontrol.EXLISTLib.exOLEDropModeEnum.exOLEDropManual;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
exlist1.EndUpdate();

402:
When I'm trying to show string with "line break" character (vbCrLF) in a textbox, it shows 2 squares. Is there any way to hide these squares

exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Value");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("CellSingleLine = False") as exontrol.EXLISTLib.Column);
		var_Column.ComputedField = "%0";
		var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellSingleLine,false);
	exontrol.EXLISTLib.Column var_Column1 = (var_Columns.Add("FormatColumn/replace CRLF") as exontrol.EXLISTLib.Column);
		var_Column1.ComputedField = "%0";
		var_Column1.FormatColumn = "value replace `\\r\\n` with ``";
	exontrol.EXLISTLib.Column var_Column2 = (var_Columns.Add("FormatColumn/replace TAB,CRLF") as exontrol.EXLISTLib.Column);
		var_Column2.ComputedField = "%0";
		var_Column2.FormatColumn = "(value replace `\\t` with ``) replace `\\r\\n` with ``";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("a\\ta\\r\\nb\\tb");

401:
The Column.Alignment property does not seem to work for cells with images in them. What can be done

exlist1.BeginUpdate();
exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
exlist1.HeaderHeight = 24;
exlist1.DefaultItemHeight = 24;
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Image") as exontrol.EXLISTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 32;
	var_Column.HTMLCaption = "<img>1</img>";
	var_Column.HeaderAlignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column.Alignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exlist1.Columns.Add("Rest");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("<img>1</img>");
	var_Items.Add("<img>2</img>");
	var_Items.Add("<img>3</img>");
exlist1.EndUpdate();

400:
Can I change the format of date to be shown in the control

exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Default");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("Format.1") as exontrol.EXLISTLib.Column);
		var_Column.ComputedField = "%0";
		var_Column.FormatColumn = "dateF(value) replace `/` with `-`";
	exontrol.EXLISTLib.Column var_Column1 = (var_Columns.Add("Format.2") as exontrol.EXLISTLib.Column);
		var_Column1.ComputedField = "%0";
		var_Column1.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
		var_Column1.FormatColumn = "`<b>`+ shortdate(value) + `</b> ` + timeF(value)";
	exontrol.EXLISTLib.Column var_Column2 = (var_Columns.Add("Format.3") as exontrol.EXLISTLib.Column);
		var_Column2.ComputedField = "%0";
		var_Column2.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
		var_Column2.FormatColumn = "( dateF(value) replace `/` with `-` ) + ` <b>`+ ( weekday(value) case ( 0 : `Su`; 1 : `Mo`; 2 : `Tu`; 3 : `We`; 4 : `Th`; 5 : `" +
"Fr`; 6 : `Sa`) )";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("1/2/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

399:
How can I put a picture on the cell's background (method 3)

exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exlist1.VisualAppearance.Add(2,"CP:1 0 0 -164 0");
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("column");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("column") as exontrol.EXLISTLib.Column);
		var_Column.Alignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
		var_Column.HeaderAlignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int i = var_Items.Add(null);
	var_Items.set_SelectableItem(i,false);
	var_Items.set_Caption(i,1,"caption");
	var_Items.set_CellBackColor32(i,1,0x2000000);

398:
How can I put a picture on the cell's background (method 2)

exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("column");
	var_Columns.Add("column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int i = var_Items.Add(null);
	var_Items.set_SelectableItem(i,false);
	var_Items.set_Caption(i,1,"caption");
	var_Items.set_CellBackColor32(i,1,0x1000000);
	var_Items.set_CellPicture(i,1,(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)") as stdole.IPictureDisp));
	var_Items.set_CellPictureWidth(i,1,128);
	var_Items.set_CellPictureHeight(i,1,exlist1.DefaultItemHeight);

397:
How can I put a picture on the cell's background (method 1)

exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("column");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("column") as exontrol.EXLISTLib.Column);
		var_Column.Alignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
		var_Column.HeaderAlignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int i = var_Items.Add(null);
	var_Items.set_SelectableItem(i,false);
	var_Items.set_Caption(i,1,"caption");
	var_Items.set_CellBackColor32(i,1,0x1000000);

396:
How do I access the cells, or how do I get the values in the columns

exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_Caption(h,1,"SubItem 1.1");
	var_Items.set_Caption(h,2,"SubItem 1.2");
	System.Diagnostics.Debug.Print( var_Items.get_Caption(h,2).ToString() );

395:
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)

exlist1.BeginUpdate();
exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1","K1");
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXLISTLib.FormatApplyToEnum)0x1;
exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat1 = exlist1.ConditionalFormats.Add("1","K2");
	var_ConditionalFormat1.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat1.ApplyTo = (exontrol.EXLISTLib.FormatApplyToEnum)0x2;
exlist1.MarkSearchColumn = false;
exlist1.DrawGridLines = (exontrol.EXLISTLib.GridLinesEnum)0xfffffffc | exontrol.EXLISTLib.GridLinesEnum.exVLines;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
	var_Columns.Add("Column 3");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(null);
	var_Items.Add(null);
	var_Items.Add(null);
exlist1.EndUpdate();

394:
How can I get the list of items as they are displayed

exlist1.BeginUpdate();
exlist1.BackColorAlternate = Color.FromArgb(240,240,240);
exlist1.Columns.Add("Names");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Mantel");
	var_Items.Add("Mechanik");
	var_Items.Add("Motor");
	var_Items.Add("Murks");
	var_Items.Add("Märchen");
	var_Items.Add("Möhren");
	var_Items.Add("Mühle");
exlist1.Columns[0].SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending;
exlist1.EndUpdate();
System.Diagnostics.Debug.Print( exlist1.GetItems(1).ToString() );

393:
Is posible to reduce the size of the picture to be shown in the column's caption

exlist1.BeginUpdate();
exlist1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exlist1.HeaderHeight = 48;
(exlist1.Columns.Add("DefaultSize") as exontrol.EXLISTLib.Column).HTMLCaption = "Default-Size <img>pic1</img> Picture";
(exlist1.Columns.Add("CustomSize") as exontrol.EXLISTLib.Column).HTMLCaption = "Custom-Size <img>pic1:16</img> Picture";
exlist1.EndUpdate();

392:
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXLISTLib.FormatApplyToEnum)0x1;
exlist1.Columns.Add("C1");
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("C2") as exontrol.EXLISTLib.Column);
	var_Column.HeaderBold = true;
	var_Column.HTMLCaption = "<fgcolor=FF0000>C2";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add(10),1,11);
	var_Items.set_Caption(var_Items.Add(12),1,13);
exlist1.EndUpdate();

391:
Is it possible to limit the height of item while resizing the row

// AddItem event - Occurs after a new Item is inserted to Items collection.
private void exlist1_AddItem(object sender,int Item)
{
	exlist1.Items.set_ItemMinHeight(Item,18);
	exlist1.Items.set_ItemMaxHeight(Item,72);
}
//this.exlist1.AddItem += new exontrol.EXLISTLib.exg2antt.AddItemEventHandler(this.exlist1_AddItem);

exlist1.BeginUpdate();
exlist1.ItemsAllowSizing = exontrol.EXLISTLib.ItemsAllowSizingEnum.exResizeItem;
exlist1.ScrollBySingleLine = false;
exlist1.BackColorAlternate = Color.FromArgb(240,240,240);
exlist1.Columns.Add("Names");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Mantel");
	var_Items.Add("Mechanik");
	var_Items.Add("Motor");
	var_Items.Add("Murks");
	var_Items.Add("Märchen");
	var_Items.Add("Möhren");
	var_Items.Add("Mühle");
exlist1.Columns[0].SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending;
exlist1.EndUpdate();

390:
Can I specify un-sortable items so they keep their position once the user sorts the columns

(exlist1.Columns.Add("Def") as exontrol.EXLISTLib.Column).SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_SortableItem(var_Items.Add("Unsortable"),false);
	var_Items.Add(1);
	var_Items.Add(2);
	var_Items.Add(3);

389:
The item is not getting selected when clicking the cell's checkbox. What should I do

// CellStateChanged event - Fired after cell's state is changed.
private void exlist1_CellStateChanged(object sender,int ItemIndex,int ColIndex)
{
	exlist1.Items.set_SelectItem(ItemIndex,true);
}
//this.exlist1.CellStateChanged += new exontrol.EXLISTLib.exg2antt.CellStateChangedEventHandler(this.exlist1_CellStateChanged);

(exlist1.Columns.Add("Check") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(0);
	var_Items.Add(1);
	var_Items.Add(2);
	var_Items.Add(3);

388:
Does your control supports multiple lines tooltip

exlist1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exlist1.ToolTipDelay = 1;
(exlist1.Columns.Add("tootip") as exontrol.EXLISTLib.Column).ToolTip = "<br><font Tahoma;10>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, " +
"icons and pictures.<br><br><br><img>pic1</img> picture ... <br><br>";

387:
How can I prevent highlighting the column from the cursor - point

exlist1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BI0IQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDKKUEwsACEIrjKCYVgOHYYRrIMYgBCMJhLEoaZLhEZRQiqDYtRDFQBSDDcPw/EaRZohGaYJ" +
"gEgI=");
exlist1.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exCursorHoverColumn,0x1000000);
(exlist1.Columns.Add("S") as exontrol.EXLISTLib.Column).Width = 32;
(exlist1.Columns.Add("Level 1") as exontrol.EXLISTLib.Column).LevelKey = 1;
(exlist1.Columns.Add("Level 2") as exontrol.EXLISTLib.Column).LevelKey = 1;
(exlist1.Columns.Add("Level 3") as exontrol.EXLISTLib.Column).LevelKey = 1;
(exlist1.Columns.Add("E1") as exontrol.EXLISTLib.Column).Width = 32;
(exlist1.Columns.Add("E2") as exontrol.EXLISTLib.Column).Width = 32;
(exlist1.Columns.Add("E3") as exontrol.EXLISTLib.Column).Width = 32;
(exlist1.Columns.Add("E4") as exontrol.EXLISTLib.Column).Width = 32;

386:
Is there any option to show the tooltip programmatically

// MouseMove event - Occurs when the user moves the mouse.
private void exlist1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y)
{
	exlist1.ShowToolTip(exlist1.get_ItemFromPoint(-1,-1,c,hit).ToString(),"","8","8",null);
}
//this.exlist1.MouseMoveEvent += new exontrol.EXLISTLib.exg2antt.MouseMoveEventHandler(this.exlist1_MouseMoveEvent);

exlist1.BeginUpdate();
exlist1.Columns.Add("Def");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
exlist1.EndUpdate();

385:
Is it possible to prevent covering the colors by selected rows

exlist1.SelBackMode = exontrol.EXLISTLib.BackModeEnum.exTransparent;
exlist1.BackColorAlternate = Color.FromArgb(240,240,240);
exlist1.Columns.Add("Column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
	var_Items.Add("Item 5");

384:
Can I use PNG images to display pictures in the control

exlist1.set_HTMLPicture("pic1","c:\\exontrol\\images\\card.png");
exlist1.HeaderHeight = 48;
(exlist1.Columns.Add("ColumnName") as exontrol.EXLISTLib.Column).HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture";

383:
Does your control support conditional format and computed fields

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exontrol.EXLISTLib.ConditionalFormats var_ConditionalFormats = exlist1.ConditionalFormats;
	exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = var_ConditionalFormats.Add("%1 >4",null);
		var_ConditionalFormat.Bold = true;
		var_ConditionalFormat.StrikeOut = true;
		var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat.ApplyTo = (exontrol.EXLISTLib.FormatApplyToEnum)0x1;
	exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat1 = var_ConditionalFormats.Add("%2 > 4",null);
		var_ConditionalFormat1.Bold = true;
		var_ConditionalFormat1.StrikeOut = true;
		var_ConditionalFormat1.ForeColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat1.ApplyTo = (exontrol.EXLISTLib.FormatApplyToEnum)0x2;
	exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat2 = var_ConditionalFormats.Add("%3 > 4",null);
		var_ConditionalFormat2.Bold = true;
		var_ConditionalFormat2.StrikeOut = true;
		var_ConditionalFormat2.ForeColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat2.ApplyTo = (exontrol.EXLISTLib.FormatApplyToEnum)0x3;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Name");
	exontrol.EXLISTLib.Column var_Column = (var_Columns.Add("A") as exontrol.EXLISTLib.Column);
		var_Column.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 36;
		var_Column.FormatColumn = "len(value) ? value + ' +'";
	exontrol.EXLISTLib.Column var_Column1 = (var_Columns.Add("B") as exontrol.EXLISTLib.Column);
		var_Column1.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column1.AllowSizing = false;
		var_Column1.Width = 36;
		var_Column1.FormatColumn = "len(value) ? value + ' +'";
	exontrol.EXLISTLib.Column var_Column2 = (var_Columns.Add("C") as exontrol.EXLISTLib.Column);
		var_Column2.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column2.AllowSizing = false;
		var_Column2.Width = 36;
		var_Column2.FormatColumn = "len(value) ? value + ' ='";
	exontrol.EXLISTLib.Column var_Column3 = (var_Columns.Add("A+B+C") as exontrol.EXLISTLib.Column);
		var_Column3.SortType = exontrol.EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column3.AllowSizing = false;
		var_Column3.Width = 64;
		var_Column3.ComputedField = "%1+%2+%3";
		var_Column3.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column3.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h1 = var_Items.Add("Item 1");
	var_Items.set_Caption(h1,1,7);
	var_Items.set_Caption(h1,2,3);
	var_Items.set_Caption(h1,3,1);
	h1 = var_Items.Add("Item 2");
	var_Items.set_Caption(h1,1,2);
	var_Items.set_Caption(h1,2,5);
	var_Items.set_Caption(h1,3,12);
	h1 = var_Items.Add("Item 3");
	var_Items.set_Caption(h1,1,2);
	var_Items.set_Caption(h1,2,2);
	var_Items.set_Caption(h1,3,4);
	h1 = var_Items.Add("Item 4");
	var_Items.set_Caption(h1,1,2);
	var_Items.set_Caption(h1,2,9);
	var_Items.set_Caption(h1,3,4);
exlist1.EndUpdate();

382:
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

exlist1.BeginUpdate();
exlist1.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableBoth;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	var_Columns.Add("C4");
	var_Columns.Add("C5");
	var_Columns.Add("C6");
	var_Columns.Add("C7");
	var_Columns.Add("C8");
exlist1.RightToLeft = true;
exlist1.EndUpdate();

381:
Can I display the cell's check box after the text

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Column") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CellHasCheckBox(var_Items.Add("Caption 1"),0,true);
	var_Items.set_CellHasCheckBox(var_Items.Add("Caption 2"),0,true);

380:
Can I change the order of the parts in the cell, as checkbox after the text, and so on

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(exlist1.Columns.Add("Column") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check,icon,icons,picture");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Text");
	var_Items.set_CellImage(h,0,1);
	var_Items.set_CellHasCheckBox(h,0,true);

379:
Can I have an image displayed after the text. Can I get that effect without using HTML content

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(exlist1.Columns.Add("Column") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,icon,check,icons,picture");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Text");
	var_Items.set_CellImage(h,0,1);

378:
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

exlist1.BeginUpdate();
exlist1.ScrollBars = exontrol.EXLISTLib.ScrollBarsEnum.DisableBoth;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	var_Columns.Add("C4");
	var_Columns.Add("C5");
	var_Columns.Add("C6");
	var_Columns.Add("C7");
	var_Columns.Add("C8");
exlist1.RightToLeft = true;
exlist1.EndUpdate();

377:
How can I change the foreground color for a particular column

exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exHeaderForeColor,8439039);
	var_Columns.Add("Column 3");

376:
How can I change the background color for a particular column

exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exHeaderBackColor,8439039);
	var_Columns.Add("Column 3");

375:
How can I display the column using currency format and enlarge the font for certain values

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Currency") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("9.94");
	var_Items.Add("11.94");
	var_Items.Add("1000");

374:
How can I highlight only parts of the cells

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	var_Items.Add("Child 3");

373:
How can I get the number of occurrences of a specified string in the cell

exlist1.Columns.Add("");
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("occurrences") as exontrol.EXLISTLib.Column);
	var_Column.ComputedField = "lower(%0) count 'o'";
	var_Column.FormatColumn = "'contains ' + value + ' of \\'o\\' chars'";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1 oooof the root");
	var_Items.Add("Child 2");
	var_Items.Add("Child 3");

372:
How can I display dates in my format

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Date") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/21/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/24/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

371:
How can I display dates in short format

(exlist1.Columns.Add("Date") as exontrol.EXLISTLib.Column).FormatColumn = "shortdate(value)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

370:
How can I display dates in long format

(exlist1.Columns.Add("Date") as exontrol.EXLISTLib.Column).FormatColumn = "longdate(value)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

369:
How can I display only the right part of the cell

exlist1.Columns.Add("");
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Right") as exontrol.EXLISTLib.Column);
	var_Column.ComputedField = "%0 right 2";
	var_Column.FormatColumn = "'\"' + value + '\"'";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	var_Items.Add("SChild 3");

368:
How can I display only the left part of the cell

exlist1.Columns.Add("");
(exlist1.Columns.Add("Left") as exontrol.EXLISTLib.Column).ComputedField = "%0 left 2";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	var_Items.Add("SChild 3");

367:
How can I display true or false instead 0 and -1

(exlist1.Columns.Add("Boolean") as exontrol.EXLISTLib.Column).FormatColumn = "value != 0 ? 'true' : 'false'";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(true);
	var_Items.Add(false);
	var_Items.Add(true);
	var_Items.Add(0);
	var_Items.Add(1);

366:
How can I display icons or images instead numbers

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Icons") as exontrol.EXLISTLib.Column);
	var_Column.set_Def(exontrol.EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "'The cell displays the icon <img>'+value+'</img> instead ' + value";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(1);
	var_Items.Add(2);
	var_Items.Add(3);

365:
How can I display the column using currency

(exlist1.Columns.Add("Currency") as exontrol.EXLISTLib.Column).FormatColumn = "currency(dbl(value))";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("0");
	var_Items.Add(5);
	var_Items.Add("10000.99");

364:
Is is possible to use HTML tags to display in the filter caption

exlist1.BeginUpdate();
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarCaption = "This is a bit of text being displayed in the filter bar.";
exlist1.Columns.Add("");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
exlist1.EndUpdate();

363:
How can I find the number of items after filtering
exlist1.BeginUpdate();
exlist1.Columns.Add("");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("");
	var_Items.set_Caption(h,0,var_Items.VisibleItemCount);
exlist1.EndUpdate();

362:
How can I change the filter caption

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptWords | exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptContainsAll;
exlist1.FilterBarPromptPattern = "london robert";
exlist1.FilterBarCaption = "<r>Found: ... ";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

361:
While using the filter prompt is it is possible to use wild characters

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptPattern;
exlist1.FilterBarPromptPattern = "lon* seat*";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

360:
How can I list all items that contains any of specified words, not necessary at the beggining

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptStartWords | exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
exlist1.FilterBarPromptPattern = "london davolio";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

359:
How can I list all items that contains any of specified words, not strings

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptWords | exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
exlist1.FilterBarPromptPattern = "london nancy";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

358:
How can I list all items that contains all specified words, not strings

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptWords | exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptContainsAll;
exlist1.FilterBarPromptPattern = "london robert";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

357:
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptCaseSensitive | exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
exlist1.FilterBarPromptPattern = "Anne";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

356:
Is it possible to list only items that ends with any of specified strings

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptEndWith;
exlist1.FilterBarPromptColumns = "0";
exlist1.FilterBarPromptPattern = "Fuller";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

355:
Is it possible to list only items that ends with any of specified strings

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptEndWith;
exlist1.FilterBarPromptColumns = "0";
exlist1.FilterBarPromptPattern = "Fuller";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

354:
Is it possible to list only items that starts with any of specified strings

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptStartWith;
exlist1.FilterBarPromptColumns = "0";
exlist1.FilterBarPromptPattern = "An M";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

353:
Is it possible to list only items that starts with specified string

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptStartWith;
exlist1.FilterBarPromptColumns = "0";
exlist1.FilterBarPromptPattern = "A";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

352:
How can I specify that the list should include any of the seqeunces in the pattern

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
exlist1.FilterBarPromptPattern = "london seattle";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

351:
How can I specify that all sequences in the filter pattern must be included in the list

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptType = exontrol.EXLISTLib.FilterPromptEnum.exFilterPromptContainsAll;
exlist1.FilterBarPromptPattern = "london manager";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

350:
How do I change at runtime the filter prompt

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptPattern = "london manager";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

349:
How do I specify to filter only a single column when using the filter prompt

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPromptColumns = "2,3";
exlist1.FilterBarPromptPattern = "london";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

348:
How do I change the prompt or the caption being displayed in the filter bar

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exlist1.FilterBarPrompt = "changed";
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exlist1.EndUpdate();

347:
How do I enable the filter prompt feature

exlist1.BeginUpdate();
exlist1.ColumnAutoResize = true;
exlist1.ContinueColumnScroll = false;
exlist1.MarkSearchColumn = false;
exlist1.SearchColumnIndex = 1;
exlist1.FilterBarPromptVisible = true;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	(var_Columns.Add("Name") as exontrol.EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
exlist1.EndUpdate();

346:
Is it possible to change the style for the vertical or horizontal grid lines, in the list area

exlist1.BeginUpdate();
exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
exlist1.GridLineStyle = exontrol.EXLISTLib.GridLinesStyleEnum.exGridLinesVSolid | exontrol.EXLISTLib.GridLinesStyleEnum.exGridLinesHDot4;
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exlist1.Columns.Add("C3");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_Caption(h,1,"SubItem 1.2");
	var_Items.set_Caption(h,2,"SubItem 1.3");
	h = var_Items.Add("Item 2");
	var_Items.set_Caption(h,1,"SubItem 2.2");
	var_Items.set_Caption(h,2,"SubItem 2.3");
exlist1.EndUpdate();

345:
Is it possible to change the style for the grid lines, for instance to be solid not dotted

exlist1.BeginUpdate();
exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
exlist1.GridLineStyle = exontrol.EXLISTLib.GridLinesStyleEnum.exGridLinesSolid;
exlist1.Columns.Add("Column");
exlist1.EndUpdate();

344:
How can I filter programatically using more columns

exlist1.BeginUpdate();
exlist1.MarkSearchColumn = false;
exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Car");
	var_Columns.Add("Equipment");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag");
	var_Items.set_Caption(var_Items.Add("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_Caption(var_Items.Add("Ford"),1,"Air condition");
	var_Items.set_Caption(var_Items.Add("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"ABS,ESP");
exontrol.EXLISTLib.Column var_Column = exlist1.Columns["Car"];
	var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Mazda";
exontrol.EXLISTLib.Column var_Column1 = exlist1.Columns["Equipment"];
	var_Column1.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exPattern;
	var_Column1.Filter = "*ABS*|*ESP*";
exlist1.ApplyFilter();
exlist1.EndUpdate();

343:
How do I find an item based on my extra data

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.set_ItemData(var_Items.Add("Item 3"),1234);
	var_Items.Add("Item 4");
	var_Items.set_ItemBold(var_Items.get_FindItemData(1234,null),true);

342:
How do I print the control's content

exlist1.BeginUpdate();
exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Currency") as exontrol.EXLISTLib.Column).ComputedField = "len(%0) ? currency(dbl(%0)) : ''";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("0");
	var_Items.set_ItemBackColor(var_Items.Add(null),Color.FromArgb(255,128,128));
	var_Items.Add("10000.99");
exlist1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.PrintExt = (exlist1 as exontrol.EXLISTLib.exlist);
	var_Print.Preview();

341:
How can I display the currency only for not empty cells
exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Currency") as exontrol.EXLISTLib.Column).ComputedField = "len(%0) ? currency(dbl(%0)) : ''";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("0");
	var_Items.set_ItemBackColor(var_Items.Add(null),Color.FromArgb(255,128,128));
	var_Items.Add("10000.99");

340:
Is there a function to display the number of days between two date including the number of hours

(exlist1.Columns.Add("Start") as exontrol.EXLISTLib.Column).Width = 32;
exlist1.Columns.Add("End");
(exlist1.Columns.Add("Duration") as exontrol.EXLISTLib.Column).ComputedField = "2:=((1:=int(0:= date(%1)-date(%0))) = 0 ? '' : str(=:1) + ' day(s)') + ( 3:=round(24*(=:0-floor(=:0))) ? (len(=:2) ? ' and ' : " +
"'') + =:3 + ' hour(s)' : '' )";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

339:
Is there a function to display the number of days between two date including the number of hours

exlist1.Columns.Add("Start");
exlist1.Columns.Add("End");
(exlist1.Columns.Add("Duration") as exontrol.EXLISTLib.Column).ComputedField = "\"D \" + int(date(%1)-date(%0)) + \" H \" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%0))))";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/14/2001 23:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

338:
How can I display the number of days between two dates

exlist1.Columns.Add("Start");
exlist1.Columns.Add("End");
(exlist1.Columns.Add("Duration") as exontrol.EXLISTLib.Column).ComputedField = "(date(%1)-date(%0)) + ' days'";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("3/14/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("4/11/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

337:
How can I get second part of the date

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Second") as exontrol.EXLISTLib.Column).ComputedField = "sec(date(%0))";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:01:22",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:23:01",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:11:59",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

336:
How can I get minute part of the date

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Minute") as exontrol.EXLISTLib.Column).ComputedField = "min(date(%0))";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:01:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:23:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:11:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

335:
How can I check the hour part only so I know it was afternoon

exlist1.ConditionalFormats.Add("hour(%0)>=12",null).Bold = true;
exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Hour") as exontrol.EXLISTLib.Column).ComputedField = "hour(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

334:
What about a function to get the day in the week, or days since Sunday

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("WeekDay") as exontrol.EXLISTLib.Column).ComputedField = "weekday(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

333:
Is there any function to get the day of the year or number of days since January 1st

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Day since January 1st") as exontrol.EXLISTLib.Column).ComputedField = "yearday(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

332:
How can I display only the day of the date

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Day") as exontrol.EXLISTLib.Column).ComputedField = "day(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

331:
How can I display only the month of the date

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Month") as exontrol.EXLISTLib.Column).ComputedField = "month(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

330:
How can I get only the year part from a date expression

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Year") as exontrol.EXLISTLib.Column).ComputedField = "year(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

329:
Can I convert the expression to date

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Date") as exontrol.EXLISTLib.Column).ComputedField = "date(dbl(%0))";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("30000.99");
	var_Items.Add("3561.23");
	var_Items.Add("1232.34");

328:
Can I convert the expression to a number, double or float

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Number + 2") as exontrol.EXLISTLib.Column).ComputedField = "dbl(%0)+2";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

327:
How can I display dates in long format

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("LongFormat") as exontrol.EXLISTLib.Column).ComputedField = "longdate(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

326:
How can I display dates in short format

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("ShortFormat") as exontrol.EXLISTLib.Column).ComputedField = "shortdate(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

325:
How can I display the time only of a date expression

exlist1.Columns.Add("Date");
(exlist1.Columns.Add("Time") as exontrol.EXLISTLib.Column).ComputedField = "'time is:' + time(date(%0))";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

324:
Is there any function to display currencies, or money formatted as in the control panel

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Currency") as exontrol.EXLISTLib.Column).ComputedField = "currency(dbl(%0))";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("10000.99");

323:
How can I convert the expression to a string so I can look into the date string expression for month's name

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Str") as exontrol.EXLISTLib.Column).ComputedField = "str(%0) + ' AA'";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

322:
Can I display the absolute value or positive part of the number

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Abs") as exontrol.EXLISTLib.Column).ComputedField = "abs(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

321:
Is there any function to get largest number with no fraction part that is not greater than the value

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Floor") as exontrol.EXLISTLib.Column).ComputedField = "floor(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

320:
Is there any function to round the values base on the .5 value

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Round") as exontrol.EXLISTLib.Column).ComputedField = "round(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

319:
How can I get or display the integer part of the cell

exlist1.Columns.Add("Number");
(exlist1.Columns.Add("Int") as exontrol.EXLISTLib.Column).ComputedField = "int(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

318:
How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )

(exlist1.Columns.Add("") as exontrol.EXLISTLib.Column).ComputedField = "proper(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("item item");
	var_Items.Add("item item");
	var_Items.Add("item item");

317:
Is there any option to display cells in uppercase

(exlist1.Columns.Add("") as exontrol.EXLISTLib.Column).ComputedField = "upper(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4 - child");

316:
Is there any option to display cells in lowercase

(exlist1.Columns.Add("") as exontrol.EXLISTLib.Column).ComputedField = "lower(%0)";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4 - child");

315:
How can I mark the cells that has a specified type, ie strings only

exlist1.ConditionalFormats.Add("type(%0) = 8",null).ForeColor = Color.FromArgb(255,0,0);
exlist1.Columns.Add("");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add(2);
	var_Items.Add("Item 4 - child");

314:
How can I bold the items that contains data or those who displays empty strings

exlist1.ConditionalFormats.Add("not len(%1)=0",null).Bold = true;
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	int hC = var_Items.Add("Item 3");
	var_Items.set_Caption(hC,1,"1");
	var_Items.Add("Item 3");

313:
Can I change the background color for items or cells that contains a specified string

exlist1.ConditionalFormats.Add("%0 contains 'hi'",null).BackColor = Color.FromArgb(255,0,0);
exlist1.Columns.Add("");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4 - child");

312:
Is there any option to change the fore color for cells or items that ends with a specified string

exlist1.ConditionalFormats.Add("%0 endwith '22'",null).ForeColor = Color.FromArgb(255,0,0);
exlist1.Columns.Add("");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 1.22");
	var_Items.Add("Item 2.22");

311:
How can I highlight the cells or items that starts with a specified string

exlist1.ConditionalFormats.Add("%0 startwith 'C'",null).Underline = true;
exlist1.Columns.Add("");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("CItem 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");

310:
How can I change the foreground color for a particular column

exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exHeaderForeColor,8439039);
	var_Columns.Add("Column 3");

309:
How can I change the background color for a particular column

exontrol.EXLISTLib.Columns var_Columns = exlist1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exHeaderBackColor,8439039);
	var_Columns.Add("Column 3");

308:
How can I display the column's header using multiple lines

exlist1.HeaderHeight = 128;
exlist1.HeaderSingleLine = false;
(exlist1.Columns.Add("This is just a column that should break the header.") as exontrol.EXLISTLib.Column).Width = 32;
exlist1.Columns.Add("This is just another column that should break the header.");

307:
How can I align the text/caption on the scroll bar

exlist1.set_ScrollPartCaption(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLowerBackPart,"left");
exlist1.set_ScrollPartCaptionAlignment(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exLowerBackPart,exontrol.EXLISTLib.AlignmentEnum.LeftAlignment);
exlist1.set_ScrollPartCaption(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exUpperBackPart,"right");
exlist1.set_ScrollPartCaptionAlignment(exontrol.EXLISTLib.ScrollBarEnum.exHScroll,exontrol.EXLISTLib.ScrollPartEnum.exUpperBackPart,exontrol.EXLISTLib.AlignmentEnum.RightAlignment);
exlist1.ColumnAutoResize = false;
exlist1.Columns.Add(1.ToString());
exlist1.Columns.Add(2.ToString());
exlist1.Columns.Add(3.ToString());
exlist1.Columns.Add(4.ToString());
exlist1.Columns.Add(5.ToString());
exlist1.Columns.Add(6.ToString());

306:
How do I select the next row/item

exlist1.Columns.Add("Column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_SelectItem(var_Items.get_NextVisibleItem(var_Items.FocusItem),true);

305:
How do I enable resizing ( changing the height ) the items at runtime

exlist1.ItemsAllowSizing = exontrol.EXLISTLib.ItemsAllowSizingEnum.exResizeItem;
exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exHLines;
exlist1.ScrollBySingleLine = true;
exlist1.Columns.Add("Column");
exlist1.Items.Add("Item 1");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemHeight(var_Items.Add("Item 2"),48);
exlist1.Items.Add("Item 3");
exlist1.Items.Add("Item 4");

304:
How do I enable resizing all the items at runtime

exlist1.ItemsAllowSizing = exontrol.EXLISTLib.ItemsAllowSizingEnum.exResizeAllItems;
exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exHLines;
exlist1.Columns.Add("Column");
exlist1.Items.Add("Item 1");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemHeight(var_Items.Add("Item 2"),48);
exlist1.Items.Add("Item 3");

303:
How can I remove the filter

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Column") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exBlanks;
exlist1.ApplyFilter();
exlist1.ClearFilter();

302:
How do I change the control's border, using your EBN files

exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exlist1.Appearance = (exontrol.EXLISTLib.AppearanceEnum)0x1000000;

301:
Can I change the style for break or divider line

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	int h = var_Items.Add(null);
	var_Items.set_ItemBreak(h,exontrol.EXLISTLib.BreakLineEnum.DoubleLine);
	var_Items.set_SelectableItem(h,false);
	var_Items.Add("Item 3");

300:
Can I add any break or divider line

exlist1.ScrollBySingleLine = false;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	int h = var_Items.Add(null);
	var_Items.set_ItemBreak(h,exontrol.EXLISTLib.BreakLineEnum.SingleLine);
	var_Items.set_SelectableItem(h,false);
	var_Items.set_ItemHeight(h,6);
	var_Items.Add("Item 3");

299:
Can I change the default border of the tooltip, using your EBN files

exlist1.ToolTipDelay = 1;
exlist1.ToolTipWidth = 364;
exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exlist1.set_Background32(exontrol.EXLISTLib.BackgroundPartEnum.exToolTipAppearance,0x1000000);
(exlist1.Columns.Add("tootip") as exontrol.EXLISTLib.Column).ToolTip = "this is a tooltip assigned to a column";

298:
Can I change the background color for the tooltip

exlist1.ToolTipDelay = 1;
exlist1.ToolTipWidth = 364;
exlist1.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exToolTipBackColor,Color.FromArgb(255,0,0));
(exlist1.Columns.Add("tootip") as exontrol.EXLISTLib.Column).ToolTip = "this is a tooltip assigned to a column";

297:
Does the tooltip support HTML format

exlist1.ToolTipDelay = 1;
exlist1.ToolTipWidth = 364;
(exlist1.Columns.Add("tootip") as exontrol.EXLISTLib.Column).ToolTip = "<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>column</fgcolor>";

296:
Can I change the forecolor for the tooltip

exlist1.ToolTipDelay = 1;
exlist1.ToolTipWidth = 364;
exlist1.set_Background(exontrol.EXLISTLib.BackgroundPartEnum.exToolTipForeColor,Color.FromArgb(255,0,0));
(exlist1.Columns.Add("tootip") as exontrol.EXLISTLib.Column).ToolTip = "this is a tooltip assigned to a column";

295:
Can I change the foreground color for the tooltip

exlist1.ToolTipDelay = 1;
exlist1.ToolTipWidth = 364;
(exlist1.Columns.Add("tootip") as exontrol.EXLISTLib.Column).ToolTip = "<fgcolor=FF0000>this is a tooltip assigned to a column</fgcolor>";

294:
Is there any function to limit the height of the items when I display it using multiple lines

exlist1.ScrollBySingleLine = true;
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"This is bit of text that's shown on multiple lines. This is bit of text that's shown on multiple lines.");
	var_Items.set_CellSingleLine(h,1,false);
	var_Items.set_ItemMaxHeight(h,48);

293:
Why I cannot center my cells in the column

exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
(exlist1.Columns.Add("Default") as exontrol.EXLISTLib.Column).Alignment = exontrol.EXLISTLib.AlignmentEnum.CenterAlignment;
exlist1.Items.Add("item 1");
exlist1.Items.Add("item 2");
exlist1.Items.Add("item 3");

292:
How can I align the cell to the left, center or to the right

exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CellHAlignment(var_Items.Add("left"),0,exontrol.EXLISTLib.AlignmentEnum.LeftAlignment);
	var_Items.set_CellHAlignment(var_Items.Add("center"),0,exontrol.EXLISTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellHAlignment(var_Items.Add("right"),0,exontrol.EXLISTLib.AlignmentEnum.RightAlignment);

291:
How do I apply HTML format to a cell

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exlist1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
exlist1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("The following item shows some of the HTML format supported:");
	var_Items.set_CellHAlignment(h,0,exontrol.EXLISTLib.AlignmentEnum.CenterAlignment);
	h = var_Items.Add("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <" +
"u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolo" +
"r</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> ");
	var_Items.set_CaptionFormat(h,0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,false);

290:
How can I change the font for a cell

exlist1.Columns.Add("Default");
exlist1.Items.Add("std font");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("this <font tahoma;12>is a bit of text with</font> a different font"),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);

289:
How can I change the font for a cell

exlist1.Columns.Add("Default");
exlist1.Items.Add("default font");
stdole.IFontDisp f = new stdole.StdFont();
	f.Name = "Tahoma";
	f.Size = 12;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CellFont(var_Items.Add("new font"),0,(f as stdole.IFontDisp));

288:
How can I change the font for entire item

exlist1.Columns.Add("Default");
exlist1.Items.Add("default font");
stdole.IFontDisp f = new stdole.StdFont();
	f.Name = "Tahoma";
	f.Size = 12;
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemFont(var_Items.Add("new font"),(f as stdole.IFontDisp));

287:
How do I vertically align a cell

exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
(exlist1.Columns.Add("MultipleLine") as exontrol.EXLISTLib.Column).set_Def(exontrol.EXLISTLib.DefColumnEnum.exCellSingleLine,false);
exlist1.Columns.Add("VAlign");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("This is a bit of long text that should break the line");
	var_Items.set_Caption(h,1,"top");
	var_Items.set_CellVAlignment(h,1,exontrol.EXLISTLib.VAlignmentEnum.TopAlignment);
	h = var_Items.Add("This is a bit of long text that should break the line");
	var_Items.set_Caption(h,1,"middle");
	var_Items.set_CellVAlignment(h,1,exontrol.EXLISTLib.VAlignmentEnum.MiddleAlignment);
	h = var_Items.Add("This is a bit of long text that should break the line");
	var_Items.set_Caption(h,1,"bottom");
	var_Items.set_CellVAlignment(h,1,exontrol.EXLISTLib.VAlignmentEnum.BottomAlignment);

286:
How can I change the position of an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.set_ItemPosition(var_Items.Add("Item 3"),0);

285:
How do I find an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_ItemBold(var_Items.get_FindItem("Item 2",0,null),true);

284:
How can I insert a hyperlink or an anchor element

exlist1.Columns.Add("Column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("Just an <a1>anchor</a> element ..."),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
exontrol.EXLISTLib.Items var_Items1 = exlist1.Items;
	var_Items1.set_CaptionFormat(var_Items1.Add("Just another <a2>anchor</a> element ..."),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);

283:
How do I find the handle of the item based on its index

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_ItemBold(1,true);

282:
How can I find the cell being clicked in a radio group

exlist1.MarkSearchColumn = false;
exlist1.SelBackColor = Color.FromArgb(255,255,128);
exlist1.SelForeColor = Color.FromArgb(0,0,0);
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exlist1.Columns.Add("C3");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Radio 1");
	var_Items.set_CellHasRadioButton(h,1,true);
	var_Items.set_CellRadioGroup(h,1,1234);
	var_Items.set_Caption(h,2,"Radio 2");
	var_Items.set_CellHasRadioButton(h,2,true);
	var_Items.set_CellRadioGroup(h,2,1234);
	var_Items.set_CellState(h,1,1);
	var_Items.CellChecked(1234,i,c);
	var_Items.set_CellBold(i,c,true);

281:
Can I let the user to resize at runtime the specified item

exlist1.ScrollBySingleLine = true;
exlist1.DrawGridLines = exontrol.EXLISTLib.GridLinesEnum.exAllLines;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemAllowSizing(var_Items.Add("resizable item"),true);
	var_Items.Add("not resizable item");

280:
How can I change the size ( width, height ) of the picture

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_CellPicture(h,0,(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp));
	var_Items.set_CellPictureWidth(h,0,24);
	var_Items.set_CellPictureHeight(h,0,24);
	var_Items.set_ItemHeight(h,32);
	h = var_Items.Add("Item 2");
	var_Items.set_CellPicture(h,0,(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp));
	var_Items.set_ItemHeight(h,48);

279:
How can I find the number or the count of selected items

exlist1.SingleSel = false;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);
	var_Items.set_SelectItem(var_Items.get_NextVisibleItem(var_Items.FirstVisibleItem),true);
	var_Items.Add(var_Items.SelectCount);

278:
How do I unselect an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_SelectItem(h,false);

277:
How do I find the selected item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_SelectItem(h,true);
	var_Items.set_ItemBold(var_Items.get_SelectedItem(0),true);

276:
How do I un select all items

exlist1.SingleSel = false;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.UnselectAll();

275:
How do I select multiple items

exlist1.SingleSel = false;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);
	var_Items.set_SelectItem(var_Items.get_NextVisibleItem(var_Items.FirstVisibleItem),true);

274:
How do I select all items

exlist1.SingleSel = false;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.SelectAll();

273:
How do I select an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_SelectItem(var_Items.get_NextVisibleItem(var_Items.FocusItem),true);

272:
Can I display a button with some picture or icon inside

exlist1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1," Button <img>p1</img> ");
	var_Items.set_CaptionFormat(h,1,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,1,exontrol.EXLISTLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);
	var_Items.set_ItemHeight(h,48);

271:
Can I display a button with some picture or icon inside

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1," Button <img>1</img> ");
	var_Items.set_CaptionFormat(h,1,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,1,exontrol.EXLISTLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);

270:
Can I display a button with some icon inside

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1," <img>1</img> ");
	var_Items.set_CaptionFormat(h,1,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h,1,exontrol.EXLISTLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);

269:
How can I assign multiple icon/picture to a cell

exlist1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
exlist1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("text <img>p1</img> another picture <img>p2</img> and so on");
	var_Items.set_CaptionFormat(h,0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);
	var_Items.set_CellPicture(h,0,(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)") as stdole.IPictureDisp));
	var_Items.set_ItemHeight(h,48);
	var_Items.Add("Item 2");

268:
How can I assign an icon/picture to a cell

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_CellPicture(h,0,(exlist1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp));
	var_Items.set_ItemHeight(h,48);
	var_Items.Add("Item 2");

267:
How can I assign multiple icons/pictures to a cell

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item <img>1</img> 1, <img>2</img>, ... and so on ");
	var_Items.set_CaptionFormat(h,0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);

266:
How can I assign multiple icons/pictures to a cell

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_CellImages(h,0,"1,2,3");

265:
How can I assign an icon/picture to a cell

exlist1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_CellImage(h,0,1);
	var_Items.set_CellImage(var_Items.Add("Item 2"),0,2);
	var_Items.set_CellImage(var_Items.Add("Item 3"),0,3);

264:
How can I display a button inside the item or cell

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1," Button 1 ");
	var_Items.set_CellHAlignment(h,1,exontrol.EXLISTLib.AlignmentEnum.RightAlignment);
	var_Items.set_CellHasButton(h,1,true);
	h = var_Items.Add("Cell 2");
	var_Items.set_Caption(h,1," Button 2 ");
	var_Items.set_CellHAlignment(h,1,exontrol.EXLISTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellHasButton(h,1,true);

263:
How can I change the state of a radio button

exlist1.MarkSearchColumn = false;
exlist1.SelBackColor = Color.FromArgb(255,255,128);
exlist1.SelForeColor = Color.FromArgb(0,0,0);
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exlist1.Columns.Add("C3");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Radio 1");
	var_Items.set_CellHasRadioButton(h,1,true);
	var_Items.set_CellRadioGroup(h,1,1234);
	var_Items.set_Caption(h,2,"Radio 2");
	var_Items.set_CellHasRadioButton(h,2,true);
	var_Items.set_CellRadioGroup(h,2,1234);
	var_Items.set_CellState(h,1,1);

262:
How can I assign a radio button to a cell

exlist1.MarkSearchColumn = false;
exlist1.SelBackColor = Color.FromArgb(255,255,128);
exlist1.SelForeColor = Color.FromArgb(0,0,0);
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exlist1.Columns.Add("C3");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Radio 1");
	var_Items.set_CellHasRadioButton(h,1,true);
	var_Items.set_CellRadioGroup(h,1,1234);
	var_Items.set_Caption(h,2,"Radio 2");
	var_Items.set_CellHasRadioButton(h,2,true);
	var_Items.set_CellRadioGroup(h,2,1234);
	var_Items.set_CellState(h,1,1);

261:
How can I change the state of a checkbox

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Check Box");
	var_Items.set_CellHasCheckBox(h,1,true);
	var_Items.set_CellState(h,1,1);

260:
How can I assign a checkbox to a cell

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Check Box");
	var_Items.set_CellHasCheckBox(h,1,true);

259:
How can I display an item or a cell on multiple lines

exlist1.ScrollBySingleLine = true;
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"This is bit of text that's shown on multiple lines");
	var_Items.set_CellSingleLine(h,1,false);

258:
How can I assign a tooltip to a cell

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"tooltip");
	var_Items.set_CellToolTip(h,1,"This is bit of text that's shown when the user hovers the cell");

257:
How can I associate an extra data to a cell

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Cell 2");
	var_Items.set_CellData(h,1,"your extra data");

256:
How do I enable or disable a cell

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Cell 2");
	var_Items.set_CellEnabled(h,1,false);

255:
How do I change the cell's foreground color

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Cell 2");
	var_Items.set_CellForeColor(h,1,Color.FromArgb(255,0,0));

254:
How do I change the visual effect for the cell, using your EBN files

exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Cell 2");
	var_Items.set_CellBackColor32(h,1,0x1000000);

253:
How do I change the cell's background color

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Cell 1");
	var_Items.set_Caption(h,1,"Cell 2");
	var_Items.set_CellBackColor(h,1,Color.FromArgb(255,0,0));

252:
How do I change the caption or value for a particular cell

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add("Cell 1"),1,"Cell 2");

251:
How do I retrieve the focused item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_ItemBold(var_Items.FocusItem,true);

250:
How do I enumerate the visible items

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("Item 1");
	h = var_Items.Add("Item 2");
	var_Items.set_ItemBold(var_Items.FirstVisibleItem,true);
	var_Items.set_ItemBold(var_Items.get_NextVisibleItem(var_Items.FirstVisibleItem),true);

249:
How can I make an item unselectable, or not selectable

exlist1.Columns.Add("Column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("unselectable - you can't get selected");
	var_Items.set_SelectableItem(h,false);
	var_Items.Add("selectable");

248:
How can I hide or show an item

exlist1.Columns.Add("Column");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	int h = var_Items.Add("hidden");
	var_Items.set_ItemHeight(h,0);
	var_Items.set_SelectableItem(h,false);
	var_Items.Add("visible");

247:
How can I change the height for all items

exlist1.DefaultItemHeight = 32;
exlist1.Columns.Add("Column");
exlist1.Items.Add("One");
exlist1.Items.Add("Two");

246:
How do I change the height of an item

exlist1.ScrollBySingleLine = true;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemHeight(var_Items.Add("height"),128);
exlist1.Items.Add("enabled");

245:
How do I disable or enable an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_EnableItem(var_Items.Add("disabled"),false);
exlist1.Items.Add("enabled");

244:
How do I display as strikeout a cell

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CellStrikeOut(var_Items.Add("strikeout"),0,true);

243:
How do I display as strikeout a cell or an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("gets <s>strikeout</s> only a portion of text"),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);

242:
How do I display as strikeout an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemStrikeOut(var_Items.Add("strikeout"),true);

241:
How do I underline a cell

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CellUnderline(var_Items.Add("underline"),0,true);

240:
How do I underline a cell or an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("gets <u>underline</u> only a portion of text"),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);

239:
How do I underline an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemUnderline(var_Items.Add("underline"),true);

238:
How do I display as italic a cell

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CellItalic(var_Items.Add("italic"),0,true);

237:
How do I display as italic a cell or an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("gets <i>italic</i> only a portion of text"),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);

236:
How do I display as italic an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemItalic(var_Items.Add("italic"),true);

235:
How do I bold a cell

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CellBold(var_Items.Add("bold"),0,true);

234:
How do I bold a cell or an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_CaptionFormat(var_Items.Add("gets <b>bold</b> only a portion of text"),0,exontrol.EXLISTLib.CaptionFormatEnum.exHTML);

233:
How do I bold an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemBold(var_Items.Add("bold"),true);

232:
How do I change the foreground color for the item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemForeColor(var_Items.Add("Item"),Color.FromArgb(255,0,0));

231:
How do I change the visual appearance for the item, using your EBN technology

exlist1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemBackColor32(var_Items.Add("Item"),0x1000000);

230:
How do I change the background color for the item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemBackColor(var_Items.Add("Item"),Color.FromArgb(255,0,0));

229:
How do I associate an extra data to an item

exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_ItemData(var_Items.Add("item"),"your extra data");

228:
How do I programmatically edit a cell

// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
private void exlist1_Click(object sender)
{
	// Items.Edit(Items.FocusItem,0)
}
//this.exlist1.Click += new exontrol.EXLISTLib.exg2antt.ClickEventHandler(this.exlist1_Click);

exlist1.AllowEdit = true;
exlist1.Columns.Add("Default");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.Add("");

227:
How can I ensure or scroll the control so the item fits the control's client area

exlist1.Columns.Add("Default");
int h = exlist1.Items.Add("item");
exlist1.Items.EnsureVisibleItem(h);

226:
How can I remove or delete all items
exlist1.Columns.Add("Default");
exlist1.Items.Add("removed item");
exlist1.Items.RemoveAll();

225:
How can I remove or delete an item
exlist1.Columns.Add("Default");
int h = exlist1.Items.Add("removed item");
exlist1.Items.Remove(h);

224:
How can I add or insert an item

exlist1.Columns.Add("C1");
exlist1.Columns.Add("C2");
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add("Cell 1"),1,"Cell 2");
	int h = var_Items.Add("Cell 3");
	var_Items.set_Caption(h,1,"Cell 4");

223:
How can I add or insert an item

exlist1.Columns.Add("Default");
exlist1.Items.Add("new item");

222:
How can I get the columns as they are shown in the control's sortbar
Object var_Object = (exlist1.Columns.get_ItemBySortPosition(0) as Object);

221:
How can I access the properties of a column

exlist1.Columns.Add("A");
exlist1.Columns["A"].HeaderBold = true;

220:
How can I remove all the columns
exlist1.Columns.Clear();

219:
How can I remove a column
exlist1.Columns.Remove("A");

218:
How can I get the number or the count of columns
int var_Count = exlist1.Columns.Count;

217:
How can I change the font for all cells in the entire column

stdole.IFontDisp f = new stdole.StdFont();
	f.Name = "Tahoma";
	f.Size = 12;
exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Font = (f as stdole.IFontDisp);
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToColumns;
exlist1.Columns.Add("Column");
exlist1.Items.Add(0);
exlist1.Items.Add(1);

216:
How can I change the background color for all cells in the column

exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToColumns;
exlist1.Columns.Add("Column");
exlist1.Items.Add(0);
exlist1.Items.Add(1);

215:
How can I change the foreground color for all cells in the column

exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToColumns;
exlist1.Columns.Add("Column");
exlist1.Items.Add(0);
exlist1.Items.Add(1);

214:
How can I show as strikeout all cells in the column

exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.StrikeOut = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToColumns;
exlist1.Columns.Add("Column");
exlist1.Items.Add(0);
exlist1.Items.Add(1);

213:
How can I underline all cells in the column

exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Underline = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToColumns;
exlist1.Columns.Add("Column");
exlist1.Items.Add(0);
exlist1.Items.Add(1);

212:
How can I show in italic all data in the column

exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Italic = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToColumns;
exlist1.Columns.Add("Column");
exlist1.Items.Add(0);
exlist1.Items.Add(1);

211:
How can I bold the entire column

exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ApplyTo = exontrol.EXLISTLib.FormatApplyToEnum.exFormatToColumns;
exlist1.Columns.Add("Column");
exlist1.Items.Add(0);
exlist1.Items.Add(1);

210:
How can I display a computed column and highlight some values that are negative or less than a value

exlist1.Columns.Add("A");
exlist1.Columns.Add("B");
(exlist1.Columns.Add("(A+B)*1.19") as exontrol.EXLISTLib.Column).ComputedField = "(%0 + %1) * 1.19";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add(1),1,2);
exontrol.EXLISTLib.Items var_Items1 = exlist1.Items;
	var_Items1.set_Caption(var_Items1.Add(10),1,20);
exontrol.EXLISTLib.ConditionalFormat var_ConditionalFormat = exlist1.ConditionalFormats.Add("%2 > 10",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXLISTLib.FormatApplyToEnum)0x2;

209:
Can I display a computed column so it displays the VAT, or SUM

exlist1.Columns.Add("A");
exlist1.Columns.Add("B");
(exlist1.Columns.Add("(A+B)*1.19") as exontrol.EXLISTLib.Column).ComputedField = "(%0 + %1) * 1.19";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add(1),1,2);
exontrol.EXLISTLib.Items var_Items1 = exlist1.Items;
	var_Items1.set_Caption(var_Items1.Add(10),1,20);

208:
How can I show a column that adds values in the cells

exlist1.Columns.Add("A");
exlist1.Columns.Add("B");
(exlist1.Columns.Add("A+B") as exontrol.EXLISTLib.Column).ComputedField = "%0 + %1";
exontrol.EXLISTLib.Items var_Items = exlist1.Items;
	var_Items.set_Caption(var_Items.Add(1),1,2);
exontrol.EXLISTLib.Items var_Items1 = exlist1.Items;
	var_Items1.set_Caption(var_Items1.Add(10),1,20);

207:
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Filter") as exontrol.EXLISTLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
	var_Column.AutoSearch = exontrol.EXLISTLib.AutoSearchEnum.exContains;
exlist1.Items.Add("Canada");
exlist1.Items.Add("USA");

206:
Is there any function to filter the control's data as I type, something like filter on type

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Filter") as exontrol.EXLISTLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
exlist1.Items.Add("Canada");
exlist1.Items.Add("USA");

205:
How can I programmatically filter a column

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Filter") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exNonBlanks;
exlist1.Items.Add(null);
exlist1.Items.Add("not empty");
exlist1.ApplyFilter();

204:
How can I show or display the control's filter

(exlist1.Columns.Add("Filter") as exontrol.EXLISTLib.Column).DisplayFilterButton = true;

203:
How can I customize the items being displayed in the drop down filter window

exontrol.EXLISTLib.Column var_Column = (exlist1.Columns.Add("Custom Filter") as exontrol.EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*." +
"txt|*.log";
	var_Column.FilterType = exontrol.EXLISTLib.FilterTypeEnum.exPattern;
	var_Column.Filter = "*.xls";
exlist1.Items.Add("excel.xls");
exlist1.Items.Add("word.doc");
exlist1.Items.Add("pp.pps");
exlist1.Items.Add("text.txt");
exlist1.ApplyFilter();

202:
How can I change the order or the position of the columns in the sort bar

exlist1.SortBarVisible = true;
exlist1.SortBarColumnWidth = 48;
(exlist1.Columns.Add("C1") as exontrol.EXLISTLib.Column).SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortAscending;
(exlist1.Columns.Add("C2") as exontrol.EXLISTLib.Column).SortOrder = exontrol.EXLISTLib.SortOrderEnum.SortDescending;
exlist1.Columns["C2"].SortPosition = 0;

201:
How do I arrange my columns on multiple levels

(exlist1.Columns.Add("S") as exontrol.EXLISTLib.Column).Width = 32;
(exlist1.Columns.Add("Level 2") as exontrol.EXLISTLib.Column).LevelKey = 1;
(exlist1.Columns.Add("Level 3") as exontrol.EXLISTLib.Column).LevelKey = 1;
(exlist1.Columns.Add("Level 4") as exontrol.EXLISTLib.Column).LevelKey = 1;
(exlist1.Columns.Add("Level 1") as exontrol.EXLISTLib.Column).LevelKey = "2";
(exlist1.Columns.Add("Level 2") as exontrol.EXLISTLib.Column).LevelKey = "2";
(exlist1.Columns.Add("Level 3") as exontrol.EXLISTLib.Column).LevelKey = "2";
(exlist1.Columns.Add("Level 4") as exontrol.EXLISTLib.Column).LevelKey = "2";
(exlist1.Columns.Add("E") as exontrol.EXLISTLib.Column).Width = 32;