901:
How can I include the child items, when a filter is applied

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.Indent = 16;
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.FilterBarPromptVisible = true;
exgantt1.FilterBarPromptPattern = "Nancy";
exgantt1.FilterInclude = exontrol.EXGANTTLib.FilterIncludeEnum.exItemsWithChilds;
exgantt1.Chart.LevelCount = 2;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.InsertItem(h0,null,"Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	h0 = var_Items.InsertItem(h0,null,"Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.InsertItem(h0,null,"Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

900:
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Date") as exontrol.EXGANTTLib.Column);
	var_Column.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exSortItemsDesc;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("DateTime") as exontrol.EXGANTTLib.Column);
	var_Column1.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortDateTime;
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exSortItemsDesc;
exontrol.EXGANTTLib.Column var_Column2 = (exgantt1.Columns.Add("Time") as exontrol.EXGANTTLib.Column);
	var_Column2.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortTime;
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exSortItemsDesc;
	var_Column2.FormatColumn = "time(value)";
exontrol.EXGANTTLib.Column var_Column3 = (exgantt1.Columns.Add("Numeric") as exontrol.EXGANTTLib.Column);
	var_Column3.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortNumeric;
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exSortItemsDesc;
exontrol.EXGANTTLib.Column var_Column4 = (exgantt1.Columns.Add("String") as exontrol.EXGANTTLib.Column);
	var_Column4.DisplayFilterButton = true;
	var_Column4.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXGANTTLib.FilterListEnum.exSortItemsDesc;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/27/2010 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,var_Items.get_CellCaption(h,1));
	var_Items.set_CellCaption(h,3,1);
	var_Items.set_CellCaption(h,4,var_Items.get_CellCaption(h,3));
	h = var_Items.AddItem(Convert.ToDateTime("1/27/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/27/2011 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,var_Items.get_CellCaption(h,1));
	var_Items.set_CellCaption(h,3,11);
	var_Items.set_CellCaption(h,4,var_Items.get_CellCaption(h,3));
	h = var_Items.AddItem(Convert.ToDateTime("11/2/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("11/2/2010 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,var_Items.get_CellCaption(h,1));
	var_Items.set_CellCaption(h,3,2);
	var_Items.set_CellCaption(h,4,var_Items.get_CellCaption(h,3));
exgantt1.Columns["DateTime"].DisplayFilterDate = false;
exgantt1.EndUpdate();

899:
I am using Layout property to sort multiple columns at once. The problem is that all items get expanded. How do I prevent that

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("P1") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("P2") as exontrol.EXGANTTLib.Column);
	var_Column1.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column1.PartialCheck = true;
	var_Column1.FormatColumn = "1 index ``";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child A");
	var_Items.InsertItem(h,null,"Child B");
	var_Items.InsertItem(h,null,"Child A");
	var_Items.InsertItem(h,null,"Child B");
	var_Items.AddItem("Root");
	var_Items.AddItem("Root");
exgantt1.SingleSort = false;
exgantt1.Layout = "multiplesort=\"C0:1 C1:2\";collapse=\"\"";
exgantt1.EndUpdate();

898:
How can I get ride / hide the image being dragged by OLE Drag and Drop
// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
exgantt1.OLEDropMode = exontrol.EXGANTTLib.exOLEDropModeEnum.exOLEDropManual;
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exDragDropAfter,Color.FromArgb(255,255,255));
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

897:
I'm trying to use automatic numbering of the outline. How can I have A, B, C for root items, 1, 2, 3 for the sub-items, and a, b, c for sub-sub-items (sample 3)

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exRowLines;
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragPositionAny;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exSolidLine;
exgantt1.Indent = 16;
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("") as exontrol.EXGANTTLib.Column);
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
		var_Column.FormatColumn = "((1:=(0 :=(1 rpos '.|A-Z||a-z|')) rfind `.`) < 0 ? `<b>` + =:0 + `` :  (=:0 mid (1 + 1 + =:1) )  + `)` ) + ` ` + value";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child");
	int hChild = var_Items.InsertItem(h,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(h,null,"Child");
	var_Items.set_ExpandItem(0,true);
	h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child");
	hChild = var_Items.InsertItem(h,null,"Child");
	var_Items.set_CellState(hChild,0,1);
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(h,null,"Child");
exgantt1.EndUpdate();

896:
I'm trying to use automatic numbering of the outline. How can I have A, B, C for root items, 1, 2, 3 for the sub-items, and a, b, c for sub-sub-items (sample 2)

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.GridLineColor = Color.FromArgb(190,190,190);
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exRowLines;
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragPositionAny;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exSolidLine;
exgantt1.Indent = 16;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Default");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("") as exontrol.EXGANTTLib.Column);
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingRight,4);
		var_Column.AllowSizing = false;
		var_Column.Width = 36;
		var_Column.Position = 0;
		var_Column.FormatColumn = "(1:=(0 :=(1 rpos '.|A-Z||a-z|')) rfind `.`) < 0 ? `<b>` + =:0 : (`............` left 2 * (=:0 count `.`)) + (=:0 mid (1 + 1 + =" +
