2027:
How can I add a summary bar once the user group by a column

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Summary",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,false);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color32 = 0x1000000;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2026:
Is it possible to display no +/- button for grouped items

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,false);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
	var_Column1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellBackColor,15790320);
exg2antt1.EndUpdate();

2025:
How can I change the label, caption or the formula of the grouped items

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("C1") as exontrol.EXG2ANTTLib.Column);
		var_Column.GroupByFormatCell = "upper(value)";
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column1.FormatColumn = "1 pos ``";
		var_Column1.AllowGroupBy = false;
		var_Column1.Position = 0;
		var_Column1.Width = 48;
		var_Column1.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2024:
How can I change the aspect of grouped items

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,false);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2023:
How can I collapse all items when the user performs a grouping

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ExpandItem(Item,false);
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2022:
Is it possible to select columns that user can drop to the sort bar, when using the Group By feature

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "<fgcolor=FF0000>Try to drag the Pos column here.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.EndUpdate();

2021:
How can I filter for the type of the bars I have in my chart

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("11/28/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","GTask");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar1.Color = Color.FromArgb(0,255,0);
	exontrol.EXG2ANTTLib.Bar var_Bar2 = var_Chart.Bars.Copy("Task","RTask");
		var_Bar2.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar2.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar2.Color = Color.FromArgb(255,0,0);
	var_Chart.ColumnsFormatLevel = "0";
exg2antt1.OnResizeControl = exontrol.EXG2ANTTLib.OnResizeControlEnum.exDisableSplitter | exontrol.EXG2ANTTLib.OnResizeControlEnum.exResizeChart;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Type") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,0);
	var_Column1.Visible = false;
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"GTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"RTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 5"),"GTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 6"),"RTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( all replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `[" +
"<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matchi" +
"temcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount" +
" + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column2 = exg2antt1.Columns[1];
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "GTask|RTask";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2020:
How can I display the control's filter bar in the Items section only, as it was displayed before

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShort;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[1];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column3.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2019:
FilterBarCaption ALL Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( all replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `[" +
"<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matchi" +
"temcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount" +
" + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2018:
FilterBarCaption ALL Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "all";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2017:
FilterBarCaption ALLUI Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( allui replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2016:
FilterBarCaption ALLUI Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "allui";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2015:
FilterBarCaption AVAILABLE Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` ) + ` ` + ( ava" +
"ilable replace `[` with `<bgcolor=C0C0C0><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` replace `<s>` with `" +
"` replace `</s>` with `` ) + `<fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount" +
" + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2014:
FilterBarCaption AVAILABLE Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "value + ` ` + available";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2013:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 3, results )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(`<b>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) +" +
" ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )) replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replac" +
"e `]` with ` </b></bgcolor></fgcolor>`";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[0];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXG2ANTTLib.Column var_Column4 = exg2antt1.Columns[1];
	var_Column4.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2012:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 2 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>`";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[0];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXG2ANTTLib.Column var_Column4 = exg2antt1.Columns[1];
	var_Column4.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2011:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "value replace `[` with `<fgcolor=808080>[` replace `]` with `]</fgcolor>`";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[0];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXG2ANTTLib.Column var_Column4 = exg2antt1.Columns[1];
	var_Column4.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2010:
Is it possible to automatically displays the control's filter label to the right

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarCaption = "`<r>` + value";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column2 = exg2antt1.Columns[0];
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2009:
How can I get the number of results/items being shown in the control's filter bar (sample 4)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarPrompt = exg2antt1.FormatABC("`<b>` + value",exg2antt1.FilterBarPrompt,null,null).ToString();
exg2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.EndUpdate();

2008:
How can I get the number of results being shown in the control's filter bar (sample 3)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : ``)";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2007:
How can I get the number of results being shown in the control's filter bar (sample 2, compact)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? `<off -4> ` + abs(matchitemcount + 1) + ` result(s)` : ``)";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2006:
How can I get the number of results being shown in the control's filter bar (sample 1)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<b>` + value + `</b><r><fgcolor=808080>` + ( matchitemcount < 0 ? abs(matchitemcount + 1) + ` result(s)` : ``)";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2005:
FilterBarCaption Predefined Keywords

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// AfterExpandItem event - Fired after an item is expanded (collapsed).
private void exg2antt1_AfterExpandItem(object sender,int   Item)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.AfterExpandItem += new exontrol.EXG2ANTTLib.exg2antt.AfterExpandItemEventHandler(this.exg2antt1_AfterExpandItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellState(var_Items.InsertItem(h,null,"Sub-Item B1"),1,1);
	var_Items.InsertItem(h,null,"Sub-Item B2");
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem("Item C");
exg2antt1.FilterInclude = exontrol.EXG2ANTTLib.FilterIncludeEnum.exItemsWithChilds;
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<fgcolor=0000FF><i>value/current</i></fgcolor>: <fgcolor=808080>` + value + `</fgcolor>` + `<br><fgcolor=0000FF><i>available</" +
"i></fgcolor>: ` + available + `<br><fgcolor=0000FF><i>allui</i></fgcolor>: ` + allui + `<br><fgcolor=0000FF><i>all</i></fgcolor>" +
": ` + all + `<br><fgcolor=0000FF><i>itemcount</i></fgcolor>: <fgcolor=808080>` + itemcount + `</fgcolor>`+ `<br><fgcolor=0000FF>" +
"<i>visibleitemcount</i></fgcolor>: <fgcolor=808080>` + visibleitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>matchitemcount</" +
"i></fgcolor>: <fgcolor=808080>` + matchitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>promptpattern</i></fgcolor>: <fgcolor=8" +
"08080>` + promptpattern + `</fgcolor>`";
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column2 = exg2antt1.Columns[0];
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2004:
I am using filter prompt feature, and also column's filter, just wondering if possible to compact displaying the filter bar so it won't show on multiple lines

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<r><i><fgcolor=808080><upline><solidline><sha ;;0>` + value";
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2003:
Just wondering if it is possible to show the filter bar's close button on the right ( sample 2 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.FilterBarPrompt = exg2antt1.FormatABC("`<r>` + value",exg2antt1.FilterBarPrompt,null,null).ToString();
exg2antt1.EndUpdate();

2002:
Just wondering if it is possible to show the filter bar's close button on the right ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.RightToLeft = true;
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.EndUpdate();

2001:
How can I change the visual appearance of the filter bar's close button (EBN)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABHQDg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLOg7IJ" +
"jyI4/SJAYCydKAWhxIaZKJHCZoEDaTAADCNVAQp6MEIJVbVEI0e79OgBLp/Z7kECIJJAaRjHQdJxGLA8EhtCQhCZteK6SgMKJYXhWQYRXI1JwvMBrWrdQjiOYELQtMKm" +
"SZNLYGG4dR5SVJbcYhSYsRRFMoyDIOXYDLKsdYqSpXIThObEGgaPqJYjsUjCMKnR7HVIURrBPC9TBPE69ZgmC6ucKPX51ShKFaBWDZcwFAS+UBuYCAILiEAQGZ1XT8OR" +
"OicbgJgSTJRlCaZeDsHY7QGR4xkSYp3CaExZAQMgalQYAwjCAAfBANxcA2TgKAUOpDCGFhKg0RpXCwCwDHQHQHEyAIkCkOhbFOGA8A8DohBgRg9AccZcn8EpEjMLI2C2" +
"DYxAgQgvAIUIVkoAAPBQDJlECTZ3CCYwDACQwUA8A5MCAWAWDiQi4l8aQOEgLJuBgBgDmYFAzEoIoIl0WALgKYJbBABADAAHgHg8VAMmqCQQDMXABAATYwTmNwBDATJX" +
"AiAgjHmNQ5lgQ5QEQEQMmcWg/GwD5ylyNw2gMcJcjsBgBgOQQDDhRpVAMMwnDBFw1B0Ax8D0DxOmmJJIGQTY5hGMAwkwM4CAYLZAmAOJnAqAojiIGg6iieYkmeAYOHaK" +
"JDCyCwjH6AoggsQpQliAJLhgaJ0CESBTnyDwjk+cg4g4P5IHIHJ+BWRRzlYWAxiOUxihsY4KjKLJRGqC44FCegkkkM58iAKAPnIWIWD8SRSFSfQnkmewUhYP4GiGKJ7G" +
"0TIbCSUoggqUo0lAQ4LnEcBcD8Coiiif4nE+eAAn2HpOkcFJqi4T5SkyMw/kqQown8IBIBOdA+A+DJrBqVxXEqYo4lCApLhGHBnD8S4ymyfxmg+cwQkQP5egOUZIWoEA" +
"kjIeIPBMBJBD+TBjBifwvkuc58hQJQPmFrYykkchclSApKjGOBuD+TRDFCfw3mmIxNi8FxFlOXhVC4aYDFyPgvg2YBcBcLZGCGCJ0DSLRzGSWQ/lmY5+mEP5gmMDBZRS" +
"MRsFsOxMhMJJ/DsTpTnwaQaE+N5ojuNhdEYNI5C4TZJO1GRDmCaxnA2Yx4n8IpIjOTBQBQC5TgyYw7gUYRYikC0BYRwsDQBoB8eA6Q2hsE0BUXgywZtYCyHMKwnxSAhA" +
"QHkIQhRrBaDsCwA4ERiB2EWAIYIXhhiVEgAEUYwwYjyASLge4FhHgRDkM8OQih0jWPkGgBBAQ");
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exFooterFilterBarButton,0x1000000);
exg2antt1.EndUpdate();

2000:
How can I change the visual appearance of the filter bar's close button (solid)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exFooterFilterBarButton,Color.FromArgb(255,0,0));
exg2antt1.EndUpdate();

1999:
Is it possible to prevent definitely showing the filter bar's close button

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exFooterFilterBarButton,-1);
exg2antt1.EndUpdate();

1998:
Is it possible to show the close button only if there is a filter applied

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.EndUpdate();

1997:
The control's filter bar is not closed once I click the close button (toggle)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
	var_Items.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exBottom,1);
	int h = var_Items.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exBottom,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellValue(h,0,"<c><fgcolor=808080>Press the CTRL + F to turn on/off the control's filter bar. ALT + Up/Down moves the focus.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
exg2antt1.FilterBarCaption = "`<r><fgcolor=808080>` + value";
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1996:
How can I display the control's filter on a single line

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarCaption = "len(value) ? `filter for: <fgcolor 808080>` + value  : `<fgcolor 808080>no filter`";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1995:
How can I display the control's filter on a single line (prompt-combined)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarCaption = "`<r>` + value";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1994:
How can I get the number of results after a filter is applied

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
private void exg2antt1_Click(object sender)
{
	exg2antt1.ClearFilter();
}
//this.exg2antt1.Click += new exontrol.EXG2ANTTLib.exg2antt.ClickEventHandler(this.exg2antt1_Click);

// FilterChange event - Occurs when the filter was changed.
private void exg2antt1_FilterChange(object sender)
{
	System.Diagnostics.Debug.Print( "Items.MatchItemCount" );
	System.Diagnostics.Debug.Print( exg2antt1.Items.MatchItemCount.ToString() );
	System.Diagnostics.Debug.Print( exg2antt1.FormatABC("value < 0 ? `filter applied: ` + abs(value + 1) + ` result(s)` : `no filter`",exg2antt1.Items.MatchItemCount,null,null).ToString() );
}
//this.exg2antt1.FilterChange += new exontrol.EXG2ANTTLib.exg2antt.FilterChangeEventHandler(this.exg2antt1_FilterChange);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.FilterBarPromptPattern = "Item";
exg2antt1.EndUpdate();

1993:
How can I programmatically clear the control's filter
// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
private void exg2antt1_Click(object sender)
{
	exg2antt1.ClearFilter();
}
//this.exg2antt1.Click += new exontrol.EXG2ANTTLib.exg2antt.ClickEventHandler(this.exg2antt1_Click);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.EndUpdate();

1992:
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt-combined)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1991:
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.EndUpdate();

1990:
Is it possible to prevent closing the control's filter bar, so it is always shown

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarCaption = "len(value) = 0 ? `<fgcolor=808080>no filter` : value";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1989:
What are the options to align the percent caption

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Clip");
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartMiddle | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/26/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task%Progress");
		var_Bar.Shortcut = "Task";
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bar.Color = Color.FromArgb(164,164,164);
		var_Bar.StartColor = Color.FromArgb(240,240,240);
		var_Bar.EndColor = var_Bar.StartColor;
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIncludeCaption | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.Height = 15;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.5);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentCaptionFormat,"<sha ;;0>%p%");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("no clip, (0-2)");
	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")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,2);
	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")),"K2",null);
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,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")),"K3",null);
	var_Items.set_ItemBar(h,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,0);
	h = var_Items.AddItem("clip, inside (3-5)");
	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")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,5);
	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")),"K2",null);
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,4);
	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")),"K3",null);
	var_Items.set_ItemBar(h,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,3);
	h = var_Items.AddItem("hide on min width, clip if not fit, inside (6-8)");
	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")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,8);
	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")),"K2",null);
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,7);
	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")),"K3",null);
	var_Items.set_ItemBar(h,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,6);
	h = var_Items.AddItem("hide if not fit, no clip, inside (9-11)");
	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")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,11);
	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")),"K2",null);
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,10);
	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")),"K3",null);
	var_Items.set_ItemBar(h,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,9);
	h = var_Items.AddItem("no clip, inside, outside (12-14)");
	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")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,14);
	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")),"K2",null);
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,13);
	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")),"K3",null);
	var_Items.set_ItemBar(h,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,12);
	h = var_Items.AddItem("no clip, outside (16-18)");
	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")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,18);
	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")),"K2",null);
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,17);
	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")),"K3",null);
	var_Items.set_ItemBar(h,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,16);
exg2antt1.EndUpdate();

1988:
Is it possible to determine whether a bar is in the current display area

// BarResizing event - Occurs when a bar is moving or resizing.
private void exg2antt1_BarResizing(object sender,int   Item,object   Key)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.BarResizing += new exontrol.EXG2ANTTLib.exg2antt.BarResizingEventHandler(this.exg2antt1_BarResizing);

// DateChange event - Occurs when the first visible date is changed.
private void exg2antt1_DateChange(object sender)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.DateChange += new exontrol.EXG2ANTTLib.exg2antt.DateChangeEventHandler(this.exg2antt1_DateChange);

// FormatColumn event - Fired when a cell requires to format its caption.
private void exg2antt1_FormatColumn(object sender,int   Item,int   ColIndex,ref object   Value)
{
	object s = exg2antt1.Items.get_ItemBar(Item,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarStart);
	object e = exg2antt1.Items.get_ItemBar(Item,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEnd);
	object l = exg2antt1.FormatABC("A < B",e,exg2antt1.Chart.FirstVisibleDate,null);
	object r = exg2antt1.FormatABC("A > B",s,exg2antt1.Chart.get_DateFromPoint(1,-1),null);
	Value = exg2antt1.FormatABC("( A or B ) ? `<fgcolor=C0C0C0>hidden` : `<b>visible`",l,r,null);
}
//this.exg2antt1.FormatColumn += new exontrol.EXG2ANTTLib.exg2antt.FormatColumnEventHandler(this.exg2antt1_FormatColumn);

// LayoutChanged event - Occurs when column's position or column's size is changed.
private void exg2antt1_LayoutChanged(object sender)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.LayoutChanged += new exontrol.EXG2ANTTLib.exg2antt.LayoutChangedEventHandler(this.exg2antt1_LayoutChanged);

exg2antt1.BeginUpdate();
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Visible") as exontrol.EXG2ANTTLib.Column);
	var_Column.FireFormatColumn = true;
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAll;
	var_Chart.OverviewHeight = 64;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exg2antt1.SelBackColor = exg2antt1.BackColor;
exg2antt1.SelForeColor = exg2antt1.ForeColor;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2019",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2019",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_SelectItem(var_Items.FocusItem,true);
exg2antt1.EndUpdate();

1987:
How can I ensure that the bar fits the control's client area

// SelectionChanged event - Fired after a new item has been selected.
private void exg2antt1_SelectionChanged(object sender)
{
	int h = exg2antt1.Items.FocusItem;
	object k = exg2antt1.Items.get_FirstItemBar(h);
	object s = exg2antt1.FormatABC("(A+B)/2",exg2antt1.Items.get_ItemBar(h,k,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarStart),exg2antt1.Items.get_ItemBar(h,k,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEnd),null);
	exg2antt1.Chart.ScrollTo(s,1);
}
//this.exg2antt1.SelectionChanged += new exontrol.EXG2ANTTLib.exg2antt.SelectionChangedEventHandler(this.exg2antt1_SelectionChanged);

exg2antt1.BeginUpdate();
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2019",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2019",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FocusItem,true);
exg2antt1.EndUpdate();

1986:
Is it possible to change the caption from a column without to remove the column and add it with the new caption
(exg2antt1.Columns.Add("ColumnName") as exontrol.EXG2ANTTLib.Column).Caption = "NewName";
(exg2antt1.Columns.Add("ColumnName") as exontrol.EXG2ANTTLib.Column).HTMLCaption = "<b>New</b>Name";

1985:
How can I display the bar's duration in days, minutes, and so so on

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	(var_Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column).AllowSizing = false;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Duration") as exontrol.EXG2ANTTLib.Column);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,513);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"A");
		var_Column.FormatColumn = "trim((1:=int((0:=value)/365) ? =:1 + ` year(s) ` : ``)  + (1:=int((0:=(=:0 - (=:1*365)))/31) ? =:1 + ` month(s) ` : ``) + (1:=i" +
"nt((0:=(=:0 - (=:1*31)))/7) ? =:1 + ` week(s) ` : ``) + (1:=int((0:=(=:0 - (=:1*7)))/1) ? =:1 + ` day(s) ` : ``) + (1:=int((0:=(" +
"=:0 - =:1 + 1/24/60/60/2))*24) ? =:1 + ` hour(s) ` : ``) + (1:=int((0:=(=:0*24 - =:1))*60) ? =:1 + ` min(s) ` : ``) + (1:=int((0" +
":=(=:0*60 - =:1))*60) ? =:1 + ` sec(s)` : ``))";
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/30/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAll;
	var_Chart.OverviewHeight = 64;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exSecond;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowChangeUnitScale | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartMiddle | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("12/31/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/14/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2002 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	h = var_Items.AddItem("Task 4");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002 8:30:30",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
exg2antt1.EndUpdate();

1984:
How can I change the background color for checked items (EBN color, frame)

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exg2antt1.DefaultItemHeight = 22;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABUkIQAAYAQGKIcBiAKBQAGYBIJDEMQ3DjAUBjMK4ZwTC4AIQjCK4JDKHYJRpHEZgLBMJAAGIZYhhUYRUiYMkiJBGGDIDiGGI2SJAcbTVIEc" +
"x9EyUJSgSTJOjCMokTTIU4TTLYASbJafJJhWSaAiyMouDIOMg1BDNIw/Hika6jOgKUisNJXRzWIBTbDlOQ3JqnbCjOQRSrQBoNDAMAiiaKlbwJPK9RoieQXfwUAJrXJc" +
"FqXFSLVxNBKAQEBA=");
	var_Appearance.Add(1,"CP:2 1 1 -1 -1");
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.BackColor32 = 0x1000000;
	var_ConditionalFormat.ChartBackColor = var_ConditionalFormat.BackColor;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1983:
How can I change the caption of the checked items (sample 2)

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.SelBackColor = exg2antt1.BackColor;
exg2antt1.SelForeColor = exg2antt1.ForeColor;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "%CS0 = 1 ? `<bgcolor=000000><fgcolor=FFFFFF> ` + value + ` </fgcolor></bgcolor>` : value";
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1982:
How can I change the caption of the checked items (sample 1)

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "value + (%CS0 = 1 ? `<r><fgcolor=808080>(checked)` : ``)";
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1981:
How can I change the font for the checked items

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.DefaultItemHeight = 22;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	stdole.IFontDisp f = new stdole.StdFont();
		f.Name = exg2antt1.Font.Name;
		f.Size = 12;
	var_ConditionalFormat.Font = (f as stdole.IFontDisp);
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1980:
How can I bold the checked items

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.Bold = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1979:
How can I change the foreground color for checked items

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,128,128);
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1978:
How can I change the background color for checked items (solid color)

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(255,128,128);
	var_ConditionalFormat.ChartBackColor = var_ConditionalFormat.BackColor;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1977:
How can I change the color for checked Task bars

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.ApplyToBars = "Task,Summary";
	var_ConditionalFormat.BarColor = Color.FromArgb(255,0,0);
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1976:
I have defined "NonWorkingHours" for the Gantt, and the "exBarWorkingCount" properly excludes these hours as long as the Gantt is using "exDay" or "exHour" as the level unit. However when displaying a quarter or a year, I'm changing the unit to "exWeek", but then the "NonWorkingHours" are no longer excluded from the bars "exBarWorkingCount" and displays the wrong value

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	(var_Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column).AllowSizing = false;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Working") as exontrol.EXG2ANTTLib.Column);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"A");
		var_Column.FormatColumn = "((1:=int(0:=( 24*int(value) + (value - int(value) + 1/24/60/60/2)*24))) != 0 ? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((" +
"1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')";
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowChangeUnitScale | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartMiddle | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = "<%ddd%>";
	var_Chart.get_Level(1).Label = "<%hh%>";
	var_Chart.NonworkingHours = 16761855;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAll;
	var_Chart.OverviewHeight = 64;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
exontrol.EXG2ANTTLib.Chart var_Chart1 = exg2antt1.Chart;
	var_Chart1.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart1.ScrollTo(var_Chart1.FirstVisibleDate,1);
exg2antt1.EndUpdate();

1975:
Is it possible to customize the editor selection colour of the built in text editor, from standard blue to black

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.SelBackColor = Color.FromArgb(0,0,0);
exg2antt1.SelForeColor = Color.FromArgb(255,255,255);
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Editor var_Editor = (exg2antt1.Columns.Add("Edit") as exontrol.EXG2ANTTLib.Column).Editor;
	var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.MaskType;
	var_Editor.Mask = ";;;rich";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Just a text");
	var_Items.AddItem("");
exg2antt1.EndUpdate();

1974:
Is it possible to customize the editor selection colour of the built in dropdown editor, from standard blue to black

exg2antt1.BeginUpdate();
exg2antt1.SelBackColor = Color.FromArgb(0,0,0);
exg2antt1.SelForeColor = Color.FromArgb(255,255,255);
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Editor var_Editor = (exg2antt1.Columns.Add("DropDown") as exontrol.EXG2ANTTLib.Column).Editor;
	var_Editor.AddItem(1,"This is just the first item",null);
	var_Editor.AddItem(2,"This is just the second item",null);
	var_Editor.AddItem(3,"This is just the third item",null);
	var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DropDownType;
	var_Editor.Mask = ";;;rich";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Just a text");
	var_Items.AddItem("");
exg2antt1.EndUpdate();

1973:
When I display the chart in the daily view, the histogram shows correctly the data while if the chart displays the data in weekly or monthly view, the histogram shows no data or incorrectly. What can be the problem

// OverviewZoom event - Occurs once the user selects a new time scale unit in the overview zoom area.
private void exg2antt1_OverviewZoom(object sender)
{
	exg2antt1.Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
}
//this.exg2antt1.OverviewZoom += new exontrol.EXG2ANTTLib.exg2antt.OverviewZoomEventHandler(this.exg2antt1_OverviewZoom);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Effort") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,21);
	var_Column.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.SpinType;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.OverviewZoomCaption = "|||<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|||";
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"");
	var_Chart.OverviewZoomUnit = 64;
	var_Chart.LevelCount = 2;
	var_Chart.NonworkingDays = 0;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 128;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAll;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = var_Bar.Pattern;
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverload;
		var_Bar.HistogramCriticalValue = 3;
		var_Bar.HistogramItems = -7;
		var_Bar.HistogramGridLinesColor = Color.FromArgb(192,192,192);
		var_Bar.HistogramRulerLinesColor = Color.FromArgb(0,0,1);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellValue(h1,1,4);
	h1 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/24/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/26/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellValue(h1,1,3);
	h1 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/27/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellValue(h1,1,2);
	h1 = var_Items.AddItem("Task 4");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/30/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellValue(h1,1,1);
exg2antt1.EndUpdate();

1972:
The BeforeExpandItem event is fired when clicking the drop down filter button. What we can do to prevent that
// BeforeExpandItem event - Fired before an item is about to be expanded (collapsed).
private void exg2antt1_BeforeExpandItem(object sender,int   Item,ref object   Cancel)
{
	System.Diagnostics.Debug.Print( "BeforeExpandItem" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( "ColumnFromPoint" );
	System.Diagnostics.Debug.Print( exg2antt1.get_ColumnFromPoint(-1,-1).ToString() );
	System.Diagnostics.Debug.Print( "ColumnFromPoint return -1, if the user clicks the +/- glitch, else it returns the index of the column where the click occurs." );
	exg2antt1.Items.InsertItem(Item,null,"new child");
}
//this.exg2antt1.BeforeExpandItem += new exontrol.EXG2ANTTLib.exg2antt.BeforeExpandItemEventHandler(this.exg2antt1_BeforeExpandItem);

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	(var_Columns.Add("Items") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_ItemHasChildren(var_Items.InsertItem(null,null,"Group 1"),true);
	var_Items.set_ItemHasChildren(var_Items.InsertItem(null,null,"Group 2"),true);
exg2antt1.EndUpdate();

1971:
How do I change the drop down filter icon/button (black)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQ" +
"gmPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYTh" +
"dr4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA");
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.None2;
exg2antt1.BackColorHeader = Color.FromArgb(0,0,0);
exg2antt1.ForeColorHeader = Color.FromArgb(255,255,255);
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisible;
exg2antt1.BackColorLevelHeader = exg2antt1.BackColor;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Filter") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.AllowSort = false;
	var_Column.AllowDragging = false;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.BackColorLevelHeader = exg2antt1.BackColorHeader;
	var_Chart.ForeColorLevelHeader = exg2antt1.ForeColorHeader;
exg2antt1.EndUpdate();

1970:
How do I change the z-order of the bars (percent)

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	object b = exg2antt1.Chart.get_BarFromPoint(-1,-1);
	int i = exg2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exg2antt1.Items.get_ItemBar(i,b,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exg2antt1.DefaultItemHeight = 52;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("10/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.Bars.Add("Task%Progress").Shortcut = "Task";
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Copy("Task","T1");
		var_Bar.Color = Color.FromArgb(255,0,0);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%17 + `<b><font ;6><off -4> (z-key `+%9+`)`%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.25);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentColor,var_Bar.Color);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOffset,10);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentCaptionFormat,"<font ;6><b>%p%</b>");
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","T2");
		var_Bar1.Height = 26;
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%17 + `<b><font ;6><off -4> (z-key `+%9+`)`%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarVAlignCaption,16);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.25);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentColor,var_Bar1.Color);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentCaptionFormat,"<font ;6><b>%p%</b>");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task");
	var_Items.AddBar(h1,"T1",Convert.ToDateTime("10/15/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/25/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"2",null);
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar A");
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar A <b>Over</b> Bar B");
	var_Items.AddBar(h1,"T2",Convert.ToDateTime("10/18/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/22/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"1",null);
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar B");
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar B <b>Under</b> Bar A");
	h1 = var_Items.AddItem("Task");
	var_Items.AddBar(h1,"T1",Convert.ToDateTime("10/15/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/25/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"1",null);
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar A");
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar A <b>Under</b> Bar B");
	var_Items.AddBar(h1,"T2",Convert.ToDateTime("10/18/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/22/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"2",null);
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar B");
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar B <b>Over</b> Bar A");
exg2antt1.EndUpdate();

1969:
How do I change the z-order of the bars

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	object b = exg2antt1.Chart.get_BarFromPoint(-1,-1);
	int i = exg2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exg2antt1.Items.get_ItemBar(i,b,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exg2antt1.DefaultItemHeight = 52;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("10/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.NonworkingDays = 0;
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Copy("Task","T1");
		var_Bar.Color = Color.FromArgb(255,0,0);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%17 + `<b><font ;6><off -4> (z-key `+%9+`)`%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","T2");
		var_Bar1.Height = 25;
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%17 + `<b><font ;6><off -4> (z-key `+%9+`)`%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarVAlignCaption,16);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task");
	var_Items.AddBar(h1,"T1",Convert.ToDateTime("10/15/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/25/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"2",null);
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar A");
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar A <b>Over</b> Bar B");
	var_Items.AddBar(h1,"T2",Convert.ToDateTime("10/18/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/22/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"1",null);
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar B");
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar B <b>Under</b> Bar A");
	h1 = var_Items.AddItem("Task");
	var_Items.AddBar(h1,"T1",Convert.ToDateTime("10/15/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/25/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"1",null);
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar A");
	var_Items.set_ItemBar(h1,"1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar A <b>Under</b> Bar B");
	var_Items.AddBar(h1,"T2",Convert.ToDateTime("10/18/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/22/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"2",null);
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Bar B");
	var_Items.set_ItemBar(h1,"2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Bar B <b>Over</b> Bar A");
exg2antt1.EndUpdate();

1968:
How do I get the duration/working count of the bar (sample 6,excrd)

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 48;
exg2antt1.ShowFocusRect = false;
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exg2antt1.BackColorLevelHeader = exg2antt1.BackColor;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/26/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task:Split");
		var_Bar.Shortcut = "Task";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"<%=%263%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOffset,-12);
	var_Chart.ColumnsFormatLevel = "1,2/3";
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Duration") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,513);
	var_Column.Visible = false;
	var_Column.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.LeftAlignment;
	var_Column.FormatColumn = "value + `d`";
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.Visible = false;
	var_Column1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.RightAlignment;
	var_Column1.FormatColumn = "value + `w`";
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Working-Period") as exontrol.EXG2ANTTLib.Column);
	var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,263);
	var_Column2.Visible = false;
	var_Column2.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	var_Column2.FormatColumn = "((value replace `\\r\\n` with `,`) replace `#` with ``) replace ` ` with ``";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("12/31/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1967:
How do I get the duration/working count of the bar (sample 5)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemMaxHeight(Item,64);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task:Split");
		var_Bar.Shortcut = "Task";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"<%=%263%>");
	var_Chart.ColumnsFormatLevel = "1,2";
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Task") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 48;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Duration") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,513);
	var_Column1.Visible = false;
	var_Column1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.LeftAlignment;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column);
	var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column2.Visible = false;
	var_Column2.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.RightAlignment;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Working-Period") as exontrol.EXG2ANTTLib.Column);
	var_Column3.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,263);
	var_Column3.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/16/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1966:
How do I get the duration/working count of the bar (sample 4)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/26/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.ColumnsFormatLevel = "1,2";
(exg2antt1.Columns.Add("Task") as exontrol.EXG2ANTTLib.Column).Width = 48;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Duration") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,513);
	var_Column.Visible = false;
	var_Column.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.LeftAlignment;
	var_Column.FormatColumn = "value + `d`";
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.Visible = false;
	var_Column1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.RightAlignment;
	var_Column1.FormatColumn = "value + `w`";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1965:
How do I get the duration/working count of the bar (sample 3)

// BarResizing event - Occurs when a bar is moving or resizing.
private void exg2antt1_BarResizing(object sender,int   Item,object   Key)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(Item,0) );
		System.Diagnostics.Debug.Print( "Working" );
		System.Diagnostics.Debug.Print( var_Items.get_ItemBar(Item,Key,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarWorkingCount).ToString() );
		System.Diagnostics.Debug.Print( var_Items.get_CellCaption(Item,0) );
		System.Diagnostics.Debug.Print( "Duration" );
		System.Diagnostics.Debug.Print( var_Items.get_ItemBar(Item,Key,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration).ToString() );
}
//this.exg2antt1.BarResizing += new exontrol.EXG2ANTTLib.exg2antt.BarResizingEventHandler(this.exg2antt1_BarResizing);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/26/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
(exg2antt1.Columns.Add("Task") as exontrol.EXG2ANTTLib.Column).Width = 48;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1964:
How do I get the duration/working count of the bar (sample 2)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/26/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task:Split");
		var_Bar.Shortcut = "Task";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%258%>w");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarExtraCaption,"<%=%513%>d");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarExtraCaptionHAlign,16);