":1) ) ";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child");
	int hChild = var_Items.InsertItem(h,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(h,null,"Child");
	var_Items.set_ExpandItem(0,true);
	h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child");
	hChild = var_Items.InsertItem(h,null,"Child");
	var_Items.set_CellState(hChild,0,1);
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(h,null,"Child");
exgantt1.EndUpdate();

895:
I'm trying to use automatic numbering of the outline. How can I have A, B, C for root items, 1, 2, 3 for the sub-items, and a, b, c for sub-sub-items (sample 1)

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exRowLines;
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragPositionAny;
exgantt1.HasLines = exontrol.EXGANTTLib.HierarchyLineEnum.exSolidLine;
exgantt1.Indent = 16;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Default");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("") as exontrol.EXGANTTLib.Column);
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingRight,4);
		var_Column.Alignment = exontrol.EXGANTTLib.AlignmentEnum.RightAlignment;
		var_Column.AllowSizing = false;
		var_Column.Width = 24;
		var_Column.Position = 0;
		var_Column.FormatColumn = "(1:=(0 :=(1 rpos '.|A-Z||a-z|')) rfind `.`) < 0 ? `<b>` + =:0 : `<i>` + (=:0 mid (1 + 1 + =:1) ) ";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child");
	int hChild = var_Items.InsertItem(h,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(h,null,"Child");
	var_Items.set_ExpandItem(0,true);
	h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child");
	hChild = var_Items.InsertItem(h,null,"Child");
	var_Items.set_CellState(hChild,0,1);
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(hChild,null,"Child");
	var_Items.InsertItem(h,null,"Child");
exgantt1.EndUpdate();

894:
Is it possible to have a different alignment for parts of the cell's caption

exgantt1.BeginUpdate();
exgantt1.TreeColumnIndex = -1;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exRowLines;
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Default") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellHAlignment(var_Items.AddItem("all-left"),0,exontrol.EXGANTTLib.AlignmentEnum.LeftAlignment);
	var_Items.set_CellHAlignment(var_Items.AddItem("all-center"),0,exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellHAlignment(var_Items.AddItem("all-right"),0,exontrol.EXGANTTLib.AlignmentEnum.RightAlignment);
	int h = var_Items.AddItem("left<c>center<r>right");
	var_Items.set_CellCaptionFormat(h,0,exontrol.EXGANTTLib.CaptionFormatEnum.exHTML);
exgantt1.EndUpdate();

893:
I have a column with Def(exCellSingleLine) property on False, word-wrapping, and I am wondering if possible to update the column's content while user is resizing it
exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("MultipleLine") as exontrol.EXGANTTLib.Column);
		var_Column.Width = 32;
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellSingleLine,false);
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exColumnResizeContiguously,true);
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("SingleLine") as exontrol.EXGANTTLib.Column);
		var_Column1.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellSingleLine,false);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("This is a bit of long text that should break the line"),1,"This is a bit of long text that should break the line");
exgantt1.EndUpdate();

892:
How do I sort the index column as numeric

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.set_CellData(Item,1,var_Items.get_ItemToIndex(Item));
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.ColumnAutoResize = true;
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Next") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingLeft,4);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderPaddingLeft,4);
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("Index") as exontrol.EXGANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.Width = 48;
	var_Column1.FormatColumn = "(((0 := (1 index ``)) mod 3) case ( default: ``; 0 : `<r><fgcolor=B0B0B0>`; 1: ``; 2 : `<c><fgcolor=808080>` )) + str(=:0)";
	var_Column1.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column1.SortType = exontrol.EXGANTTLib.SortTypeEnum.SortUserData;
	var_Column1.Position = 0;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
	var_Items.AddItem("Item 6");
	var_Items.AddItem("Item 7");
	var_Items.AddItem("Item 8");
	var_Items.AddItem("Item 9");
	var_Items.AddItem("Item 10");
exgantt1.EndUpdate();

891:
How can I put icons/images into buttons

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("C+B") as exontrol.EXGANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 48;
	var_Column.FormatColumn = "` <img>` + ( 1 + (1 index ``) mod 3 ) + `</img> `";
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasButton,true);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellButtonAutoWidth,true);
exgantt1.Columns.Add("");
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exVLines;
exgantt1.DefaultItemHeight = 20;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
exgantt1.EndUpdate();

890:
Is it possible to have a CheckBox and Button TOGETHER on all cells in a column

// CellButtonClick event - Fired after the user clicks on the cell of button type. 
private void exgantt1_CellButtonClick(object sender,int   Item,int   ColIndex)
{
	System.Diagnostics.Debug.Print( "CellButtonClick" );
	System.Diagnostics.Debug.Print( Item.ToString() );
}
//this.exgantt1.CellButtonClick += new exontrol.EXGANTTLib.exg2antt.CellButtonClickEventHandler(this.exgantt1_CellButtonClick);

// CellStateChanged event - Fired after cell's state has been changed.
private void exgantt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	System.Diagnostics.Debug.Print( "CellStateChanged" );
	System.Diagnostics.Debug.Print( Item.ToString() );
}
//this.exgantt1.CellStateChanged += new exontrol.EXGANTTLib.exg2antt.CellStateChangedEventHandler(this.exgantt1_CellStateChanged);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 index ``";
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("Def") as exontrol.EXGANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.Width = 48;
	var_Column1.FormatColumn = "`     `";
	var_Column1.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column1.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasButton,true);
	var_Column1.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellButtonAutoWidth,true);
exgantt1.Columns.Add("");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
exgantt1.EndUpdate();

889:
Does filtering work with umlauts / accents characters
exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Names") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exPattern;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Mantel");
	var_Items.AddItem("Mechanik");
	var_Items.AddItem("Motor");
	var_Items.AddItem("Murks");
	var_Items.AddItem("Märchen");
	var_Items.AddItem("Möhren");
	var_Items.AddItem("Mühle");
	var_Items.AddItem("Sérigraphie");
exgantt1.Columns[0].Filter = "*ä*";
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

888:
Can I set the search box / filterbarprompt to invisible, so I can use my own input and *string* via VBA
exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = true;
exgantt1.ContinueColumnScroll = false;
exgantt1.MarkSearchColumn = false;
exgantt1.SearchColumnIndex = 1;
exgantt1.FilterBarHeight = 0;
exgantt1.FilterBarPromptVisible = true;
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("Name") as exontrol.EXGANTTLib.Column).Width = 96;
	(var_Columns.Add("Title") as exontrol.EXGANTTLib.Column).Width = 96;
	var_Columns.Add("City");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h0 = var_Items.AddItem("Nancy Davolio");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Andrew Fuller");
	var_Items.set_CellCaption(h0,1,"Vice President, Sales");
	var_Items.set_CellCaption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.AddItem("Janet Leverling");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Kirkland");
	h0 = var_Items.AddItem("Margaret Peacock");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"Redmond");
	h0 = var_Items.AddItem("Steven Buchanan");
	var_Items.set_CellCaption(h0,1,"Sales Manager");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Michael Suyama");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Robert King");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
	h0 = var_Items.AddItem("Laura Callahan");
	var_Items.set_CellCaption(h0,1,"Inside Sales Coordinator");
	var_Items.set_CellCaption(h0,2,"Seattle");
	h0 = var_Items.AddItem("Anne Dodsworth");
	var_Items.set_CellCaption(h0,1,"Sales Representative");
	var_Items.set_CellCaption(h0,2,"London");
exgantt1.FilterBarPromptPattern = "London";
exgantt1.EndUpdate();