(exg2antt1.Columns.Add("Task") as exontrol.EXG2ANTTLib.Column).Width = 48;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1963:
How do I get the duration/working count of the bar (sample 1)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
(exg2antt1.Columns.Add("Task") as exontrol.EXG2ANTTLib.Column).Width = 48;
(exg2antt1.Columns.Add("Duration") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,513);
(exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1962:
How can I draw a solid frame around the the focusing item

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exg2antt1.DefaultItemHeight = 20;
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.RenderType = -1;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOkGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBKUQSDqEYyjGLIXAWCYSAAMIwDKAUEwpFAZBhgeDYMiSNoYDJCM4wH" +
"IURRJFCUJSGWQpTgSIgyT5HFIxXKoASbJabZLhWS6EpWOotTbIQQRYCkEyfKKfZyGURZQqOKA1DBZErWTJESRFJqLazgO4LAhyQYrVgAErzVKVCRNOqbJzADApdpGQJT" +
"ULDNTQHRFIyhOSnIRrWbMAhid6JUZiVT4dBOIYhSYANAqCwLFqrDJmWrpV5WZjlZ47V6BdAyXJsIrmFJEXaOGhyDDlGybSDZYryfZhUziUw4XjbWwZDqPF6DKTTdSGLR" +
"EE8WZVlURZvDaep3C+AY8kAYRgGCCBJECUhjDoHROEYWgoAGTQ1CEEx9lGMY0CQUYSnuZQDBGBYFlOH5+H+igGAKAJgEgFgGgGVgDn4CoCmCSA2A6A5hAgDgQgSYRIE4" +
"EoFGGCBiBeBhhkgPgbgcYgICoH4IGGWIOCSBhiGiHgVgoYooFoAoLGIWI+DCCgjCiTgrgII4ImYOoOmOSJ2AYOpWlQDQBICA=");
exg2antt1.ShowFocusRect = true;
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exShowFocusRect,0x1000000);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Chart.set_PaneWidth(true,1);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("P1") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.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);
exg2antt1.EndUpdate();

1961:
The frame around the focusing item is not very clear. Can I show it larger or more cleared (sample 2)

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exg2antt1.DefaultItemHeight = 20;
exg2antt1.ShowFocusRect = true;
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.RenderType = -1;
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABPEGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBKUQSDqEYyjGLIXAWCYSAAMIwDKAUEwpFAZBhgeCRUgyJI3RgMUIzV" +
"AcRRFEiUJQlIZZCjOAw0SIMU7xZRcNxsACnaZnCR4NiuRYiUhOcqzRIQIQ4CiEahqOgJbDUJYwWZKAyjBY8XTZFCSJCpeJ6egOc5jRxQUp1WAEXx3GSsJKvCZ5cADBY+" +
"VLQNS0JBtMSTKSLaiuWoIJqCPaDRheWKQJh1NSnLqEcjyYANDxDCZlWzAYxWTZ2Uz7N7PbB0HY4DyPGKZYrfESVRbQcZNS6nNigPI9XhfGq6VjRe63ZaOaYpWrnOJqTR" +
"WjOKYujWdZ2BGO5lkuBAAkmcQkDmDBEAwEQJCgGhMGcQ4pkiSxGAAOYmkQIhvkYNg2gSCgyj+LI4GIMIwF2XQoAYAoAmASAWAaAZgggJgKFiT54DYDoDmECBGBKBJgGg" +
"TgWgWYRoFYGIGmGOBqByB5hCgegggiYJYgoJIICIaIeByChiigYgsgsYYYBYMIKCMKJOCuDRjGiOgLg6Y5InYPoPmQCAkmsXAQDQBCAg=");
	var_Appearance.Add(3,"CP:2 -3 0 3 0");
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exShowFocusRect,0x3010101);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Chart.set_PaneWidth(true,1);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("P1") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.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);
exg2antt1.EndUpdate();

1960:
The frame around the focusing item is not very clear. Can I show it larger or more cleared (sample 1)

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exg2antt1.ShowFocusRect = true;
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABHoDg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKcGRHF6MI6gOYpCgOIYjRJNIASV" +
"AceAAGaUZrjSgobjmOYhAJCLqhYIgASXJqLaBlOCaAieSc+QhjQJIJoeCZXU5TFg1BTsOhqEqcRiseaRVDCaIJWzbdYWLDdNQHHKYLjnWorbpSJZ5XjNEySDQkMS9PrE" +
"J7vST8FBCdAABLJUB2BR9RwxRafKpnWwJDpmCaOQLXEB5DK1PyVMTKYrtGy7GrIAJxWxbV4UHh+QABOzIMAvHKJMwvHYcUZne5XVLeF41HbONogPaJZyIAK2cLROq6Xo" +
"7GEcJZEcLASB4DwvgWUZlE6AQQhKAYkkYdA6hyDIwHgSoqFwQgmnsYxjGgSIiBOTpSEiAwRgOJI7j4JAHA6U5wm0MpPlOBIjD8TZiGYCICiCGAuA6AxhAgMgSgOYQ4DY" +
"Bg/g6cw1n+ABOmMMJ9DmCwjnScw4RsVJngkYh4hoKIKmKKI2CmC5ikiQgqgiT5jhyMw8g4QwIn0OIKEiCJhD8DwTGyfA7k0WQOEWEQkGkJhIhKZB5DYSoTiSCQEn4PQO" +
"COXJcCeIJjliaIQk0aRyF4O5llmAhfhgZhJg4ZoYiaAxYn4PZOhOZJaCUZYTiYQw1mcOZUm+HQnHmWh4h6Z4pnYeYfk0eYsmqG4nAgNJ2DqD5DkCWoiGiOgqgyI5omoR" +
"oNiSaQKFKEojCaM4ugSFhOjkAJcieKgDkaH4oioGoOiaKRqgqEoqDddwyhuAxPgOMJ8DyDZqk6NYtCsapmjiLprHqdo6i+K5K1oPhOlqPgKD4DpjnII4yiOewuk6MxtA" +
"sMpSjObQ7EaT4wk6ewYn0PgPAiCJkjeLgDk6X44i4G4OmaORuguEpqDkLAzkaWg+E8GIUmaPIvEOVpzj2Lxbl6eo+G+S5in4OYPmOaJyjuTwjnYWpBg6DAjAqQZwkwJw" +
"NkKcJsEcEJCDBEpaD6Dw8BiapGjGSgfB2RpxmyBwgkicZ8haBw/g+M5TBcPQPlOXJskscp8jsMJMnMLJXDGTZzEyYw2kwMoDlcFw9i2M4/EGUJPg0CxFlENBtCcSJSnQ" +
"fQ0m+SgPHsaJ7lALZLG6XZVHWDRfFqVY1k0ZxdladYTnifJUGaeAWAeMnSGcGWgBObJ3lWbwdjKW5cHcTZPHaLkN4GxXDlFqFsA4uRbBOGAFAEIzAsDEFOBkfYqR4D6A" +
"OBEYo8QuBvAmMceInBDgcD0JwOIqQyJ1DMAwG4IANDnHSMoK4QhOgMBGNEIQvQWAdGenETIswGiddsAAQAgCAgA==");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABeEGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADDFIBQSLAYROGSDJBGODJDjWGIeQLOEhQH" +
"IMRxPE6UYLhWYpBDKPYcUbGc7yBBMVwGf59XzACoKSheQIVSDQkw6Fo6NYhAxHALyNRkBy8f60KjtGpodDUJYvW5JYyjBZ8EznOqbJBkeJ7BgOe5NQjaD72VgdWQJFSW" +
"JajWYYJDOJY2ZAAE5TVINEwxJbDaylChIdxaF6WAzZEBhBYoATPNLBMrhWqKDw2XaQWBCOgwHYeR5LU7BdRwbIrRq2eAAXbcVyXfDddZlBK+QA0SK9lRVTKvJZmKgBWw" +
"1COSxmAAGw4kcNx1iKFBiCAfQsG8lJemucg7nsXpUHOOxrm+DI3jOH4XAOBx2nscw0j2HhPG4L5uGEVIECQCBCEUAYkGMHQHFGSBlGaAxkEgQgTGCVBsDYQhCgQJZrHK" +
"UggGEShkFGNgIlsNpPnMHJHD+TADAIJIJiIWIeCqChikiIgmgiD5zHyXxgiACJKCuC4jHiZgtg6I4IlkCQwkwOIonMPJjEkFhGhGZBpA4KoMBCGJuEiE5lAkGg7hMY4J" +
"EYVoUCUNAOE6FZl0KWQACWOR2GKF5mBmChchkJRZhoXYaCKKYqGuDglEmNhuhWZpIiYc4dCcCRqGmHZlgm2YxAwSQKESHwkFkKgpiAIAIH4PIimOOg2DiChoiQJRRD+T" +
"ZDHCfwyAyCgyg+JpiioYJ/DgDgIlECQ6lwRAEICA=");
	var_Appearance.Add(3,"CP:2 -2 0 2 0");
exg2antt1.SelBackColor32 = 0x1000000;
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exg2antt1.Chart.set_PaneWidth(true,1);
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exShowFocusRect,0x3ff0000);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("P1") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.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);
exg2antt1.EndUpdate();