887:
How to load a hierarchy using the control's DataSource property (Parent-ID-Relation)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.SetParent(Item,var_Items.get_FindItem(var_Items.get_CellCaption(Item,"ReportsTo"),"EmployeeID",null));
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("SELECT * FROM Employees ORDER BY ReportsTo","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);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Items.set_ExpandItem(0,true);
exgantt1.EndUpdate();

886:
The week number is not correct. What can I do

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstWeekDay = var_Chart.LocFirstWeekDay;
	var_Chart.MonthNames = var_Chart.LocMonthNames;
	var_Chart.WeekDays = var_Chart.LocWeekDays;
	var_Chart.AMPM = var_Chart.LocAMPM;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exWeek;
	var_Chart.UnitWidth = 32;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2016",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.WeekNumberAs = exontrol.EXGANTTLib.WeekNumberAsEnum.exISO8601WeekNumber;
	var_Chart.ScrollTo(var_Chart.FirstVisibleDate,1);

885:
How can I display my logo on print/print-preview

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.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.PageOrientation = exontrol.EXPRINTLib.PageOrientationEnum.exLandscape;
	var_Print.set_HTMLPicture("logo","c:\\exontrol\\images\\zipdisk.gif");
	var_Print.ExtraCaption("logo","<img>logo</img>",1,1);
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

884:
How can I align captions of items with checkbox, with items with no checkbox

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellImages(var_Items.AddItem(0),0,"1");
	var_Items.set_CellHasCheckBox(var_Items.AddItem(1),0,true);
	var_Items.set_CellImages(var_Items.AddItem(2),0,"1");
exgantt1.EndUpdate();

883:
How do I show the chart's labels in 24-hour clock format

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%mmm%> <%d%>, <%yyyy%>";
		var_Level.Alignment = exontrol.EXGANTTLib.AlignmentEnum.exHOutside | exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Unit = exontrol.EXGANTTLib.UnitEnum.exDay;
	exontrol.EXGANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<b><%h%>:00</b>";
		var_Level1.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level1.Unit = exontrol.EXGANTTLib.UnitEnum.exHour;
		var_Level1.DrawTickLines = true;
		var_Level1.DrawGridLines = true;
	exontrol.EXGANTTLib.Level var_Level2 = var_Chart.get_Level(2);
		var_Level2.Label = "<%nn%>";
		var_Level2.Unit = exontrol.EXGANTTLib.UnitEnum.exMinute;
		var_Level2.Count = 15;
	var_Chart.ScrollTo(Convert.ToDateTime("1/1/2001 8:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),0);

882:
How do I show the chart's labels in 12-hour clock format

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%mmm%> <%d%>, <%yyyy%>";
		var_Level.Alignment = exontrol.EXGANTTLib.AlignmentEnum.exHOutside | exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Unit = exontrol.EXGANTTLib.UnitEnum.exDay;
	exontrol.EXGANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<b><%h%>:00</b> <%AM/PM%>";
		var_Level1.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
		var_Level1.Unit = exontrol.EXGANTTLib.UnitEnum.exHour;
		var_Level1.DrawTickLines = true;
		var_Level1.DrawGridLines = true;
	exontrol.EXGANTTLib.Level var_Level2 = var_Chart.get_Level(2);
		var_Level2.Label = "<%nn%>";
		var_Level2.Unit = exontrol.EXGANTTLib.UnitEnum.exMinute;
		var_Level2.Count = 15;
	var_Chart.ScrollTo(Convert.ToDateTime("1/1/2001 8:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),0);

881:
The control does not ensure the item to fit the control's client area once the user clicks the cell's button or check box. What can be done
// MouseDown event - Occurs when the user presses a mouse button.
private void exgantt1_MouseDownEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	// Items.EnsureVisibleItem(ItemFromPoint(-1,-1,c,hit))
}
//this.exgantt1.MouseDownEvent += new exontrol.EXGANTTLib.exg2antt.MouseDownEventHandler(this.exgantt1_MouseDownEvent);

exgantt1.BeginUpdate();
exgantt1.TreeColumnIndex = -1;
exgantt1.SelForeColor = exgantt1.ForeColor;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Buttons") as exontrol.EXGANTTLib.Column);
	var_Column.Alignment = exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasButton,true);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Button A");
	var_Items.AddItem("Button B");
	var_Items.AddItem("Button C");
exgantt1.EndUpdate();

880:
Do you have any Fit-To-Page options when printing the control (W x T, Fit-To )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.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.Options = "FitToPage =1 x 2";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

879:
Do you have any Fit-To-Page options when printing the control ( x T, Fit-To Tall )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.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.Options = "FitToPage = x 2";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

878:
Do you have any Fit-To-Page options when printing the control ( W x, Fit-To Wide )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.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.Options = "FitToPage = 2 x";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

877:
Do you have any Fit-To-Page options when printing the control ( percent view, Adjust-To )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.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.Options = "FitToPage = 50%";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

876:
Does the title of the cell's tooltip supports HTML format

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column);
	var_Column.Caption = "";
	var_Column.HTMLCaption = "Column";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellToolTip(var_Items.AddItem("tooltip w/h different title"),0,"<c><b><fgcolor=FF0000>Title</fgcolor></b><br>This is bit of text that's shown when the user hovers the cell. This shows the tit" +
"le centered with a different color.");
exgantt1.EndUpdate();

875:
How do I specify a different title for the cell's tooltip

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("") as exontrol.EXGANTTLib.Column);
	var_Column.Caption = "This is the title";
	var_Column.HTMLCaption = "Column";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellToolTip(var_Items.AddItem("tooltip w/h different title"),0,"This is bit of text that's shown when the user hovers the cell.");
exgantt1.EndUpdate();

874:
The cell's tooltip displays the column's caption in its title. How can I get ride of that

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("tooltip w/h caption");
	var_Items.set_CellToolTip(h,0,"This is bit of text that's shown when the user hovers the cell. This shows the column's caption in the title.");
	var_Items.set_CellCaption(h,1,"tooltip no caption");
	var_Items.set_CellToolTip(h,1,"This is bit of text that's shown when the user hovers the cell. This shows no column's caption in the title.");
exontrol.EXGANTTLib.Column var_Column = exgantt1.Columns["C2"];
	var_Column.HTMLCaption = var_Column.Caption;
	var_Column.Caption = "";
exgantt1.EndUpdate();

873:
How can I programmatically show the column's filter

// RClick event - Fired when right mouse button is clicked
private void exgantt1_RClick(object sender)
{
	int i = exgantt1.get_ItemFromPoint(-1,-1,c,hit);
	exgantt1.Columns[c].ShowFilter("-1,-1,128,128");
}
//this.exgantt1.RClick += new exontrol.EXGANTTLib.exg2antt.RClickEventHandler(this.exgantt1_RClick);

exgantt1.BeginUpdate();
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items ") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXGANTTLib.FilterListEnum.exShowExclude | exontrol.EXGANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXGANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
exgantt1.EndUpdate();

872:
I want to be able to click on one of the headers, and sort by other column. How can I do that (method 2)

// ColumnClick event - Fired after the user clicks on column's header.
private void exgantt1_ColumnClick(object sender,exontrol.EXGANTTLib.Column   Column)
{
	// Column.SortOrder = 1
	exgantt1.SortOnClick = exontrol.EXGANTTLib.SortOnClickEnum.exDefaultSort;
	exgantt1.Columns["Sort"].SortOrder = exontrol.EXGANTTLib.SortOrderEnum.SortAscending;
	exgantt1.SortOnClick = exontrol.EXGANTTLib.SortOnClickEnum.exUserSort;
}
//this.exgantt1.ColumnClick += new exontrol.EXGANTTLib.exg2antt.ColumnClickEventHandler(this.exgantt1_ColumnClick);

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.SortOnClick = exontrol.EXGANTTLib.SortOnClickEnum.exUserSort;
exgantt1.Columns.Add("Items");
(exgantt1.Columns.Add("Sort") as exontrol.EXGANTTLib.Column).Visible = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Item 1 (3)"),1,3);
	var_Items.set_CellCaption(var_Items.AddItem("Item 2 (1)"),1,1);
	var_Items.set_CellCaption(var_Items.AddItem("Item 3 (2)"),1,2);
exgantt1.EndUpdate();

871:
I want to be able to click on one of the headers, and sort by other column. How can I do that (method 1)

// ColumnClick event - Fired after the user clicks on column's header.
private void exgantt1_ColumnClick(object sender,exontrol.EXGANTTLib.Column   Column)
{
	// Column.SortOrder = 1
	exgantt1.Items.SortChildren(0,"Sort",true);
}
//this.exgantt1.ColumnClick += new exontrol.EXGANTTLib.exg2antt.ColumnClickEventHandler(this.exgantt1_ColumnClick);

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.SortOnClick = exontrol.EXGANTTLib.SortOnClickEnum.exUserSort;
exgantt1.Columns.Add("Items");
(exgantt1.Columns.Add("Sort") as exontrol.EXGANTTLib.Column).Visible = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Item 1 (3)"),1,3);
	var_Items.set_CellCaption(var_Items.AddItem("Item 2 (1)"),1,1);
	var_Items.set_CellCaption(var_Items.AddItem("Item 3 (2)"),1,2);
exgantt1.EndUpdate();

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

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

869:
How can I connect to a DBF file
exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 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);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.EndUpdate();