1959:
How can I display the start/end margins of bars, when cursor hovers it like a tooltip

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("exBarToolTip");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"<b><%=%9 + '/' + %C0%></b><br><upline><dotline>Start: <%=%1%><br>End: <%=%2%><br>Duration: <%=(%2-%1)%><br>Working: <%=%258%>");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Bar.Def"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Bar.Def"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h = var_Items.AddItem("Items.ItemBar");
	var_Items.AddBar(h,"Unknown",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	var_Items.set_ItemBar(h,"K",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Start:<%=%1%><br>End:<%=%2%>");
exg2antt1.EndUpdate();

1958:
Is it possible to define different kinds of summary bars with using the EBN files

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.RenderType = -16777216;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABN0GACAADACAxRDAMgBQKAAzQFAYahuGSGAAGMYxQgmFgAQhFcZQSKUOQTDKMIziYBYJhEMQyDAAUIjOKsIhkGYcZAGQBJCjWGodQLOEgwH" +
"IERQjEyUJAGGQIHhyPYbUbGUpQHKkeRtGqgBgoKhKEouNYgAbGYIwTRsdyfDSXBpEWwbDgkNQwWTDNoRDIUQStCysaYjOpnfrUAJ1P7FdQ1NJkXRhGSSK7maapaiCSZ6" +
"STCMj1FhVKSNJ7DQKhGpgKh/ApgYpQOK4fLNXyRBK4QAyKA6bgPFZOZbFViaXY1V5bNKrcjhHQwAyHJ4XXRdV4YRAkUT4GqiJKGSYcQhuXZWbRqO6ABhef6DRThc6jKp" +
"FHIE4llEcojHqSZNgoIxnlgd5thsLREleL43gsYZ9BkaAYkMAgAm+CxGDWWAtiKCRfjcdRgHoHYnicUwgAIEIREAaQYkcQZUHIGRUDQJBOEYRAhDYCxGgMZAkCgdYQha" +
"XQIAYERwQuahXggdgeG6VZ4H4IhdiIGIOB8YIiGiHZZgqYpGF4KYHiKCI+CAU5jCiTQ2g0YhEFyax4gABAEIC");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABU0IQAAYAQGKQYhiAKBQAGaAoDDcMA4QwAAyjAKMEwsACEIrjKCRShyCYZRhGcTAJBMIhiGQYAChEZxVhEMgzDjIAxSJAcQRFESaAABGCQG" +
"h+N4/S4NIi0CIsZQjCaiZ7pKA5bgMCo+UrNMixZQVCSOGChYRpCaZWpGGodQRUFbVHAlKypJKCKrEWSrDhuYAAW7XM7yBS1TzVNSuLZtaLqSroAJ1WTWMB0Ra8NzZEKf" +
"aZACj4arKejrRDCMAggI=");
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar.Color = Color.FromArgb(1,0,0);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars["Summary"];
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar1.Color32 = 0x2000000;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int hSummaryJ = var_Items.AddItem("Summary A");
	var_Items.AddBar(hSummaryJ,"Summary",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"J",null);
	int hTaskJ = var_Items.InsertItem(hSummaryJ,null,"Task A.1");
	var_Items.AddBar(hTaskJ,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"J1",null);
	hTaskJ = var_Items.InsertItem(hSummaryJ,null,"Task A.2");
	var_Items.AddBar(hTaskJ,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"J2",null);
	var_Items.DefineSummaryBars(hSummaryJ,"J",-1,"<*>");
	int hSummaryK = var_Items.AddItem("Summary B");
	var_Items.AddBar(hSummaryK,"Summary",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	int hTaskK = var_Items.InsertItem(hSummaryK,null,"Task B.1");
	var_Items.AddBar(hTaskK,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	hTaskK = var_Items.InsertItem(hSummaryK,null,"Task B.2");
	var_Items.AddBar(hTaskK,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.DefineSummaryBars(hSummaryK,"K",-1,"<*>");
	var_Items.set_ItemBar(0,"<K*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	int hSummaryZ = var_Items.AddItem("Summary B");
	var_Items.AddBar(hSummaryZ,"Summary",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Z",null);
	int hTaskZ = var_Items.InsertItem(hSummaryZ,null,"Task B.1");
	var_Items.AddBar(hTaskZ,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Z1",null);
	hTaskZ = var_Items.InsertItem(hSummaryZ,null,"Task B.2");
	var_Items.AddBar(hTaskZ,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Z2",null);
	var_Items.DefineSummaryBars(hSummaryZ,"Z",-1,"<*>");
	var_Items.set_ItemBar(hSummaryZ,"Z",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,16842496);
	var_Items.set_ItemBar(0,"<Z1>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,50266112);
	var_Items.set_ItemBar(0,"<Z2>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,33554176);
	var_Items.set_ExpandItem(0,true);
exg2antt1.EndUpdate();

1957:
How can I display the week-number in ISO8601 format

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/12/2007",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exWeek;
	var_Chart.get_Level(0).FormatLabel = "value + `<r><off -4><fgcolor=808080><font ;6>` + year(dvalue)";
	var_Chart.get_Level(1).FormatLabel = "(value = 1 ? `<bgcolor=000000><fgcolor=FFFFFF>` : ``) + value";
	var_Chart.WeekNumberAs = exontrol.EXG2ANTTLib.WeekNumberAsEnum.exISO8601WeekNumber;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
exg2antt1.EndUpdate();

1956:
I have a column right-aligned. How can I display its check box aligned to the right, as it appears to the left of the cell's caption

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = true;
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exVLines;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Left") as exontrol.EXG2ANTTLib.Column);
		var_Column.AllowSizing = false;
		var_Column.Width = 96;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.FormatColumn = "0 pos `A-Z`";
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Center") as exontrol.EXG2ANTTLib.Column);
		var_Column1.HeaderAlignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Column1.Alignment = var_Column1.HeaderAlignment;
		var_Column1.AllowSizing = false;
		var_Column1.Width = 96;
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.FormatColumn = "0 pos `A-Z`";
	exontrol.EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("Right") as exontrol.EXG2ANTTLib.Column);
		var_Column2.HeaderAlignment = exontrol.EXG2ANTTLib.AlignmentEnum.RightAlignment;
		var_Column2.Alignment = var_Column2.HeaderAlignment;
		var_Column2.AllowSizing = false;
		var_Column2.Width = 96;
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.FormatColumn = "0 pos `A-Z`";
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check,icon,icons,picture");
	var_Columns.Add("");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exg2antt1.EndUpdate();

1955:
Can I display the column's multiple-lines caption vertically oriented (method 2)

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 48;
exg2antt1.ColumnAutoResize = true;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("") as exontrol.EXG2ANTTLib.Column);
		var_Column.HTMLCaption = "First Column";
		var_Column.HeaderVertical = true;
		var_Column.Width = 36;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column.Position = 0;
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("") as exontrol.EXG2ANTTLib.Column);
		var_Column1.HTMLCaption = "<c><b>Second Column";
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 36;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column1.Position = 1;
	exontrol.EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("") as exontrol.EXG2ANTTLib.Column);
		var_Column2.HTMLCaption = "<r>Third Column";
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 36;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column2.Position = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exg2antt1.EndUpdate();

1954:
Can I display the column's multiple-lines caption vertically oriented (method 1)

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 48;
exg2antt1.HeaderSingleLine = false;
exg2antt1.ColumnAutoResize = true;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("First Column") as exontrol.EXG2ANTTLib.Column);
		var_Column.HeaderVertical = true;
		var_Column.Width = 36;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column.Position = 0;
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Second Column") as exontrol.EXG2ANTTLib.Column);
		var_Column1.HeaderBold = true;
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 36;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column1.Position = 1;
	exontrol.EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("Third Column") as exontrol.EXG2ANTTLib.Column);
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 36;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column2.Position = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exg2antt1.EndUpdate();

1953:
Can I display the column's caption vertically oriented (method 2)

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 48;
exg2antt1.ColumnAutoResize = true;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("") as exontrol.EXG2ANTTLib.Column);
		var_Column.HTMLCaption = "First";
		var_Column.HeaderVertical = true;
		var_Column.Width = 20;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Position = 0;
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("") as exontrol.EXG2ANTTLib.Column);
		var_Column1.HTMLCaption = "<c><b>Second";
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 20;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.Position = 1;
	exontrol.EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("") as exontrol.EXG2ANTTLib.Column);
		var_Column2.HTMLCaption = "<r>Third";
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 20;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.Position = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exg2antt1.EndUpdate();

1952:
Can I display the column's caption vertically oriented (method 1)

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 48;
exg2antt1.ColumnAutoResize = true;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("First") as exontrol.EXG2ANTTLib.Column);
		var_Column.HeaderVertical = true;
		var_Column.Width = 20;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Position = 0;
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Second") as exontrol.EXG2ANTTLib.Column);
		var_Column1.HeaderBold = true;
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 20;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.Position = 1;
	exontrol.EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("Third") as exontrol.EXG2ANTTLib.Column);
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 20;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.Position = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exg2antt1.EndUpdate();

1951:
How can I resize all task-bars 0-length

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx("itembar(513) = 0 and itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.set_ItemBarEx("itembar(513) = 0 and itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration,"value + 1");
exg2antt1.EndUpdate();

1950:
Is it possible to mark items that holds items with 0-length (zero,empty, sample 3)
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Duration") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,513);
	var_Column.Visible = false;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%1 = 0",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.BackColor = Color.FromArgb(190,190,190);
	var_ConditionalFormat.ChartBackColor = var_ConditionalFormat.BackColor;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1949:
Is it possible to mark items that holds items with 0-length (zero,empty, sample 2)

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx("itembar(513) = 0",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"`zero-length`");
exg2antt1.EndUpdate();