868:
How can I change the bar's color based on values on the columns

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXGANTTLib.ConditionalFormats var_ConditionalFormats = exgantt1.ConditionalFormats;
	exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat = var_ConditionalFormats.Add("1",null);
		var_ConditionalFormat.ApplyTo = (exontrol.EXGANTTLib.FormatApplyToEnum)0x1;
		var_ConditionalFormat.Bold = true;
		var_ConditionalFormat.BackColor = Color.FromArgb(250,250,250);
	exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat1 = var_ConditionalFormats.Add("%1 = 5",null);
		var_ConditionalFormat1.ApplyToBars = "Task";
		var_ConditionalFormat1.BarColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat1.ForeColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat1.BarOverviewColor = Color.FromArgb(255,0,0);
	exontrol.EXGANTTLib.ConditionalFormat var_ConditionalFormat2 = var_ConditionalFormats.Add("%1 = 3",null);
		var_ConditionalFormat2.ApplyToBars = "Task";
		var_ConditionalFormat2.BarColor = Color.FromArgb(0,255,0);
		var_ConditionalFormat2.ForeColor = Color.FromArgb(0,255,0);
		var_ConditionalFormat2.BarOverviewColor = Color.FromArgb(0,255,0);
exgantt1.EndUpdate();

867:
Does your control supports scrolling by touching the screen

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.ContinueColumnScroll = true;
exgantt1.ScrollBySingleLine = true;
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScrollOnShortTouch | exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScroll;
exgantt1.EndUpdate();

866:
How can I export the control's content to a PDF document (method 1)

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.ShowEmptyBars = 1;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/4/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
// 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 = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.CopyTo("c:/temp/xtest.pdf");
System.Diagnostics.Debug.Print( "Look for C:\\Temp\\xtest.pdf file." );
exgantt1.EndUpdate();

865:
How can I export the control's content to a PDF document (method 2)

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.ShowEmptyBars = 1;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/4/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
object var_CopyTo = exgantt1.get_CopyTo("c:/temp/xtest.pdf");
System.Diagnostics.Debug.Print( "Look for C:\\Temp\\xtest.pdf file." );
exgantt1.EndUpdate();

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

// CellStateChanged event - Fired after cell's state has been changed.
private void exgantt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.set_CellCaption(Item,2,var_Items.get_CellState(Item,0));
}
//this.exgantt1.CellStateChanged += new exontrol.EXGANTTLib.exg2antt.CellStateChangedEventHandler(this.exgantt1_CellStateChanged);

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

863:
How can I use no scroll bars for touch-screens

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScroll;
exgantt1.ScrollWidth = 4;
exgantt1.ScrollHeight = 4;
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSLeft,Color.FromArgb(192,192,192));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSRight,Color.FromArgb(192,192,192));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSBack,Color.FromArgb(224,224,224));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSThumb,Color.FromArgb(128,128,128));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack,Color.FromArgb(224,224,224));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSDown,Color.FromArgb(192,192,192));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSUp,Color.FromArgb(192,192,192));
exgantt1.ScrollButtonWidth = 0;
exgantt1.ScrollButtonHeight = 0;
exgantt1.EndUpdate();

862:
How can I print the selected items only

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.SingleSel = false;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_SelectItem(var_Items[0],true);
	var_Items.set_SelectItem(var_Items[2],true);
	var_Items.set_SelectItem(var_Items[4],true);
exgantt1.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.Options = "Print = Selection";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

861:
How can I sort the columns to be displayed on the columns floating bar

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	(var_Columns.Add("City") as exontrol.EXGANTTLib.Column).Visible = false;
	(var_Columns.Add("Start") as exontrol.EXGANTTLib.Column).Visible = false;
	(var_Columns.Add("End") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.ColumnsFloatBarVisible = true;
exgantt1.ColumnsFloatBarSortOrder = exontrol.EXGANTTLib.SortOrderEnum.SortAscending;

860:
How can I add a vertical padding

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

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

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

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

858:
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)

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

857:
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)

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

856:
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)

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

855:
Do you have any Fit-To-Page options when printing the control

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exgantt1.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.Options = "FitToPage = On";
	var_Print.PrintExt = (exgantt1 as exontrol.EXGANTTLib.exgantt);
	var_Print.Preview();

854:
How can I add a footer row

exgantt1.ShowLockedItems = true;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exVLines;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,1);
	int h = var_Items.get_LockedItem(exontrol.EXGANTTLib.VAlignmentEnum.BottomAlignment,0);
	var_Items.set_ItemBackColor(h,Color.FromArgb(128,128,128));
	var_Items.set_ItemForeColor(h,Color.FromArgb(255,255,255));
	var_Items.set_CellCaption(h,0,"footer c1");
	var_Items.set_CellCaption(h,1,"footer c2");
	var_Items.set_CellCaption(var_Items.AddItem("cell"),1,"cell");

853:
How can I add a header row

exgantt1.ShowLockedItems = true;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exVLines;
exgantt1.Columns.Add("C1");
exgantt1.Columns.Add("C2");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXGANTTLib.VAlignmentEnum.TopAlignment,1);
	int h = var_Items.get_LockedItem(exontrol.EXGANTTLib.VAlignmentEnum.TopAlignment,0);
	var_Items.set_ItemBackColor(h,Color.FromArgb(128,128,128));
	var_Items.set_ItemForeColor(h,Color.FromArgb(255,255,255));
	var_Items.set_CellCaption(h,0,"footer c1");
	var_Items.set_CellCaption(h,1,"footer c2");
	var_Items.set_CellCaption(var_Items.AddItem("cell"),1,"cell");

852:
How can I programmatically add more columns to the sort bar and other to be sorted, but not included in the sort bar

exgantt1.SortBarVisible = true;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add(0.ToString());
	var_Columns.Add(1.ToString());
	var_Columns.Add(2.ToString());
	var_Columns.Add(3.ToString());
	var_Columns.Add(4.ToString());
exgantt1.Layout = "multiplesort=\"C3:1 C4:2\";singlesort=\"C2:1\"";

851:
How can I fix a column, while other sizable and fill the control's client
exgantt1.ColumnAutoResize = true;
exgantt1.Columns.Add("Sizable");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("F") as exontrol.EXGANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 16;

850:
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.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Value");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("CellSingleLine = False") as exontrol.EXGANTTLib.Column);
		var_Column.ComputedField = "%0";
		var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellSingleLine,false);
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("FormatColumn/replace CRLF") as exontrol.EXGANTTLib.Column);
		var_Column1.ComputedField = "%0";
		var_Column1.FormatColumn = "value replace `\\r\\n` with ``";
	exontrol.EXGANTTLib.Column var_Column2 = (var_Columns.Add("FormatColumn/replace TAB,CRLF") as exontrol.EXGANTTLib.Column);
		var_Column2.ComputedField = "%0";
		var_Column2.FormatColumn = "(value replace `\\t` with ``) replace `\\r\\n` with ``";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("a\\ta\\r\\nb\\tb");

849:
Is there any way to "unselect" radio group

// DblClick event - Occurs when the user dblclk the left mouse button over an object.
private void exgantt1_DblClick(object sender,short   Shift,int   X,int   Y)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		int h = var_Items.get_CellChecked(1234);
		var_Items.set_CellHasCheckBox(0,h,true);
		var_Items.set_CellState(0,h,0);
		var_Items.set_CellHasCheckBox(0,h,false);
}
//this.exgantt1.DblClick += new exontrol.EXGANTTLib.exg2antt.DblClickEventHandler(this.exgantt1_DblClick);

// SelectionChanged event - Fired after a new item has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.set_CellState(var_Items.FocusItem,0,1);
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.MarkSearchColumn = false;
exgantt1.SelBackColor = Color.FromArgb(255,255,128);
exgantt1.SelForeColor = Color.FromArgb(0,0,0);
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Radio 1");
	var_Items.set_CellHasRadioButton(h,0,true);
	var_Items.set_CellRadioGroup(h,0,1234);
	h = var_Items.AddItem("Radio 2");
	var_Items.set_CellHasRadioButton(h,0,true);
	var_Items.set_CellRadioGroup(h,0,1234);
	var_Items.set_CellState(h,0,1);
	h = var_Items.AddItem("Radio 3");
	var_Items.set_CellHasRadioButton(h,0,true);
	var_Items.set_CellRadioGroup(h,0,1234);

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

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

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

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
exgantt1.Columns.Add("Column");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarCaption,"<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1");
	var_Items.set_ItemBar(h,"",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);

846:
How do I arrange my columns on multiple levels

exgantt1.BeginUpdate();
exgantt1.ColumnAutoResize = false;
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("C0") as exontrol.EXGANTTLib.Column);
		var_Column.ExpandColumns = "1,2";
		var_Column.DisplayExpandButton = false;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("C4") as exontrol.EXGANTTLib.Column);
		var_Column1.ExpandColumns = "5,6";
		var_Column1.DisplayExpandButton = false;
	var_Columns.Add("C5");
	exontrol.EXGANTTLib.Column var_Column2 = (var_Columns.Add("C6") as exontrol.EXGANTTLib.Column);
		var_Column2.ExpandColumns = "6,7";
		var_Column2.DisplayExpandButton = false;
	var_Columns.Add("C7");
exgantt1.EndUpdate();

845:
Does your control support expandable header or columns, so I can arrange it on multiple levels

exgantt1.BeginUpdate();
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exgantt1.BackColorLevelHeader = Color.FromArgb(240,240,240);
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Photo") as exontrol.EXGANTTLib.Column);
		var_Column.AllowSizing = false;
		var_Column.Width = 32;
	var_Columns.Add("Personal Info");
	var_Columns.Add("Title");
	var_Columns.Add("Name");
	var_Columns.Add("First");
	var_Columns.Add("Last");
	var_Columns.Add("Address");
	var_Columns["Personal Info"].ExpandColumns = "2,3";
	exontrol.EXGANTTLib.Column var_Column1 = var_Columns["Name"];
		var_Column1.ExpandColumns = "4,5";
		var_Column1.Expanded = false;