1948:
Is it possible to mark items that holds items with 0-length (zero,empty, sample 1)

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx("itembar(513) = 0",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarBackgroundExt,"`[frame=RGB(255,0,0),framethick,pattern=6,patterncolor=RGB(255,0,0)]`");
	var_Items.set_ItemBarEx("itembar(513) = 0",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarBackgroundExtInflate,"`-4,-4,4,4`");
exg2antt1.EndUpdate();

1947:
How can I find how many tasks/bars of 0-length (zero,empty) do I have

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	System.Diagnostics.Debug.Print( var_Items.get_ItemBarEx("itembar(513) = 0",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
exg2antt1.EndUpdate();

1946:
How can I remove all bars from selected items

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.SelBackColor = Color.FromArgb(240,240,240);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.OverlaidGroup = "Task,Task-Diff";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","Task-Diff");
		var_Bar1.Height = 4;
		var_Bar1.Color = Color.FromArgb(255,0,0);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,16);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(h,true);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(h,"Task-Diff",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P",null);
	var_Items.set_SelectItem(h,true);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	System.Diagnostics.Debug.Print( "Bars before remove: " );
	System.Diagnostics.Debug.Print( var_Items.get_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
	var_Items.set_ItemBarEx("itemisselected",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKey,"`toberemove` + value ");
	var_Items.RemoveBar(0,"<toberemove*>");
	System.Diagnostics.Debug.Print( "Bars after remove: " );
	System.Diagnostics.Debug.Print( var_Items.get_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
exg2antt1.EndUpdate();

1945:
How can I remove task bars from selected items

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.SelBackColor = Color.FromArgb(240,240,240);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.OverlaidGroup = "Task,Task-Diff";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","Task-Diff");
		var_Bar1.Height = 4;
		var_Bar1.Color = Color.FromArgb(255,0,0);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,16);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(h,true);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(h,"Task-Diff",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P",null);
	var_Items.set_SelectItem(h,true);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	System.Diagnostics.Debug.Print( "Bars before remove: " );
	System.Diagnostics.Debug.Print( var_Items.get_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
	var_Items.set_ItemBarEx("itemisselected and itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKey,"`toberemove` + value ");
	var_Items.RemoveBar(0,"<toberemove*>");
	System.Diagnostics.Debug.Print( "Bars after remove: " );
	System.Diagnostics.Debug.Print( var_Items.get_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
exg2antt1.EndUpdate();

1944:
How can I change the pattern for some bars only

exg2antt1.BeginUpdate();
(exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,0,1);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,0,1);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx("cellstate(0)",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,6);
exg2antt1.EndUpdate();

1943:
How do I apply the same effort to all bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,2);
exg2antt1.EndUpdate();

1942:
How do I apply the same percent to all bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task%Progress");
		var_Bar.Shortcut = "Task";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.5);
exg2antt1.EndUpdate();

1941:
How can I set the same duration for all bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration,4);
exg2antt1.EndUpdate();

1940:
How do I move all bars to end at the same date-time

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMoveEnd,"#8/15/2017#");
exg2antt1.EndUpdate();

1939:
How do I move all bars to start at the same date-time

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMoveStart,"#8/2/2017#");
exg2antt1.EndUpdate();

1938:
How do I apply a new color for some bars, while others should be shown with a different color

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.SelBackColor = Color.FromArgb(240,240,240);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.OverlaidGroup = "Task,Task-Diff";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","Task-Diff");
		var_Bar1.Height = 4;
		var_Bar1.Color = Color.FromArgb(255,0,0);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,16);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(h,"Task-Diff",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P",null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,"cellcaption(0) like `*2` ? 0x0000FF : 0x00FF00");
exg2antt1.EndUpdate();

1937:
How do I hide some bars, and show others

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.SelBackColor = Color.FromArgb(240,240,240);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.OverlaidGroup = "Task,Task-Diff";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","Task-Diff");
		var_Bar1.Height = 4;
		var_Bar1.Color = Color.FromArgb(255,0,0);
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<font ;6><%=%0%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,16);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(h,true);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(h,"Task-Diff",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P",null);
	var_Items.set_SelectItem(h,true);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBarEx("-1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,"itembar(0) = `Task` ? 0 : 100");
exg2antt1.EndUpdate();

1936:
I like how ItemBarEx works, the question is how can I remove the bars based on the same criteria

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	System.Diagnostics.Debug.Print( "Bars before remove: " );
	System.Diagnostics.Debug.Print( var_Items.get_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
	var_Items.set_ItemBarEx("cellcaption(0) like `*2 *3`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKey,"`toberemove` + value ");
	var_Items.RemoveBar(0,"<toberemove*>");
	System.Diagnostics.Debug.Print( "Bars after remove: " );
	System.Diagnostics.Debug.Print( var_Items.get_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
exg2antt1.EndUpdate();

1935:
Is it possible to automatically color the bar being checked

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0","check");
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ApplyToBars = "Task";
	var_ConditionalFormat.BarColor = Color.FromArgb(0,0,1);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.Width = 256;
(exg2antt1.Columns.Add(exg2antt1.ConditionalFormats["check"].Expression) as exontrol.EXG2ANTTLib.Column).FormatColumn = exg2antt1.ConditionalFormats["check"].Expression;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,0,1);
	h = var_Items.AddItem("Item 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,0,1);
exg2antt1.EndUpdate();

1934:
How do I automatically bold items being checked

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0","check");
	var_ConditionalFormat.Bold = true;
(exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
(exg2antt1.Columns.Add(exg2antt1.ConditionalFormats["check"].Expression) as exontrol.EXG2ANTTLib.Column).FormatColumn = exg2antt1.ConditionalFormats["check"].Expression;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.set_CellState(var_Items.AddItem("Item 2"),0,1);
	var_Items.AddItem("Item 3");
exg2antt1.EndUpdate();

1933:
Can I display the radio-button with a solid color

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.set_RadioImage(false,32699122);
exg2antt1.set_RadioImage(true,16777216);
(exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasRadioButton,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Radio 1");
	var_Items.set_CellState(var_Items.AddItem("Radio 2"),0,1);
	var_Items.AddItem("Radio 1");
exg2antt1.EndUpdate();

1932:
Can I display the check-box with a solid color

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.set_CheckImage(exontrol.EXG2ANTTLib.CheckStateEnum.Unchecked,32699122);
exg2antt1.set_CheckImage(exontrol.EXG2ANTTLib.CheckStateEnum.Checked,16777216);
(exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Check 1");
	var_Items.set_CellState(var_Items.AddItem("Check 2"),0,1);
	var_Items.AddItem("Check 3");
exg2antt1.EndUpdate();

1931:
How can I use the CellState with ConditionalFormat/ComputedField/FormatColumn

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exGroupLinesInsideLeaf;
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Format") as exontrol.EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "%CS0";
	var_Column1.Caption = var_Column1.FormatColumn;
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exHeaderForeColor,var_Column1.get_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Item 1");
	var_Items.set_CellState(var_Items.InsertItem(h,null,"Item 2"),0,1);
	var_Items.set_CellState(var_Items.InsertItem(h,null,"Item 3"),0,1);
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1930:
How can I use the CellData with ConditionalFormat/ComputedField/FormatColumn

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.Columns.Add("Items");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Format") as exontrol.EXG2ANTTLib.Column);
	var_Column.FormatColumn = "%CD0";
	var_Column.Caption = var_Column.FormatColumn;
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exHeaderForeColor,var_Column.get_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellData(var_Items.AddItem("Item 1"),0,1234);
	var_Items.set_CellData(var_Items.AddItem("Item 2"),0,"this is just an user data");
	var_Items.set_CellData(var_Items.AddItem("Item 3"),0,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.EndUpdate();

1929:
How can I use the CellValue/CellCaption with ConditionalFormat/ComputedField/FormatColumn

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DropDownListType;
		var_Editor.AddItem(1,"Item 1",null);
		var_Editor.AddItem(2,"Item 2",null);
		var_Editor.AddItem(3,"Item 3",null);
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Format") as exontrol.EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "%0";
	var_Column1.Caption = var_Column1.FormatColumn;
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exHeaderForeColor,var_Column1.get_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor));
	var_Column1.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Format") as exontrol.EXG2ANTTLib.Column);
	var_Column2.FormatColumn = "%C0";
	var_Column2.Caption = var_Column2.FormatColumn;
	var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exHeaderForeColor,var_Column2.get_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellForeColor));
	var_Column2.AllowSizing = false;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(1);
	var_Items.set_CellValue(var_Items.AddItem(0),0,2);
	var_Items.AddItem(2);
exg2antt1.EndUpdate();

1928:
How can I use the ShowNonworkingHours property (hide the non-working hours)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 16253183;
	var_Chart.ShowNonworkingHours = false;
	var_Chart.ShowNonworkingUnits = false;
exg2antt1.EndUpdate();

1927:
How can I use the ShowNonworkingDates property (hide the non-working days)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
exg2antt1.EndUpdate();

1926:
How can I show/hide bars once the user checks or un-checks a column

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,"cellstate(0) = 1 ? 0 : 100");
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,"cellstate(0) = 1 ? 0 : 100");
exg2antt1.EndUpdate();

1925:
How can I change the color for all Task bars

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,65280);
exg2antt1.EndUpdate();

1924:
Is it possible to automatically select bars only when user selects a new item

// SelectionChanged event - Fired after a new item has been selected.
private void exg2antt1_SelectionChanged(object sender)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,"itemisselected");
}
//this.exg2antt1.SelectionChanged += new exontrol.EXG2ANTTLib.exg2antt.SelectionChangedEventHandler(this.exg2antt1_SelectionChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Tasks");
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exNoSelectObjects;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1923:
Is it possible to automatically select bars only when the user clicks the column's checkbox

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,"cellstate(0) = 1");
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exNoSelectObjects;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1922:
How do I select all bars on leaf items

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("itemlevel = 1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
exg2antt1.EndUpdate();

1921:
How can I change the caption for all checked Task bars

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("(cellstate(0) = 1) and (itembar(0) = `Task`)",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"`new caption`");
exg2antt1.EndUpdate();

1920:
How can I change the caption for all Task bars

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("(itembar(0) = `Task`)",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"`new caption`");
exg2antt1.EndUpdate();

1919:
How can I change the caption for all bars

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"`new caption`");
exg2antt1.EndUpdate();