exgantt1.EndUpdate();

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

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

843:
How can I remove all bars from the chart
exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.ClearBars(0);

842:
How can I change the color for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

841:
Is there any automatic way to change a property for all bars with a specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(0,"K1",exontrol.EXGANTTLib.ItemBarPropertyEnum.exBarColor,255);

840:
How can I remove all bars with specified key

exgantt1.Columns.Add("Task");
exgantt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.RemoveBar(0,"K1");

839:
How can I find if there is any filter applied to the control

// FilterChange event - Occurs when the filter was changed.
private void exgantt1_FilterChange(object sender)
{
	System.Diagnostics.Debug.Print( "If negative, the filter is present, else not" );
	System.Diagnostics.Debug.Print( exgantt1.Items.VisibleItemCount.ToString() );
}
//this.exgantt1.FilterChange += new exontrol.EXGANTTLib.exg2antt.FilterChangeEventHandler(this.exgantt1_FilterChange);

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.TreeColumnIndex = -1;
exgantt1.FilterInclude = exontrol.EXGANTTLib.FilterIncludeEnum.exMatchingItemsOnly;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "C1";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

838:
How can I prevent showing the lines for the hierarchy while using the exMatchingItemsOnly option

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.TreeColumnIndex = -1;
exgantt1.FilterInclude = exontrol.EXGANTTLib.FilterIncludeEnum.exMatchingItemsOnly;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "C1|C2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

837:
Is there any method to get only the matched items and not the items with his parent

exgantt1.BeginUpdate();
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.FilterInclude = exontrol.EXGANTTLib.FilterIncludeEnum.exMatchingItemsOnly;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Column") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "C1|C2";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

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

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

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

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

834:
I have noticed that the column's header is changed once the cursor hovers it. Is it possible to change that visual appearance

exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exgantt1.BackColorHeader32 = 0x1000000;
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exCursorHoverColumn,0x12d86ff);

833:
Is it possible to change the visual appearance of the columns selector/floating bar(3)

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
exgantt1.VisualAppearance.Add(3,"c:\\exontrol\\images\\pushed.ebn");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatAppearance,0x2000000);
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatBackColor,0x3000000);
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatCaptionBackColor,Color.FromArgb(246,245,240));
exgantt1.ColumnsFloatBarVisible = true;

832:
Is it possible to change the visual appearance of the columns selector/floating bar(2)

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.VisualAppearance.Add(3,"c:\\exontrol\\images\\pushed.ebn");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatBackColor,0x3000000);
exgantt1.ColumnsFloatBarVisible = true;

831:
Is it possible to change the visual appearance of the columns selector/floating bar(1)

exgantt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatAppearance,0x2000000);
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatBackColor,Color.FromArgb(246,245,240));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exColumnsFloatCaptionBackColor,Color.FromArgb(246,245,240));
exgantt1.ColumnsFloatBarVisible = true;

830:
I am using the ColumnsFloatBarVisible property on True, but still not able to add any column on that list

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.ColumnsFloatBarVisible = true;

829:
Is it possible to list a column to columns selector/floating bar, but still user can use it

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Column 3") as exontrol.EXGANTTLib.Column);
		var_Column.Visible = false;
		var_Column.Enabled = false;
exgantt1.ColumnsFloatBarVisible = true;

828:
How can I prevent a specific column not to be listed in the columns selector/floating bar

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Column 3") as exontrol.EXGANTTLib.Column);
		var_Column.Visible = false;
		var_Column.AllowDragging = false;
exgantt1.ColumnsFloatBarVisible = true;

827:
Is it possible to change the "Columns" caption being shown in the columns selector/floating bar

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Hidden Columns");
exgantt1.ColumnsFloatBarVisible = true;

826:
How can I show the columns selector, so the user can drag and drop columns to the view

exgantt1.ColumnAutoResize = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as exontrol.EXGANTTLib.Column).Visible = false;
exgantt1.ColumnsFloatBarVisible = true;

825:
The column's header is changed while the cursor hovers it. Is it possible to prevent that

exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
exgantt1.set_Background32(exontrol.EXGANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);

824:
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

exgantt1.BeginUpdate();
exgantt1.ScrollBars = exontrol.EXGANTTLib.ScrollBarsEnum.exDisableBoth;
exgantt1.Chart.ToolTip = "";
exgantt1.set_ScrollPartVisible(exontrol.EXGANTTLib.ScrollBarEnum.exVScroll,exontrol.EXGANTTLib.ScrollPartEnum.exExtentThumbPart,true);
exgantt1.set_ScrollPartVisible(exontrol.EXGANTTLib.ScrollBarEnum.exHScroll,exontrol.EXGANTTLib.ScrollPartEnum.exExtentThumbPart,true);
exgantt1.set_ScrollPartVisible(exontrol.EXGANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXGANTTLib.ScrollPartEnum.exExtentThumbPart,true);
exgantt1.ScrollWidth = 4;
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128));
exgantt1.ScrollHeight = 4;
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSBack,exgantt1.get_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exHSThumb,exgantt1.get_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSThumb));
exgantt1.set_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exScrollSizeGrip,exgantt1.get_Background(exontrol.EXGANTTLib.BackgroundPartEnum.exVSBack));
exgantt1.EndUpdate();

823:
How can I display the Year in Thai, Buddhist, Korean format

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstWeekDay = var_Chart.LocFirstWeekDay;
	var_Chart.MonthNames = var_Chart.LocMonthNames;
	var_Chart.WeekDays = var_Chart.LocWeekDays;
	var_Chart.AMPM = var_Chart.LocAMPM;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	exontrol.EXGANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%mmmm%> <%d%>, <%loc_yyyy%> <r><%ww%>";
		var_Level.Unit = exontrol.EXGANTTLib.UnitEnum.exWeek;
		var_Level.ToolTip = var_Level.Label;
	var_Chart.ToolTip = "<%ddd%> <%m%>/<%d%>/<%loc_yyyy%>";
exgantt1.set_Description(exontrol.EXGANTTLib.DescriptionTypeEnum.exFilterBarDateMonths,exgantt1.Chart.MonthNames);