1918:
How can I move all Task bars to end at the same date time

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("(itembar(0) = `Task`)",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,"#8/14/2017# - itembar(2)");
exg2antt1.EndUpdate();

1917:
How can I move all Task bars to start at the same date time

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("(itembar(0) = `Task`)",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,"#8/3/2017# - itembar(1)");
exg2antt1.EndUpdate();

1916:
How can I change the color for checked Task bars

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("cellstate(0) = 1 and itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
exg2antt1.EndUpdate();

1915:
How do I resize all Task bars programatically

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEnd,"value + 2");
exg2antt1.EndUpdate();

1914:
How do I move just the checked Task bars in the chart

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("cellstate(0) = 1 and itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,-2);
exg2antt1.EndUpdate();

1913:
How do I move all Task bars in the chart

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,1);
exg2antt1.EndUpdate();

1912:
How do I count all Task bars in the chart
exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Tasks");
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	System.Diagnostics.Debug.Print( var_Items.get_ItemBarEx("itembar(0) = `Task`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarsCount).ToString() );
exg2antt1.EndUpdate();

1911:
How do I select bars whose items are checked

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SelBackColor = Color.FromArgb(240,240,240);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.SelBarColor = Color.FromArgb(128,128,128);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/8/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(hChild,null,1);
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"sum",null);
	var_Items.DefineSummaryBars(h,"sum",-3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBarEx("cellstate(0) = 1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
exg2antt1.EndUpdate();

1910:
How can I select all bars, where a specified column matches a specified criteria

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_PaneWidth(false,48);
exg2antt1.Chart.SelBarColor = Color.FromArgb(255,0,0);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 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")),"K1","K1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","K2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P","P");
	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")),"Q","Q");
	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")),"M","M");
	var_Items.set_ItemBarEx("cellcaption(0) = `Task 1`",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
exg2antt1.EndUpdate();

1909:
How can I select/unselect all bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_PaneWidth(false,48);
exg2antt1.Chart.SelBarColor = Color.FromArgb(255,0,0);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 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")),"K1","K1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","K2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"P","P");
	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")),"Q","Q");
	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")),"M","M");
	var_Items.set_ItemBarEx(true,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
exg2antt1.EndUpdate();

1908:
Is it possible to set the background color of the chart for one item and one day
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Items");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item");
	int h = var_Items.AddItem("Item");
	var_Items.AddBar(h,"",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Back"," ");
	var_Items.set_ItemBar(h,"Back",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarBackColor,255);
	var_Items.set_ItemBar(h,"Back",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelectable,false);
	var_Items.AddItem("Item");
exg2antt1.EndUpdate();

1907:
It is possible to search for an item ( inside the Editor ), case insensitive

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Editor var_Editor = (exg2antt1.Columns.Add("DropDownList") as exontrol.EXG2ANTTLib.Column).Editor;
	var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DropDownListType;
	var_Editor.AddItem(1,"One",null);
	var_Editor.AddItem(2,"Two",null);
	var_Editor.AddItem(3,"Three",null);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(exg2antt1.Columns[0].Editor.get_FindItem(">ONE"));
	var_Items.AddItem(exg2antt1.Columns[0].Editor.get_FindItem(">ThRee"));
	var_Items.AddItem(exg2antt1.Columns[0].Editor.get_FindItem("ONE"));
	var_Items.AddItem(exg2antt1.Columns[0].Editor.get_FindItem(">tWo"));
exg2antt1.EndUpdate();

1906:
The text after the BR-tag is in same line as the text before the BR-tag (entire column)

exg2antt1.BeginUpdate();
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("This is the first line.<br>This is the second line.");
	var_Items.AddItem("This is the first line.<br>This is the second line.");
	var_Items.AddItem("This is the first line.<br>This is the second line.");
exg2antt1.EndUpdate();

1905:
The text after the BR-tag is in same line as the text before the BR-tag (individual)

exg2antt1.BeginUpdate();
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("This is the first line.<br>This is the second line."),0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
	int h = var_Items.AddItem("<b>This is the first line.<br>This is the second line.</b>");
	var_Items.set_CellValueFormat(h,0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,false);
	var_Items.set_CellValueFormat(var_Items.AddItem("This is the first line.<br>This is the second line."),0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
exg2antt1.EndUpdate();

1904:
How do I prevent showing the control's BackColorAlternate property on empty / non-items part of the control

exg2antt1.BeginUpdate();
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.BackColorAlternate32 = 0x7ff0f0f0;
exg2antt1.BackColorLevelHeader = exg2antt1.BackColor;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 5"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1903:
Can I disable an item once the user selects a new value into a different item

// Change event - Occurs when the user changes the cell's content.
private void exg2antt1_Change(object sender,int   Item,int   ColIndex,ref object   NewValue)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_EnableItem(var_Items[1],false);
}
//this.exg2antt1.Change += new exontrol.EXG2ANTTLib.exg2antt.ChangeEventHandler(this.exg2antt1_Change);

exg2antt1.FreezeEvents(true);
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.Columns.Add("Q");
exg2antt1.Columns.Add("A");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("What's your gender?");
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Items.get_CellEditor(h1,1);
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DropDownListType;
		var_Editor.AddItem(1,"Male",null);
		var_Editor.AddItem(0,"Female",null);
	var_Items.set_CellValue(h1,1,1);
	int h2 = var_Items.AddItem("What's pet name?");
	var_Items.set_CellValue(h2,1,"This is my pet favorite long long long name, that shoul break the line in multiple pieces");
	var_Items.set_CellSingleLine(h2,1,false);
exg2antt1.EndUpdate();
exg2antt1.FreezeEvents(false);

1902:
How can I get a row expanded / enlarged to fit the cell's text (entire column)

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.Columns.Add("Q");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("A") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.MemoType;
		var_Editor.Appearance = exontrol.EXG2ANTTLib.InplaceAppearanceEnum.SingleApp;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("What's name?");
	var_Items.set_CellValue(h1,1,"This is my pet favorite long long long name, that shoul break the line in multiple pieces");
	int h2 = var_Items.AddItem("What's your pet name?");
	var_Items.set_CellValue(h2,1,"This is my pet favorite long long long name, that shoul break the line in multiple pieces");
exg2antt1.EndUpdate();

1901:
How can I get a row expanded / enlarged to fit the cell's text (individual cell)

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.Columns.Add("Q");
exg2antt1.Columns.Add("A");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("What's name?");
	var_Items.set_CellValue(h1,1,"This is my pet favorite long long long name, that shoul break the line in multiple pieces");
	int h2 = var_Items.AddItem("What's your pet name?");
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Items.get_CellEditor(h2,1);
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.MemoType;
		var_Editor.Appearance = exontrol.EXG2ANTTLib.InplaceAppearanceEnum.SingleApp;
	var_Items.set_CellValue(h2,1,"This is my pet favorite long long long name, that shoul break the line in multiple pieces");
	var_Items.set_CellSingleLine(h2,1,false);
exg2antt1.EndUpdate();