822:
How does localization work

exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstWeekDay = var_Chart.LocFirstWeekDay;
	var_Chart.MonthNames = var_Chart.LocMonthNames;
	var_Chart.WeekDays = var_Chart.LocWeekDays;
	var_Chart.AMPM = var_Chart.LocAMPM;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,0);

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

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Car") as exontrol.EXGANTTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "MAZDA";
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("Equipment") as exontrol.EXGANTTLib.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.EXGANTTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "AIR BAG";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag");
	var_Items.set_CellCaption(var_Items.AddItem("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Ford"),1,"Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"ABS,ESP");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

820:
How can I have a case-sensitive filter

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.MarkSearchColumn = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Car") as exontrol.EXGANTTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilterDoCaseSensitive | exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
		var_Column.Filter = "Mazda";
	exontrol.EXGANTTLib.Column var_Column1 = (var_Columns.Add("Equipment") as exontrol.EXGANTTLib.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.EXGANTTLib.FilterTypeEnum.exFilterDoCaseSensitive | exontrol.EXGANTTLib.FilterTypeEnum.exPattern;
		var_Column1.Filter = "Air Bag";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag");
	var_Items.set_CellCaption(var_Items.AddItem("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Ford"),1,"Air condition");
	var_Items.set_CellCaption(var_Items.AddItem("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_CellCaption(var_Items.AddItem("Mazda"),1,"ABS,ESP");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

819:
I am using the FormatColumn/FormatCell 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 has been selected.
private void exgantt1_SelectionChanged(object sender)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.ClearItemBackColor(0);
		var_Items.set_ItemBackColor(var_Items.get_SelectedItem(0),Color.FromArgb(128,255,255));
}
//this.exgantt1.SelectionChanged += new exontrol.EXGANTTLib.exg2antt.SelectionChangedEventHandler(this.exgantt1_SelectionChanged);

exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.SelForeColor = exgantt1.ForeColor;
exgantt1.SelBackColor = exgantt1.BackColor;
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Format") as exontrol.EXGANTTLib.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.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(10);
	var_Items.AddItem(-8);
exgantt1.EndUpdate();

818:
How do I hide the selection
exgantt1.BeginUpdate();
exgantt1.MarkSearchColumn = false;
exgantt1.SelForeColor = exgantt1.ForeColor;
exgantt1.SelBackColor = exgantt1.BackColor;
exgantt1.ShowFocusRect = false;
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Format") as exontrol.EXGANTTLib.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.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(10);
	var_Items.AddItem(-8);
exgantt1.EndUpdate();

817:
How do I access the cells, or how do I get the values in the columns
exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_CellCaption(h,1,"SubItem 1.1");
	var_Items.set_CellCaption(h,2,"SubItem 1.2");
	System.Diagnostics.Debug.Print( var_Items.get_CellCaption(h,2).ToString() );

816:
How can I change the check-boxes appearance

exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Default") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exontrol.EXGANTTLib.Appearance var_Appearance = exgantt1.VisualAppearance;
	var_Appearance.Add(1,"XP:Button 3 12");
	var_Appearance.Add(2,"XP:Button 3 11");
	var_Appearance.Add(3,"XP:Button 3 10");
exgantt1.set_CheckImage(exontrol.EXGANTTLib.CheckStateEnum.Unchecked,16777216);
exgantt1.set_CheckImage(exontrol.EXGANTTLib.CheckStateEnum.Checked,33554432);
exgantt1.set_CheckImage(exontrol.EXGANTTLib.CheckStateEnum.PartialChecked,50331648);

815:
How can I load my table from an Access 2007, using ADO

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access2007\\sample.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.EndUpdate();

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

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

813:
The right pane needs to show ONLY the hours 6am to 9pm (every hour) for one day only and the user should not to be able to scroll left or right nor see any other hours. How can I do that

exgantt1.BeginUpdate();
exgantt1.Columns.Add("Tasks");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_ScrollRange(exontrol.EXGANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.set_ScrollRange(exontrol.EXGANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 12582975;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.get_Level(0).Alignment = exontrol.EXGANTTLib.AlignmentEnum.exHOutside | exontrol.EXGANTTLib.AlignmentEnum.CenterAlignment;
	var_Chart.UnitWidth = 18;
	var_Chart.set_PaneWidth(true,294);
	var_Chart.ScrollBar = false;
exgantt1.OnResizeControl = exontrol.EXGANTTLib.OnResizeControlEnum.exDisableSplitter;
exgantt1.EndUpdate();

812:
Can I use ebn files to display the selected dates

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Appearance var_Appearance = exgantt1.VisualAppearance;
	var_Appearance.Add(2,"c:\\exontrol\\images\\normal.ebn");
	var_Appearance.Add(1,"CP:2 0 -4 0 4");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.LevelCount = 2;
	var_Chart.MarkSelectDateColor32 = 0x1000000;
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
	var_Chart.set_SelectDate(Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("1/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exgantt1.EndUpdate();

811:
Can I use ebn files to display the selected dates

exgantt1.BeginUpdate();
exgantt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.LevelCount = 2;
	var_Chart.MarkSelectDateColor32 = 0x1000000;
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exgantt1.Columns.Add("Default");
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exgantt1.EndUpdate();

810:
How can I change the color for selected dates to be solid

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.LevelCount = 2;
	var_Chart.MarkSelectDateColor32 = 0x7fff0000;
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/15/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
	var_Chart.set_SelectDate(Convert.ToDateTime("1/16/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exgantt1.EndUpdate();

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

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
(exgantt1.Columns.Add("Padding-Left") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderPaddingLeft,18);
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Padding-Right") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exHeaderPaddingRight,18);
	var_Column.HeaderAlignment = exontrol.EXGANTTLib.AlignmentEnum.RightAlignment;
exgantt1.EndUpdate();

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

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.DrawGridLines = exontrol.EXGANTTLib.GridLinesEnum.exAllLines;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Padding-Left") as exontrol.EXGANTTLib.Column);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellPaddingLeft,18);
(exgantt1.Columns.Add("No-Padding") as exontrol.EXGANTTLib.Column).set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellHasCheckBox,true);
(exgantt1.Columns.Add("Empty") as exontrol.EXGANTTLib.Column).Position = 0;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Item A.1"),1,"Item A.2");
	var_Items.set_CellCaption(var_Items.AddItem("Item B.1"),1,"Item B.2");
	var_Items.set_CellCaption(var_Items.AddItem("Item C.1"),1,"Item C.2");
exgantt1.EndUpdate();

807:
Is it possible to display information about the firing events
// Event event - Notifies the application once the control fires an event.
private void exgantt1_Event(object sender,int   EventID)
{
	System.Diagnostics.Debug.Print( exgantt1.get_EventParam(-2).ToString() );
}
//this.exgantt1.Event += new exontrol.EXGANTTLib.exg2antt.EventEventHandler(this.exgantt1_Event);


806:
Is it possible to scroll the control's content by clicking and moving the mouse up or down

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 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);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.AutoDrag = exontrol.EXGANTTLib.AutoDragEnum.exAutoDragScroll;
exgantt1.EndUpdate();

805:
How do I load bars from my ADO table/database

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgantt1_AddItem(object sender,int   Item)
{
	exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellCaption(Item,2),var_Items.get_CellCaption(Item,4),null,null);
}
//this.exgantt1.AddItem += new exontrol.EXGANTTLib.exg2antt.AddItemEventHandler(this.exgantt1_AddItem);

exgantt1.BeginUpdate();
exontrol.EXGANTTLib.Chart var_Chart = exgantt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXGANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXGANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll;
exgantt1.ColumnAutoResize = false;
exgantt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 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);
exgantt1.DataSource = (rs as ADODB.Recordset);
exgantt1.EndUpdate();

804:
Is it possible to auto-numbering the children items but still keeps the position after filtering

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Items") as exontrol.EXGANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Child 2";
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("Pos.1") as exontrol.EXGANTTLib.Column);
	var_Column1.FormatColumn = "1 ropos ''";
	var_Column1.Position = 0;
	var_Column1.Width = 32;
	var_Column1.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column2 = (exgantt1.Columns.Add("Pos.2") as exontrol.EXGANTTLib.Column);
	var_Column2.FormatColumn = "1 ropos ':'";
	var_Column2.Position = 1;
	var_Column2.Width = 32;
	var_Column2.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column3 = (exgantt1.Columns.Add("Pos.3") as exontrol.EXGANTTLib.Column);
	var_Column3.FormatColumn = "1 ropos ':|A-Z'";
	var_Column3.Position = 2;
	var_Column3.Width = 32;
	var_Column3.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column4 = (exgantt1.Columns.Add("Pos.4") as exontrol.EXGANTTLib.Column);
	var_Column4.FormatColumn = "1 ropos '|A-Z|'";
	var_Column4.Position = 3;
	var_Column4.Width = 32;
	var_Column4.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column5 = (exgantt1.Columns.Add("Pos.5") as exontrol.EXGANTTLib.Column);
	var_Column5.FormatColumn = "'<font Tahoma;7>' + 1 ropos '-<b>||A-Z'";
	var_Column5.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column5.Position = 4;
	var_Column5.Width = 32;
	var_Column5.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column6 = (exgantt1.Columns.Add("Pos.6") as exontrol.EXGANTTLib.Column);
	var_Column6.FormatColumn = "'<b>'+ 1 ropos '</b>:<fgcolor=FF0000>|A-Z|'";
	var_Column6.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column6.Position = 5;
	var_Column6.Width = 48;
	var_Column6.AllowSizing = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.ApplyFilter();
exgantt1.EndUpdate();

803:
Is it possible to auto-numbering the children items too

exgantt1.BeginUpdate();
exgantt1.Chart.set_PaneWidth(true,0);
exgantt1.LinesAtRoot = exontrol.EXGANTTLib.LinesAtRootEnum.exLinesAtRoot;
exgantt1.Columns.Add("Items");
exontrol.EXGANTTLib.Column var_Column = (exgantt1.Columns.Add("Pos.1") as exontrol.EXGANTTLib.Column);
	var_Column.FormatColumn = "1 rpos ''";
	var_Column.Position = 0;
	var_Column.Width = 32;
	var_Column.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column1 = (exgantt1.Columns.Add("Pos.2") as exontrol.EXGANTTLib.Column);
	var_Column1.FormatColumn = "1 rpos ':'";
	var_Column1.Position = 1;
	var_Column1.Width = 32;
	var_Column1.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column2 = (exgantt1.Columns.Add("Pos.3") as exontrol.EXGANTTLib.Column);
	var_Column2.FormatColumn = "1 rpos ':|A-Z'";
	var_Column2.Position = 2;
	var_Column2.Width = 32;
	var_Column2.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column3 = (exgantt1.Columns.Add("Pos.4") as exontrol.EXGANTTLib.Column);
	var_Column3.FormatColumn = "1 rpos '|A-Z|'";
	var_Column3.Position = 3;
	var_Column3.Width = 32;
	var_Column3.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column4 = (exgantt1.Columns.Add("Pos.5") as exontrol.EXGANTTLib.Column);
	var_Column4.FormatColumn = "'<font Tahoma;7>' + 1 rpos '-<b>||A-Z'";
	var_Column4.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column4.Position = 4;
	var_Column4.Width = 32;
	var_Column4.AllowSizing = false;
exontrol.EXGANTTLib.Column var_Column5 = (exgantt1.Columns.Add("Pos.6") as exontrol.EXGANTTLib.Column);
	var_Column5.FormatColumn = "'<b>'+ 1 rpos '</b>:<fgcolor=FF0000>|A-Z|'";
	var_Column5.set_Def(exontrol.EXGANTTLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column5.Position = 5;
	var_Column5.Width = 48;
	var_Column5.AllowSizing = false;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgantt1.EndUpdate();

802:
Is there any way to add auto-numbering

exontrol.EXGANTTLib.Columns var_Columns = exgantt1.Columns;
	var_Columns.Add("Items");
	exontrol.EXGANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXGANTTLib.Column);
		var_Column.FormatColumn = "1 pos ''";
		var_Column.Position = 0;
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");

801:
How can I format my column to display the percent values “5,00%”

(exgantt1.Columns.Add("Percent") as exontrol.EXGANTTLib.Column).FormatColumn = "((dbl(value) * 100) format '2|,|3.')+'%'";
exontrol.EXGANTTLib.Items var_Items = exgantt1.Items;
	var_Items.AddItem(0.5);
	var_Items.AddItem(0.4);
	var_Items.AddItem(0.75);