2088:
How can I define a column of button type

// ButtonClick event - Occurs when user clicks on the cell's button.
private void axG2antt1_ButtonClick(object sender, AxEXG2ANTTLib._IG2anttEvents_ButtonClickEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		System.Diagnostics.Debug.Print( var_Items.get_CellValue(e.item,e.colIndex).ToString() );
}
//this.axG2antt1.ButtonClick += new AxEXG2ANTTLib._IG2anttEvents_ButtonClickEventHandler(this.axG2antt1_ButtonClick);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Button") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellButtonAutoWidth,false);
	var_Column.FormatColumn = "``";
	var_Column.AllowSizing = false;
	var_Column.Width = 48;
(axG2antt1.Columns.Add("Second") as EXG2ANTTLib.Column).FormatColumn = "` Item ` + 1 index ``";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Button 1");
	var_Items.AddItem("Button 2");
	var_Items.AddItem("Button 3 ");
axG2antt1.EndUpdate();

2087:
Is it possible to configure different colour/icon when there is a active filter

// FilterChange event - Occurs when the filter was changed.
private void axG2antt1_FilterChange(object sender, EventArgs e)
{
	axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,axG2antt1.FormatABC("value = 0 ? 0x1000001 : 0x10000FF ",axG2antt1.Columns[0].FilterType,null,null));
}
//this.axG2antt1.FilterChange += new EventHandler(this.axG2antt1_FilterChange);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.RenderType = -16777216;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQ" +
"gmPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYTh" +
"dr4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.ShowFocusRect = false;
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000001);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.BackColorHeader = Color.FromArgb(255,255,255);
axG2antt1.HeaderVisible = EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.AllowSort = false;
	var_Column.AllowDragging = false;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowCheckBox;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.Filter = "Item B";
	var_Column1.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
axG2antt1.ApplyFilter();
axG2antt1.EndUpdate();

2086:
ADODB Requery sample

// ButtonClick event - Occurs when user clicks on the cell's button.
private void axG2antt1_ButtonClick(object sender, AxEXG2ANTTLib._IG2anttEvents_ButtonClickEvent e)
{
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	ADODB.Command cmd = new ADODB.Command();
		cmd.ActiveConnection = ((axG2antt1.DataSource as ADODB.Recordset).ActiveConnection as ADODB.Connection);
		cmd.CommandText = "INSERT INTO Orders (EmployeeID) VALUES(12345)";
		cmd.CommandType = ADODB.CommandTypeEnum.adCmdText;
		cmd.Execute(null,null,0);
	(axG2antt1.DataSource as ADODB.Recordset).Requery(0);
}
//this.axG2antt1.ButtonClick += new AxEXG2ANTTLib._IG2anttEvents_ButtonClickEventHandler(this.axG2antt1_ButtonClick);

// Error event - Fired when an internal error occurs.
private void axG2antt1_Error(object sender, AxEXG2ANTTLib._IG2anttEvents_ErrorEvent e)
{
	System.Diagnostics.Debug.Print( e.description.ToString() );
}
//this.axG2antt1.Error += new AxEXG2ANTTLib._IG2anttEvents_ErrorEventHandler(this.axG2antt1_Error);

axG2antt1.BeginUpdate();
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.ColumnAutoResize = false;
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Select * From Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access2007\\sample.accdb",ADODB.CursorTypeEnum.adOpenKeyset,ADODB.LockTypeEnum.adLockOptimistic,0);
axG2antt1.DataSource = (rs as ADODB.Recordset);
axG2antt1.ConditionalFormats.Add("%1=12345",null).BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_LockedItemCount(EXG2ANTTLib.VAlignmentEnum.exTop,1);
	int h = var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exTop,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellHasButton(h,0,true);
	var_Items.set_CellValue(h,0,"Requery (add a new record, using ADODB.Command)");
	var_Items.set_CellHAlignment(h,0,EXG2ANTTLib.AlignmentEnum.CenterAlignment);
axG2antt1.EndUpdate();

2085:
I am skinning the control's header-bar, but the background of the header-bar is shown on each item in the filter-bar drop down panel. What can I do

axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxRDgMQBQKAAzQFAYcBqGqGAAGQZxYgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYDmGQYDiCIoRShOMIjH" +
"LUXxtDaIZwhEAoJb+RgAUY/cTzaAEUwHHiTKInaCQGhsCYJUJAdRURQ9EwvCIZBpEWwLChENQwWLCNj2TScBwjCyqbale45ViqdoDU8lORLUi+M4zSBPcZVTRtGShPDB" +
"KTjMKKYgkG4lVpRNa0PC1GTzQ6mazkKQLRADDIDVbAeL3LiMBy9LyLLItQALByua5mWhbcZyBCOPgBTrRb5zO58FjuTK7YLjMB7NrUNYtFaUMy2OpOCADIaecTNcaWLx" +
"PF2MY1HWYxVj2Jw3DuRJonKYBgggSRAlIYw6B0ThGFgPAkFUDAhBMfZRiGNAkFECZnm4YQdneJwqnsSQrGAAhWAIJBJBIQgFCQIBiEIAglgqYo0i4V4MEgRI9gSToYFS" +
"b4Fk6Y4+BmBZhFOJgTC8TBogQAArgqco4muCZOkOMJtgmYpIjYKg7GKE4uCUK4AAKKg2DwI4DiCZw5k6KJ2D6D4OHiag4DwIxiiQAArAqMosnEPBPAOIhOg+DozjIJ4P" +
"GSY4iEwPAkhKLhHUUSQsnKFCnkYU9MjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" +
"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tE" +
"sHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQg" +
"pDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAA" +
"MR1EOZxWi+bx7HcWQ8msfRYnnDhQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARViHH" +
"4HQOYmxuCpF2MsecEQVBvGQCcIQvA6i2CAAIARAQ=");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzQFAYcBqGqGAAGQZxYgmFgAQhFcZQSKUOQTDKMIziYBYJhEMwwDhEIwjHCEEhsGIbJAGQBJCjWGodQLOEgzN" +
"C0IxNFCQILhEZJADKII8TTOU5UPRESwTE4cKBmKhQCo2NpKR7VUTxCKQahLLivoCjBT8EzHMqtIzrCA6MpaP4pQjKcqwHJ8YyHEi0ZrjazKaj6T5AXDUcaWbbNVx3PK3" +
"aioOpLZrqOZZYzYFoABTuJzPMSyIhxXD8cweaZvSpLExVYK9BY3PbKMgxC77QgTIpDaQMNS6PjtF43PAALLFUaNYzoOKzABMHATBIXAYJCwIIR5G7ID4BbQcCQAHL9DB" +
"aEEIAEEISgGhMGZQmocgymmIRQkIEQ2BcGgbEIRQci8XaMBqTRVgSAZHG+S5pnOep+D6f4vjec5zn0fpfmgBgAH6TRoBYBoAh+eAmAiAgPFgNArgOQpIESdoEmCOAOAq" +
"BYfFGAgaEaBgYHYFYFmIB5UiGCJUgKCgmgeYoHk4BgCmKRQiCwApgHgYgyH8B54lQU4NkMeJlBoDgjkiXBTg0R54iYIR+koeQVBoKpkgkChKhEJBkF4SFEjkDgJhFQoe" +
"EmDJlBeehUhWJQJGIXoICWOQ6FeFIlhkfhlDsSJpiQVoamaSY2G6G5nAmRhpCOH5pkwVYdmeCZmHqHpnkmdhzhmaAIFiax8AABAEICA==");
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).BackColorHeader = 0x1000000;
axG2antt1.ForeColorHeader = Color.FromArgb(128,128,128);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x2000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,1)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exSelBackColorFilter,0x1ff8000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exSelForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
axG2antt1.HeaderHeight = 24;
axG2antt1.BackColorLevelHeader = axG2antt1.BackColor;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exHeaderPaddingLeft,2);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exHeaderPaddingRight,2);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.AddItem("C");
	var_Items.AddItem("D");
axG2antt1.EndUpdate();

2084:
I specify the ItemHeight for each row, but as soon as I click the chart section, the item's height is restored to default (not working). What could be the cause

axG2antt1.BeginUpdate();
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Types");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,112);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%9%>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("ItemMinHeight");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.set_ItemMinHeight(h,64);
	var_Items.AddBar(var_Items.AddItem("Default (One)"),"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Default (Two)");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A4",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A5",null);
	h = var_Items.AddItem("ItemFixedHeight");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A6",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A7",null);
	var_Items.set_ItemMinHeight(h,20);
	var_Items.set_ItemMaxHeight(h,20);
	h = var_Items.AddItem("ItemMaxHeight");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A8",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A9",null);
	var_Items.set_ItemMaxHeight(h,24);
axG2antt1.EndUpdate();

2083:
The ItemHeight property is not working (method 2)

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollBySingleLine = true;
(axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column).Width = 128;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellSingleLine(var_Items.AddItem("This is a bit of text that should break the line"),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	int h = var_Items.AddItem("");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_SelectableItem(h,false);
	var_Items.set_ItemDividerLineAlignment(h,EXG2ANTTLib.DividerAlignmentEnum.DividerCenter);
	var_Items.set_ItemHeight(h,3);
	var_Items.set_CellSingleLine(var_Items.AddItem("This is a bit of text that should break the line"),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
axG2antt1.EndUpdate();

2082:
The ItemHeight property is not working (method 1)

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollBySingleLine = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.Width = 128;
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,0);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("This is a bit of text that should break the line");
	int h = var_Items.AddItem("");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_SelectableItem(h,false);
	var_Items.set_ItemDividerLineAlignment(h,EXG2ANTTLib.DividerAlignmentEnum.DividerCenter);
	var_Items.set_ItemMinHeight(h,3);
	var_Items.set_ItemMaxHeight(h,3);
	var_Items.AddItem("This is a bit of text that should break the line");
axG2antt1.EndUpdate();

2081:
How do I use the ColumnsFloatBarVisible on exColumnsFloatBarVisibleIncludeCheckColumns

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("City");
	(var_Columns.Add("Start") as EXG2ANTTLib.Column).Visible = false;
	(var_Columns.Add("End") as EXG2ANTTLib.Column).Visible = false;
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Show/Hide");
axG2antt1.ColumnsFloatBarSortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.ColumnsFloatBarVisible = EXG2ANTTLib.ColumnsFloatBarVisibleEnum.exColumnsFloatBarVisibleIncludeCheckColumns;
axG2antt1.EndUpdate();

2080:
How do I use the ColumnsFloatBarVisible on exColumnsFloatBarVisibleIncludeHiddenColumn

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("City");
	(var_Columns.Add("Start") as EXG2ANTTLib.Column).Visible = false;
	(var_Columns.Add("End") as EXG2ANTTLib.Column).Visible = false;
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Show");
axG2antt1.ColumnsFloatBarVisible = EXG2ANTTLib.ColumnsFloatBarVisibleEnum.exColumnsFloatBarVisibleIncludeHiddenColumns;
axG2antt1.ColumnsFloatBarSortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.EndUpdate();

2079:
How do I use the ColumnsFloatBarVisible on exColumnsFloatBarVisibleIncludeGroupByColumns

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("City");
	var_Columns.Add("Start");
	var_Columns.Add("End");
axG2antt1.AllowGroupBy = true;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
axG2antt1.BackColorSortBar = Color.FromArgb(250,250,250);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Group-By");
axG2antt1.ColumnsFloatBarVisible = EXG2ANTTLib.ColumnsFloatBarVisibleEnum.exColumnsFloatBarVisibleIncludeGroupByColumns;
axG2antt1.ColumnsFloatBarSortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.Columns["City"].SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.EndUpdate();

2078:
How can I advance to the next line, once the user presses the ENTER key

// KeyDown event - Occurs when the user presses a key while an object has the focus.
private void axG2antt1_KeyDownEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_KeyDownEvent e)
{
	System.Diagnostics.Debug.Print( "KeyCode Before:" );
	System.Diagnostics.Debug.Print( e.keyCode.ToString() );
	e.keyCode = axG2antt1.FormatABC("value = 13 ? 40 : value",e.keyCode,null,null);
	System.Diagnostics.Debug.Print( "KeyCode After:" );
	System.Diagnostics.Debug.Print( e.keyCode.ToString() );
}
//this.axG2antt1.KeyDownEvent += new AxEXG2ANTTLib._IG2anttEvents_KeyDownEventHandler(this.axG2antt1_KeyDownEvent);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	EXG2ANTTLib.Editor var_Editor = (var_Columns.Add("A") as EXG2ANTTLib.Column).Editor;
		var_Editor.Appearance = EXG2ANTTLib.InplaceAppearanceEnum.EtchedApp;
		var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
	EXG2ANTTLib.Editor var_Editor1 = (var_Columns.Add("B") as EXG2ANTTLib.Column).Editor;
		var_Editor1.Appearance = EXG2ANTTLib.InplaceAppearanceEnum.EtchedApp;
		var_Editor1.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("Item A.1");
	var_Items.set_CellValue(h0,1,"Item B.1");
	h0 = var_Items.AddItem("Item A.2");
	var_Items.set_CellValue(h0,1,"Item B.2");
axG2antt1.EndUpdate();

2077:
I am using AddNew to add new records, but I can not see them into the control

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,1),var_Items.get_CellValue(e.item,2),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

// ButtonClick event - Occurs when user clicks on the cell's button.
private void axG2antt1_ButtonClick(object sender, AxEXG2ANTTLib._IG2anttEvents_ButtonClickEvent e)
{
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	ADODB.Recordset var_Recordset = (axG2antt1.DataSource as ADODB.Recordset);
		var_Recordset.AddNew(null,null);
		var_Recordset.Fields["Name"].Value = "Task New";
		var_Recordset.Update(null,null);
}
//this.axG2antt1.ButtonClick += new AxEXG2ANTTLib._IG2anttEvents_ButtonClickEventHandler(this.axG2antt1_ButtonClick);

axG2antt1.BeginUpdate();
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
ADODB.Recordset rs = new ADODB.Recordset();
	ADODB.Fields var_Fields = rs.Fields;
		var_Fields.Append("Name",ADODB.DataTypeEnum.adBSTR,0,null,null);
		var_Fields.Append("Start",ADODB.DataTypeEnum.adDate,0,null,null);
		var_Fields.Append("End",ADODB.DataTypeEnum.adDate,0,null,null);
	rs.Open(null,null,null,null,0);
	rs.AddNew(null,null);
	rs.Fields["Name"].Value = "Task A";
	rs.Fields["Start"].Value = Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Fields["End"].Value = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Update(null,null);
	rs.AddNew(null,null);
	rs.Fields["Name"].Value = "Task B";
	rs.Fields["Start"].Value = Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Fields["End"].Value = Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Update(null,null);
axG2antt1.DataSource = (rs as ADODB.Recordset);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns["Start"].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns["End"].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_LockedItemCount(EXG2ANTTLib.VAlignmentEnum.exTop,1);
	int h = var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exTop,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellHasButton(h,0,true);
	var_Items.set_CellValue(h,0,"AddNew");
	var_Items.set_CellHAlignment(h,0,EXG2ANTTLib.AlignmentEnum.CenterAlignment);
axG2antt1.DetectAddNew = true;
axG2antt1.DetectDelete = true;
axG2antt1.EndUpdate();

2076:
How can I create a new ADO recordset

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,1),var_Items.get_CellValue(e.item,2),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	ADODB.Fields var_Fields = rs.Fields;
		var_Fields.Append("Name",ADODB.DataTypeEnum.adBSTR,0,null,null);
		var_Fields.Append("Start",ADODB.DataTypeEnum.adDate,0,null,null);
		var_Fields.Append("End",ADODB.DataTypeEnum.adDate,0,null,null);
	rs.Open(null,null,null,null,0);
	rs.AddNew(null,null);
	rs.Fields = ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Update(null,null);
	rs.AddNew(null,null);
	rs.Fields = ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Update(null,null);
axG2antt1.DataSource = (rs as ADODB.Recordset);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns["Start"].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns["End"].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2075:
Do do I get the DAO version I have installed

// Add 'Microsoft DAO 2.5/3.51 Compatibility Library(dao2535.tlb)' reference to your project.
System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );
// Add 'Microsoft DAO 3.6 Object Library(dao360.dll)' reference to your project.
System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );
// Add 'Microsoft Office 12.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );

2074:
How do I get a list of interfaces the object implemenets

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft Office 12.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access2007\\sample.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
// Add 'ExPropertiesList 1.0 Control Library(ExPropertiesList.dll)' reference to your project.
System.Diagnostics.Debug.Print( new EXPROPERTIESLISTLib.PropertiesList().get_Interfaces(rs) );
axG2antt1.DataSource = (rs as DAO.Recordset2);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2073:
Do do I get the ADO version I have installed

// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
System.Diagnostics.Debug.Print( "ADO Version:" );
System.Diagnostics.Debug.Print( new ADODB.Connection().Version );

2072:
DAO, ACCDB, 120

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft Office 12.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access2007\\sample.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
axG2antt1.DataSource = (rs as DAO.Recordset2);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2071:
DAO, MDB, 120

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft Office 12.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
axG2antt1.DataSource = (rs as DAO.Recordset2);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2070:
DAO, MDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft DAO 3.6 Object Library(dao360.dll)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset rs = var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",null,null,null).OpenRecordset("Orders",null,null,null);
axG2antt1.DataSource = (rs as DAO.Recordset);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2069:
ADODB, ACCDB, x64

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access2007\\sample.accdb",ADODB.CursorTypeEnum.adOpenKeyset,ADODB.LockTypeEnum.adLockReadOnly,0);
axG2antt1.DataSource = (rs as ADODB.Recordset);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2068:
ADOR, ACCDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access2007\\sample.accdb",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axG2antt1.DataSource = (rs as ADODB.Recordset);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2067:
ADODB, MDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axG2antt1.DataSource = (rs as ADODB.Recordset);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2066:
ADOR, MDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.item,"Task",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExTree\\Sample\\VB\\SAMPLE.MDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axG2antt1.DataSource = (rs as ADODB.Recordset);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
axG2antt1.Items.AllowCellValueToItemBar = true;
axG2antt1.Columns[2].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
axG2antt1.Columns[4].set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
axG2antt1.EndUpdate();

2065:
I am using exCellValueToItemBarProperty, Is it possible to “disable” this synchronisation for one (or several) item (sample-2)

axG2antt1.BeginUpdate();
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Tasks");
	(var_Columns.Add("Start") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
	(var_Columns.Add("End") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("9/22/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBold(h,true);
	var_Items.CellValueToItemBar(h,1,EXG2ANTTLib.ItemBarPropertyEnum.exBarStart,"newbar");
	var_Items.CellValueToItemBar(h,2,EXG2ANTTLib.ItemBarPropertyEnum.exBarEnd,"newbar");
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

2064:
I am using exCellValueToItemBarProperty, Is it possible to “disable” this synchronisation for one (or several) item (sample-1)

axG2antt1.BeginUpdate();
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Tasks");
	(var_Columns.Add("Start") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
	(var_Columns.Add("End") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("9/22/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_FormatCell(h,1,"``");
	var_Items.set_FormatCell(h,2,"``");
	var_Items.set_ItemBold(h,true);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

2063:
How can I use the CRD (eXCRD format)

axG2antt1.BeginUpdate();
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.SelBackMode = EXG2ANTTLib.BackModeEnum.exTransparent;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellFormatLevel,"[b=0]60;1[b=15]:60,((20;\"<fgcolor=808080>Dateigröße\"[b=1][a=2]:120,2[b=15])/(20;\"<fgcolor=808080>Erstellt am\"[a=2]:120,3[b=" +
"15])/(20;\"<fgcolor=808080>Zuletzt bearbeitet\"[b=4][a=2]:120,4[b=15]))");
	var_Column.AllowSort = false;
(axG2antt1.Columns.Add(1.ToString()) as EXG2ANTTLib.Column).Visible = false;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add(2.ToString()) as EXG2ANTTLib.Column);
	var_Column1.Visible = false;
	var_Column1.Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
	var_Column1.FormatColumn = "1 index `A-Z`";
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add(3.ToString()) as EXG2ANTTLib.Column);
	var_Column2.Visible = false;
	var_Column2.Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
	var_Column2.FormatColumn = "1 index ``";
EXG2ANTTLib.Column var_Column3 = (axG2antt1.Columns.Add(4.ToString()) as EXG2ANTTLib.Column);
	var_Column3.Visible = false;
	var_Column3.Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
	var_Column3.FormatColumn = "date(``)";
string dih = 48;
axG2antt1.DefaultItemHeight = dih;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("");
	var_Items.set_CellValue(h,1,"One");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemMaxHeight(h,dih);
	h = var_Items.AddItem("");
	var_Items.set_CellValue(h,1,"Two");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	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")),"B",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
	var_Items.set_ItemMaxHeight(h,dih);
	h = var_Items.AddItem("");
	var_Items.set_CellValue(h,1,"Three");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
axG2antt1.EndUpdate();

2062:
Type of wraps the cell's caption support (Sample 2)

axG2antt1.BeginUpdate();
axG2antt1.HeaderSingleLine = false;
axG2antt1.HeaderHeight = 36;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollBySingleLine = true;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Single-Line (exCaptionSingleLine)") as EXG2ANTTLib.Column);
		var_Column.Width = 96;
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,-1);
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Word-Wrap (exCaptionWordWrap)") as EXG2ANTTLib.Column);
		var_Column1.Width = 96;
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,0);
		var_Column1.FormatColumn = "%0";
	EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("Break-Wrap (exCaptionBreakWrap)") as EXG2ANTTLib.Column);
		var_Column2.Width = 96;
		var_Column2.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column2.set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,1);
		var_Column2.FormatColumn = "%0";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.AddItem("This is the <b>first</b> line.\\r\\nThis is the <b>second</b> line.\\r\\nThis is the <b>third</b> line.");
axG2antt1.EndUpdate();

2061:
Type of wraps the cell's caption support (Sample 1)

axG2antt1.BeginUpdate();
axG2antt1.HeaderSingleLine = false;
axG2antt1.HeaderHeight = 36;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollBySingleLine = true;
(axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column).Width = 128;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,EXG2ANTTLib.ValueFormatEnum.exHTML);
	h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.set_CellSingleLine(h,0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.set_CellSingleLine(h,0,EXG2ANTTLib.CellSingleLineEnum.exCaptionBreakWrap);
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,EXG2ANTTLib.CellSingleLineEnum.exCaptionBreakWrap);
axG2antt1.EndUpdate();

2060:
Can I break the cell's caption using the line break <br> or \r\n (Sample 2)

axG2antt1.BeginUpdate();
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollBySingleLine = true;
(axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column).Width = 128;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellSingleLine(var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line."),0,EXG2ANTTLib.CellSingleLineEnum.exCaptionBreakWrap);
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
axG2antt1.EndUpdate();

2059:
Can I break the cell's caption using the line break <br> or \r\n (Sample 1)

axG2antt1.BeginUpdate();
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.ColumnAutoResize = false;
axG2antt1.ScrollBySingleLine = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.Width = 128;
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
axG2antt1.EndUpdate();

2058:
The histogram is showing empty space, when expanding an item. What could be wrong

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesOutside;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 48;
	var_Chart.HistogramView = EXG2ANTTLib.HistogramViewEnum.exHistogramNoGrouping | EXG2ANTTLib.HistogramViewEnum.exHistogramLeafItems | EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.Bars["Task"].HistogramPattern = EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Project 1");
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 2"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Project 2");
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 1"),"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

2057:
How can I change the visual appearance/color of the Filter For ... field

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.BackColorHeader = Color.FromArgb(1,0,0);
axG2antt1.ForeColorHeader = Color.FromArgb(255,255,255);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter,axG2antt1.BackColorHeader);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exForeColorFilter,axG2antt1.ForeColorHeader);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Bump;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Items") as EXG2ANTTLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exNoItems;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
axG2antt1.EndUpdate();

2056:
How can I display the cell's caption without spaces on both sides

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "((trim(value) replace `   ` with ` `) replace `  ` with ` `) replace ` ` with `<bgcolor=FF0000> </bgcolor>`";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
axG2antt1.EndUpdate();

2055:
How can I highlight the spaces within the column (sample 2)

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "`'` + ( value replace ` ` with `_` ) + `'`";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
axG2antt1.EndUpdate();

2054:
How can I highlight the spaces within the column (sample 1)

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "len(value) = 0 ? `<bgcolor=FF0000> </bgcolor>` : ( value replace ` ` with `<bgcolor=FF0000> </bgcolor>` )";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
axG2antt1.EndUpdate();

2053:
How can I change the visual aspect of the drop down filter-calendar

axG2antt1.BeginUpdate();
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,1)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateScrollRange,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateHeader,axG2antt1.get_Background(EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter));
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateScrollThumb,(uint)ColorTranslator.ToWin32(Color.FromArgb(128,128,128)));
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column);
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterDate = true;
	var_Column.DisplayFilterPattern = false;
axG2antt1.EndUpdate();

2052:
How can I scroll the chart to ensure that a bar fits the chart's client area

// ButtonClick event - Occurs when user clicks on the cell's button.
private void axG2antt1_ButtonClick(object sender, AxEXG2ANTTLib._IG2anttEvents_ButtonClickEvent e)
{
	object kBar = axG2antt1.Items.get_FirstItemBar(e.item);
	object dStart = axG2antt1.Items.get_ItemBar(e.item,kBar,EXG2ANTTLib.ItemBarPropertyEnum.exBarStart);
	object dEnd = axG2antt1.Items.get_ItemBar(e.item,kBar,EXG2ANTTLib.ItemBarPropertyEnum.exBarEnd);
	object dScroll = axG2antt1.FormatABC("(A+B)/2",dStart,dEnd,null);
	axG2antt1.Chart.ScrollTo(dScroll,1);
}
//this.axG2antt1.ButtonClick += new AxEXG2ANTTLib._IG2anttEvents_ButtonClickEventHandler(this.axG2antt1_ButtonClick);

axG2antt1.BeginUpdate();
axG2antt1.ShowFocusRect = false;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDot4;
axG2antt1.SelBackMode = EXG2ANTTLib.BackModeEnum.exTransparent;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.OverviewVisible = EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowDateTimeScaleBottom | EXG2ANTTLib.OverviewVisibleEnum.exOverviewAllowVerticalScroll | EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.OverviewHeight = 26;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/8/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.UnitWidth = 14;
	var_Chart.LevelCount = 2;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDot4;
	var_Chart.SelBackColor = axG2antt1.SelBackColor;
	var_Chart.ColumnsFormatLevel = "\"\":2,(\"\"/14;1/\"\"):14";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Default");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("") as EXG2ANTTLib.Column);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellBackColor,15790320);
		var_Column.Visible = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("6/9/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/17/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("1/10/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/17/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T3"),"Task",Convert.ToDateTime("2/19/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/23/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T4"),"Task",Convert.ToDateTime("12/19/2014",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/23/2014",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

2051:
Is it possible to hide completely the list portion

axG2antt1.BeginUpdate();
axG2antt1.HeaderHeight = 32;
axG2antt1.OnResizeControl = EXG2ANTTLib.OnResizeControlEnum.exDisableSplitter | EXG2ANTTLib.OnResizeControlEnum.exResizeChart;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.ApplyToBars = "Task";
	var_ConditionalFormat.BarColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/8/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.AllowInsideZoom = true;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<b><%d%>-<%mmm%>-<%yyyy%>";
		var_Level.Unit = EXG2ANTTLib.UnitEnum.exDay;
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>";
		var_Level1.Count = 8;
		var_Level1.Unit = EXG2ANTTLib.UnitEnum.exHour;
		var_Level1.FormatLabel = "date(int(dvalue)) case (#06/08/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>23/20'; 8 : 'Shift <b>2</b><br>38/30' ; 16 : '" +
"Shift <b>3</b><br>24/24' ) ) ; #06/09/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>15/20'; 8 : 'Shift <b>2</b><br>30/32' ; " +
"16 : 'Shift <b>3</b><br>26/24' ) ) )";
	var_Chart.UnitWidth = 64;
	var_Chart.NonworkingDays = 0;
	var_Chart.ColumnsFormatLevel = "0";
	var_Chart.AllowInsideZoom = true;
	var_Chart.DefaultInsideZoomFormat.InsideUnit = EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.AllowResizeInsideZoom = false;
	var_Chart.InsideZoomOnDblClick = false;
	EXG2ANTTLib.InsideZooms var_InsideZooms = var_Chart.InsideZooms;
		var_InsideZooms.SplitBaseLevel = false;
		var_InsideZooms.DefaultWidth = 0;
	EXG2ANTTLib.InsideZooms var_InsideZooms1 = var_Chart.InsideZooms;
		var_InsideZooms1.Add(Convert.ToDateTime("6/9/2011 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
		var_InsideZooms1.Add(Convert.ToDateTime("6/9/2011 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDot4;
(axG2antt1.Columns.Add("Defaul") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("6/8/2011 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/10/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("6/8/2011 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/10/2011 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T3"),"Task",Convert.ToDateTime("6/9/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/10/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(var_Items[1],0,1);
axG2antt1.EndUpdate();

2050:
How can I find out what exBarWorkingCount represents

axG2antt1.BeginUpdate();
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Tasks") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 42;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Format") as EXG2ANTTLib.Column);
	var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.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)` : ``))";
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Value") as EXG2ANTTLib.Column);
	var_Column2.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column2.SortType = EXG2ANTTLib.SortTypeEnum.SortNumeric;
	var_Column2.Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
axG2antt1.SelBackColor = Color.FromArgb(204,232,255);
axG2antt1.SelForeColor = Color.FromArgb(0,0,0);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.SelBackColor = axG2antt1.SelBackColor;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 15728767;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Chart.AllowLinkBars = false;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%d3%>, <%m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%dddd%>, <%mmmm%> <%d%>, <%yyyy%> " +
"<%h%>:<%nn%> <%AM/PM%><||>15");
	var_Chart.AllowZoomOnFly = EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFlyIncludeNeighborItems | EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFly;
	var_Chart.BackColorZoomOnFly = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,0));
axG2antt1.Items.AllowCellValueToItemBar = true;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("");
	var_Items.set_SelectableItem(h,false);
	var_Items.set_SortableItem(h,false);
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T3"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 19:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("");
	var_Items.set_SelectableItem(h,false);
	var_Items.set_SortableItem(h,false);
axG2antt1.EndUpdate();

2049:
How can I hide the filter bar description

axG2antt1.BeginUpdate();
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "B";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.AddItem("C");
axG2antt1.ApplyFilter();
axG2antt1.FilterBarHeight = 0;
axG2antt1.EndUpdate();

2048:
How can I add a break bar

axG2antt1.BeginUpdate();
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Tasks") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 42;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Working") as EXG2ANTTLib.Column);
	var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.FormatColumn = "((1:=int(0:= (value))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 " +
"? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')";
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
axG2antt1.SelBackColor = Color.FromArgb(204,232,255);
axG2antt1.SelForeColor = Color.FromArgb(0,0,0);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.SelBackColor = axG2antt1.SelBackColor;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,164);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 15728767;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task:Split");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
		var_Bar.Shortcut = "Task";
	var_Chart.AllowLinkBars = false;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%d3%>, <%m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%dddd%>, <%mmmm%> <%d%>, <%yyyy%> " +
"<%h%>:<%nn%> <%AM/PM%><||>15");
	var_Chart.AllowZoomOnFly = EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFlyIncludeNeighborItems | EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFly;
	var_Chart.BackColorZoomOnFly = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,0));
	var_Chart.AllowNonworkingBars = true;
axG2antt1.Items.AllowCellValueToItemBar = true;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("");
	int h = var_Items.AddItem("T1");
	var_Items.set_ItemNonworkingUnits(h,false,"(weekday(value) in (0,6)) or (timeF(value) < `07:00:00`) or (timeF(value) >= `20:00:00`) ");
	var_Items.AddBar(h,"",Convert.ToDateTime("4/6/2009 7:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","<c><font ;4>break<br>bar");
	var_Items.set_ItemBar(h,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarTreatAsNonworking,true);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 17:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddItem("");
axG2antt1.EndUpdate();

2047:
It seems the ResizeUnitCount have no effect on the ZoomOnFly feature, is it normal

axG2antt1.BeginUpdate();
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Tasks") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 42;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Working") as EXG2ANTTLib.Column);
	var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.FormatColumn = "((1:=int(0:= (value))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 " +
"? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')";
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
axG2antt1.SelBackColor = Color.FromArgb(204,232,255);
axG2antt1.SelForeColor = Color.FromArgb(0,0,0);
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.SelBackColor = axG2antt1.SelBackColor;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,164);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 15728767;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Chart.AllowLinkBars = false;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%d3%>, <%m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%dddd%>, <%mmmm%> <%d%>, <%yyyy%> " +
"<%h%>:<%nn%> <%AM/PM%><||>15");
	var_Chart.AllowZoomOnFly = EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFlyIncludeNeighborItems | EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFly;
	var_Chart.BackColorZoomOnFly = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,0));
axG2antt1.Items.AllowCellValueToItemBar = true;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 17:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddItem("");
axG2antt1.EndUpdate();

2046:
Export Data in HTML format

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_ItemBold(e.item,true);
		var_Items.AddBar(e.item,"Summary",var_Items.get_CellValue(e.item,2),var_Items.get_CellValue(e.item,4),null,null);
		var_Items.DefineSummaryBars(e.item,"",-3,"");
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		int i = var_Items.get_ItemToIndex(e.item);
		var_Items.AddBar(e.item,"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
		var_Items.set_ItemBar(e.item,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,i);
		var_Items.set_ItemBar(e.item,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration,i);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.FilterBarCaption = "(( ( value 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)`) )))";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
axG2antt1.SingleSort = false;
axG2antt1.AllowGroupBy = true;
axG2antt1.BackColorSortBar = axG2antt1.BackColor;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
	var_Appearance.RenderType = -268435456;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color = 0x1808080;
		var_Bar.Height = 7;
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars["Task"];
		var_Bar1.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=(%2-%1) in (3,5) ? %513 : `` %>");
		var_Bar1.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("(%2 - %1) = 3","K3");
	var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.BarColor = var_ConditionalFormat.ForeColor;
	var_ConditionalFormat.ApplyToBars = "Task";
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat1 = axG2antt1.ConditionalFormats.Add("(%2 - %1) = 5","K5");
	var_ConditionalFormat1.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0));
	var_ConditionalFormat1.BarColor = var_ConditionalFormat1.ForeColor;
	var_ConditionalFormat1.ApplyToBars = "Task";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Tasks") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Start") as EXG2ANTTLib.Column);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("End") as EXG2ANTTLib.Column);
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task C");
axG2antt1.Columns["Tasks"].SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.EndUpdate();
string sFile = "c:/temp/export.html";
axG2antt1.Export(sFile,"vis");
// Add 'Microsoft Internet Controls(ieframe.dll)' reference to your project.
SHDocVw.ShellBrowserWindow var_ShellBrowserWindow = new SHDocVw.ShellBrowserWindow();
	var_ShellBrowserWindow.Navigate2(sFile,null,null,null,null);

2045:
Export Data in CSV format

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		int i = var_Items.get_ItemToIndex(e.item);
		var_Items.AddBar(e.item,"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
		var_Items.set_ItemBar(e.item,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,i);
		var_Items.set_ItemBar(e.item,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration,i);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.FilterBarCaption = "(( ( value 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)`) )))";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axG2antt1.FilterBarPromptType = EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=(%2-%1) in (3,5) ? %513 : `` %>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("(%2 - %1) = 3","K3");
	var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.BarColor = var_ConditionalFormat.ForeColor;
	var_ConditionalFormat.ApplyToBars = "Task";
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat1 = axG2antt1.ConditionalFormats.Add("(%2 - %1) = 5","K5");
	var_ConditionalFormat1.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0));
	var_ConditionalFormat1.BarColor = var_ConditionalFormat1.ForeColor;
	var_ConditionalFormat1.ApplyToBars = "Task";
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Tasks") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Start") as EXG2ANTTLib.Column);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("End") as EXG2ANTTLib.Column);
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task C");
axG2antt1.EndUpdate();
System.Diagnostics.Debug.Print( axG2antt1.Export("","vis").ToString() );

2044:
I want to be able to detect when a user clicks on a row in the chart that is not populated

// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	int item = axG2antt1.get_ItemFromPoint(-1,-1,col,hit);
	Date date = axG2antt1.Chart.get_DateFromPoint(-1,-1);
	object sMessage = axG2antt1.FormatABC("(not(A = 0) ? `chart` : `list`) + ` ` + (not(B = 0) ? `item` : `empty`)  ",date,item,null);
	System.Diagnostics.Debug.Print( sMessage.ToString() );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/4/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

2043:
Is it possible to have multiple calendars. A calendar for each row for example. Reason : some of our lines work 2 shifts but some also have a night shift

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Working") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	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)' : '')";
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,148);
	var_Chart.LevelCount = 2;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		var_Bars.Add("Task:Split").Shortcut = "Task";
		var_Bars["Task"].set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHour,"<%h%><||><||>65536");
	var_Chart.get_Level(0).FormatLabel = "`<font small fonts;6>` + value";
	var_Chart.get_Level(1).FormatLabel = "len(value) = 2 ? (`<font small fonts;4>` + (value left 1) + `<br>` + (value right 1) ) : (`<font small fonts;4>` + ` <br>` + (v" +
"alue left 1) + `` )";
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.UnitWidth = 9;
axG2antt1.Items.AllowCellValueToItemBar = true;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	string sCalendar1 = "weekday(value) in (0,6) or (hour(value) < 6) or (hour(value) > 18)";
	int h = var_Items.AddItem("Shift 1");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar1.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 1");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar1.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	string sCalendar2 = "weekday(value) in (0,6) or (hour(value) < 8) or (hour(value) > 14)";
	h = var_Items.AddItem("Shift 2");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar2.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 2");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar2.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	string sCalendar3 = "weekday(value) in (0,6) or 0 = ( hour(value) mod 3 ) ";
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar3.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar3.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	string sCalendar4 = "weekday(value) in (0,6)";
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar4.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar4.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

2042:
Is it possible to check multiple-items at once

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object bHasParent = axG2antt1.FormatABC("value != 0",axG2antt1.Items.get_ItemParent(e.item),null,null);
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_CellHasCheckBox(e.item,0,false);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Tasks") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "value + (%CS0 = 1 ? `<r><fgcolor=808080>(checked)` : ``)";
axG2antt1.HeaderVisible = EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
axG2antt1.SingleSel = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	hChild = var_Items.InsertItem(h,null,"Task 2");
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_LockedItemCount(EXG2ANTTLib.VAlignmentEnum.exTop,1);
	var_Items.set_CellValue(var_Items.get_LockedItem(EXG2ANTTLib.VAlignmentEnum.exTop,0),0,"<c>Select multiple items and press the <b>SPACE</b> key");
axG2antt1.EndUpdate();

2041:
How can I prevent changing the start/end colors of the bar, when ItemBar(exBarColor) property is applied

axG2antt1.BeginUpdate();
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axG2antt1.VisualAppearance.Add(1,"E:\\Exontrol\\ExButton\\sample\\EBN\\Assorted\\bhframe.ebn");
axG2antt1.Chart.set_PaneWidth(false,96);
EXG2ANTTLib.Bars var_Bars = axG2antt1.Chart.Bars;
	var_Bars.AddShapeCorner(12345,1);
	var_Bars.AddShapeCorner(999,2);
	var_Bars.AddShapeCorner(1049,3);
	EXG2ANTTLib.Bar var_Bar = var_Bars.Add("T1");
		var_Bar.StartShape = (EXG2ANTTLib.ShapeCornerEnum)0x3020 | EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
		var_Bar.EndShape = (EXG2ANTTLib.ShapeCornerEnum)0x3e0 | EXG2ANTTLib.ShapeCornerEnum.exShapeIconLeft;
		var_Bar.Pattern = EXG2ANTTLib.PatternEnum.exPatternNDot;
		var_Bar.StartColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0));
		var_Bar.Color = 0x1000000;
		var_Bar.EndColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=`<font ;6>  ` + %0 + ``%>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	EXG2ANTTLib.Bar var_Bar1 = var_Bars.Add("T2");
		var_Bar1.StartShape = (EXG2ANTTLib.ShapeCornerEnum)0x3020 | EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
		var_Bar1.EndShape = (EXG2ANTTLib.ShapeCornerEnum)0x400 | EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
		var_Bar1.Pattern = EXG2ANTTLib.PatternEnum.exPatternNDot;
		var_Bar1.StartColor = -1;
		var_Bar1.Color = 0x1000000;
		var_Bar1.EndColor = -1;
		var_Bar1.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=`<font ;6>  ` + %0 + ``%>");
		var_Bar1.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"T1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"T1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,65280);
	h = var_Items.AddItem("Item 3");
	var_Items.AddBar(h,"T1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	h = var_Items.AddItem("Item 4");
	var_Items.AddBar(h,"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Item 5");
	var_Items.AddBar(h,"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,65280);
	h = var_Items.AddItem("Item 6");
	var_Items.AddBar(h,"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
axG2antt1.EndUpdate();

2040:
How can I get the icon from the cell when using the Items.CellImages property (icon index)

// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	int i = axG2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( axG2antt1.FormatABC("( 0x44 = ( value bitand 0x44 ) ) ? ( ( (value bitand 0xFFFF0000) bitshift 16 ) array B split `,` )  : `no image`",hit,axG2antt1.Items.get_CellImages(i,c),null).ToString() );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellImages(var_Items.AddItem("Item 1"),0,"3,2,1");
	var_Items.set_CellImages(var_Items.AddItem("Item 2"),0,"2,3");
	var_Items.set_CellImages(var_Items.AddItem("Item 3"),0,"2,");
axG2antt1.EndUpdate();

2039:
How can I get the icon from the cell when using the Items.CellImages property (icon position within the cell)

// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	int i = axG2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( axG2antt1.FormatABC("( 0x44 = ( value bitand 0x44 ) ) ? 1 + ( (value bitand 0xFFFF0000) bitshift 16 ) : `no image`",hit,null,null).ToString() );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellImages(var_Items.AddItem("Item 1"),0,"3,2,1");
	var_Items.set_CellImages(var_Items.AddItem("Item 2"),0,"2,3");
	var_Items.set_CellImages(var_Items.AddItem("Item 3"),0,"2");
axG2antt1.EndUpdate();

2038:
I have an EBN bar. Now if I apply an additional color to the bar, e,g, yellow, the bar is displayed as "dark yellow", which I assume is due to the black EBN color. How can I get the more "bright yellow" color

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_ItemDividerLine(e.item,EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(e.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(e.item,"",-3,"");
		int l = var_Items.get_GroupItem(e.item);
		var_Items.set_CellSingleLine(e.item,l,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(e.item,l,true);
		var_Items.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
	axG2antt1.Chart.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
	var_Appearance.RenderType = -268435456;
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color = 0x1ff0000;
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
axG2antt1.AllowGroupBy = true;
axG2antt1.HasLines = EXG2ANTTLib.HierarchyLineEnum.exNoLine;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.EndUpdate();

2037:
Is it possible to change the visual appearance of the position signs when user changes the column's position by drag and drop

axG2antt1.BeginUpdate();
axG2antt1.HeaderAppearance = EXG2ANTTLib.AppearanceEnum.Etched;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
	var_Columns.Add("Column 3");
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMYxXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV" +
"IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" +
"aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" +
"eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDI" +
"BICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAok" +
"GKHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhulRGHKGoImefh0BUZ4JmYeoemeSZ2H6HQmgoBgXDqXwUAQgI=");
	var_Appearance.Add(2,"CP:1 0 -36 0 0");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exColumnsPositionSign,0x2000000);
axG2antt1.EndUpdate();

2036:
Overlaid-Types

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		object barName = var_Items.get_ItemData(e.item);
		var_Items.AddBar(e.item,barName,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
		var_Items.AddBar(e.item,barName,Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
		var_Items.AddBar(e.item,barName,Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
		var_Items.AddBar(e.item,barName,Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A4",null);
}
//this.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.DefaultItemHeight = 22;
axG2antt1.Columns.Add("Task");
axG2antt1.ScrollBySingleLine = true;
axG2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.set_PaneWidth(false,164);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Copy("Task","Intersect").Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_Chart.Bars["Task"].OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsNone;
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Copy("Task","Task-Transparent");
		var_Bar.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsNone;
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,50);
		var_Bar.Pattern = EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bar.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,0));
		var_Bar.StartColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(80,80,255));
		var_Bar.EndColor = var_Bar.StartColor;
	var_Chart.Bars.Copy("Task","Task-Offset").OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
	EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","Task-OffsetTransparent");
		var_Bar1.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
		var_Bar1.set_Overlaid(EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent,75);
	EXG2ANTTLib.Bar var_Bar2 = var_Chart.Bars.Copy("Task","Task-Intersect");
		var_Bar2.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIntersect;
		var_Bar2.set_Overlaid(EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIntersect,"Intersect");
	var_Chart.Bars.Copy("Task","Task-Stack").OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
	EXG2ANTTLib.Bar var_Bar3 = var_Chart.Bars.Copy("Task","Task-StackAutoArrange");
		var_Bar3.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar3.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_Bar3.OverlaidGroup = "Task";
	EXG2ANTTLib.Bar var_Bar4 = var_Chart.Bars.Copy("Task","Task-Cascade");
		var_Bar4.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsCascade;
		var_Bar4.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_Bar4.OverlaidGroup = "Task";
	EXG2ANTTLib.Bar var_Bar5 = var_Chart.Bars.Copy("Task","Task-Strict");
		var_Bar5.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStrict | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar5.OverlaidGroup = "Task";
		var_Bar5.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.InsertItem(0,"Task","Overlaid-None");
	var_Items.InsertItem(0,"Task-Transparent","Overlaid-Semi-Transparent");
	var_Items.InsertItem(0,"Task-Offset","Overlaid-Offset");
	var_Items.InsertItem(0,"Task-OffsetTransparent","Overlaid-OffsetTransparent");
	var_Items.InsertItem(0,"Task-Intersect","Overlaid-Intersect");
	var_Items.InsertItem(0,"Task-Stack","Overlaid-Stack");
	int h = var_Items.InsertItem(0,"Task-StackAutoArrange","Overlaid-StackAutoArrange");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T3",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T4",null);
	h = var_Items.InsertItem(0,"Task-Cascade","Overlaid-Cascade");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T3",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T4",null);
	var_Items.set_ItemBar(h,"<A*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarOverlaidKey,"A");
	var_Items.set_ItemBar(h,"<T*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarOverlaidKey,"T");
	h = var_Items.InsertItem(0,"Task","Overlaid-StackStrict");
	var_Items.AddBar(h,"Task-Strict",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T1",null);
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%9%>");
axG2antt1.EndUpdate();

2035:
FilterBarCaption ALLUI Keyword ( sample 3, result, leaf )

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
		object val = var_Items.get_CellValue(e.item,var_Items.get_GroupItem(e.item));
		var_Items.set_CellState(e.item,var_Items.get_GroupItem(e.item),axG2antt1.FormatABC("A = `Checked` ? 1 : 0",val,null,null));
	EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
		var_Items1.set_ItemDividerLine(e.item,EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items1.AddBar(e.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_Items1.DefineSummaryBars(e.item,"",-3,"");
		int l = var_Items1.get_GroupItem(e.item);
		var_Items1.set_CellSingleLine(e.item,l,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items1.set_CellBold(e.item,l,true);
	axG2antt1.Chart.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object i = axG2antt1.FormatABC("value + 1",axG2antt1.Items.get_ItemToIndex(e.item),null,null);
	axG2antt1.Items.set_CellImage(e.item,3,i);
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color = 0x1000000;
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column);
	var_Column2.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exCheck;
EXG2ANTTLib.Column var_Column3 = (axG2antt1.Columns.Add("Image") as EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox;
EXG2ANTTLib.Column var_Column4 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 rpos ``";
	var_Column4.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.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>` + leafitemcount + ` result(s)` ) : (`<r><fgcolor=808080>`+ leafitemcount + `" +
" item(s)`) )))";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axG2antt1.AllowGroupBy = true;
axG2antt1.SortBarVisible = true;
EXG2ANTTLib.Column var_Column5 = axG2antt1.Columns[2];
	var_Column5.FormatColumn = "%CS2 ? `Checked` : `Unchecked`";
	var_Column5.SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.EndUpdate();

2034:
A black portion is shown while I am using the BackColorAlternate with EBN colors. What can I do

axG2antt1.BeginUpdate();
axG2antt1.ColumnAutoResize = true;
axG2antt1.DefaultItemHeight = 20;
axG2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhIDhAxHAxg0HG0Mg4xGI3HMOig3GcJiYAf8jAEhhUnAAyhEqg8hk0oAsIjgAiAwmYxGA4mYzGwwkI0i0ooUnB0IBMIl1Dg8zmYyGolptPkI1m" +
"Y1GAll9KoUslNIrVCqNQldShFUstXAVfrVcrlZtVhuFnsUHq1zoczoQGhFBkNpg6zbDykUkhsPHE2h85nc9n8xtVDtlex9Msd2p1YstVq9ux8HyMtzuFz1PsNTzQlv2h" +
"hWfkuqpeVuN0q+nvEooN5veSAGpkb/ACcZrvhU3w83nM/poxGuchGpoVBvWgg+8knA4WimnFxI45Er5XOlHMg/Q3XU33W4ew9Wyu11mchDagcO7zus8VDoNBBEIKBpMY" +
"6DqOQyokhA/IQIQmwMk4bIQFDcoO6LWgwhQkNcABwEyAB5GwWbet6cRQg3DENQ5D8QxADZvEkAB8nabsURGeBpFM3pwE2AEZRpDx/neZpOR3Dz9oO/r/wCMoZNTBQAQR" +
"JSEwYg8HPGhEIoNCaEwq10gQ2WcRt7LcRxRFpuxUAEURQ3sczBEMgTTG8gN7HpOSEAEiQBAQZpmQ0DibPUFwbKcHwkhQoQtNQNzNEMbABOKDy/DMYQzHLeoPL0OTJSUd" +
"0pHcxTewk5zrIygIRPslz4lEngBKIAQivgASs/kLSBTlO00f8t0vGcgUbDlDRjXLCUNRERRvRgAHW2oAICA==");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Position") as EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "1 rindex ``";
	var_Column1.Visible = false;
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("%C1 mod 2",null);
	var_ConditionalFormat.BackColor = 0x1000000;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
axG2antt1.EndUpdate();

2033:
How can I specify alternate background colors for each root item, similar with BackColorAlternate

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Position") as EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "( ( 1:=( ( 0:=(1 rpos '') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )";
	var_Column1.Visible = false;
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("%C1 mod 2",null);
	var_ConditionalFormat.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	h = var_Items.AddItem("Root 3");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
axG2antt1.EndUpdate();

2032:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 4)

axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.VisualDesign = "gBFLBWIgBAEHhEJAEGg6VAkHeLpgwChAOhULB8XAUUg8MAAREEHGMcgRCJ0ei8dhABDEcQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGc" +
"TSBCIZBqEqSZLiEZRQiiCYsS5GQBRWAkEwiBiEQTjea5CgOIAFS7LIqjRQEBxhIaZYIGaiQADENo9TxIMZAfBIHShK6NJABCCSQKkYx0HScRijDIEFwGIQmbKiej4DCi" +
"CQQW7OYYRVCNMQSfa8HivJyrcamfp/YBgOBYHb1eLVPR5LwfPCGUw1P6PLxkORZHimK4tSLHV7xVpMIwZFafIQhCCoHomS5NU7UNR0TQUFx9FaGX7rDDsGwLAJ6XRgF4" +
"bg2VpnHePpenAN4bH2GwHFmApSjEGBLnWOpRGOTBZHOegrE6BxPiWVJqCweQrn0LgJAWJBjwgaw1gKO5HmWch5h+fovF+G5bmich4BgfZkB8dynRUVYqiUR5rnmex/F6" +
"N4tn2AJfnebZ3DEXw3HWXgzAyIwgicKJKBKEIhCeCgiHyHYFEmSAFmqBghFIdgSCeIJygYDAyAgJx6AoIINAMOJNCgCZCGoGoLmMCI+CwJoihMNglCCIhzFCUg0EmMhg" +
"hWDBkAiQg9CUY4jEYN4Jk2IxklYJoJHIUg+CSZJSESFwkkkGI+FOFIJEIRhPhMCRJCSVoRrSBhiDgTZjHYT4PEkYhwhgJYm0SaIaiaSYuE+GQNlmCIBGCJxjhiZQ5AkM" +
"hAg6ExJCkPhPguaAiFYUAlAkKZ0g6HoOEmWR/GHcA4m0OwIlIJIHCRgQshGJhpjoaocieaZiC6GAimkUgehIOwnGYGYIGkah6jaE4rg6SpCjKK5rEOMYlGIGIihKOggl" +
"oFoqj6L5aGaBo6CkGIkAQjiPpCAAaJILCTJQlKPACDaXJgmSaJsnCdJ4nygKEoijKQpSmKcqCpKoqysK0rivLAsSyLMtC1LYty4Lkui7LwvS+L8wDBMIwzEMUxjHMgyT" +
"KMszDNM4zzQNE0jTNQ1TWNc2DZNo2zcN03jfOA4TiOM5DlOY5zoOk6jrOw7TuO88DxPI8z0PU9j3Pg+T6Ps/D9P4/0AQFAkDQRBUGQdCEJQpC0MQ1DkPRBEUSRNFEVBh" +
"FkXRhGQ9D6Dxfh+W5gGGd4QH2XQjCmDpFFaKoVB+D5Xmed5+H8YAHnIAh9EwV5Fl0d4MkMKJICmSgygSJAoEmMUCIPgnDCCIOQFYCxJjwFoCcA4kxoF+AIJkAgExegDE" +
"gEYQInAzCUAIOEGgfxiiRDYF1Q4EQ2BSCaEQYwbAiKREMpRSymFNDIAkAxT6oVRgSA2qdVKq1WqvVirMZQUhSCnBUMoIgoQRgnGSIQUgkg1hIHYAkAYMROAmHiLsE4xx" +
"SCxBwEwCQ0wmDdBsE0GYXBtg2CSPMFIuwYiQBYBQeAcwOCnBCCZgw0g0glBONAQgqQThCGgPQGoBQfiRGmOEZIPAXjsBoPAO4HRThhA0EQSA5BAgaCKJIGg3QdhOCmNU" +
"BoQAijTCIF0FwQxpCHDIPAYYMQGgtCmFcaQtRAjZCyFYSojQ2B2BoKwIYFApBXEIBsIQ1QsAWAWEwaA1xCgjAoIAQBAQ=";
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
axG2antt1.EndUpdate();

2031:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 3)

axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(3,"gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance.Add(1,"CP:3 -2 -2 2 2");
	var_Appearance.Add(4,"gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
	var_Appearance.Add(2,"CP:4 -2 -2 2 2");
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
axG2antt1.HasButtons = EXG2ANTTLib.ExpandButtonEnum.exCustom;
axG2antt1.set_HasButtonsCustom(false,16777216);
axG2antt1.set_HasButtonsCustom(true,33554432);
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
axG2antt1.EndUpdate();

2030:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 2)

axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"XP:TREEVIEW 2 1");
	var_Appearance.Add(2,"XP:TREEVIEW 2 2");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphOpen,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphClose,0x2000000);
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
axG2antt1.EndUpdate();

2029:
How can I find if the control is running in DPI mode
System.Diagnostics.Debug.Print( axG2antt1.FormatABC("dpi = 1 ? `normal/stretch mode` : `dpi mode`",null,null,null).ToString() );

2028:
How can I change the visual appearance of the +/- buttons (method 1)

axG2antt1.BeginUpdate();
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphOpen,0x1000000);
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphClose,0x2000000);
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
axG2antt1.EndUpdate();

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 axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_ItemDividerLine(e.item,EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(e.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(e.item,"",-3,"");
		int l = var_Items.get_GroupItem(e.item);
		var_Items.set_CellSingleLine(e.item,l,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(e.item,l,true);
		var_Items.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
	axG2antt1.Chart.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
axG2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color = 0x1000000;
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
axG2antt1.AllowGroupBy = true;
axG2antt1.HasLines = EXG2ANTTLib.HierarchyLineEnum.exNoLine;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.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 axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_ItemDividerLine(e.item,EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(e.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(e.item,"",-3,"");
		int l = var_Items.get_GroupItem(e.item);
		var_Items.set_CellSingleLine(e.item,l,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(e.item,l,true);
		var_Items.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
	axG2antt1.Chart.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
axG2antt1.AllowGroupBy = true;
axG2antt1.HasLines = EXG2ANTTLib.HierarchyLineEnum.exNoLine;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
	var_Column1.Alignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellBackColor,15790320);
axG2antt1.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 axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.AddBar(e.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(e.item,"",-3,"");
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("C1") as EXG2ANTTLib.Column);
		var_Column.GroupByFormatCell = "upper(value)";
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column1.FormatColumn = "1 pos ``";
		var_Column1.AllowGroupBy = false;
		var_Column1.Position = 0;
		var_Column1.Width = 48;
		var_Column1.AllowSizing = false;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
axG2antt1.AllowGroupBy = true;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.Columns[0].SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.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 axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_ItemDividerLine(e.item,EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(e.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(e.item,"",-3,"");
		int l = var_Items.get_GroupItem(e.item);
		var_Items.set_CellSingleLine(e.item,l,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(e.item,l,true);
		var_Items.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
	axG2antt1.Chart.set_ItemBackColor(e.item,(uint)ColorTranslator.ToWin32(Color.FromArgb(190,190,190)));
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
axG2antt1.AllowGroupBy = true;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.Columns[0].SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.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 axG2antt1_AddGroupItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEvent e)
{
	EXG2ANTTLib.Items var_Items = axG2antt1.Items;
		var_Items.set_ExpandItem(e.item,false);
		var_Items.set_ItemDividerLine(e.item,EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(e.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(e.item,"",-3,"");
}
//this.axG2antt1.AddGroupItem += new AxEXG2ANTTLib._IG2anttEvents_AddGroupItemEventHandler(this.axG2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
axG2antt1.AllowGroupBy = true;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.Columns[0].SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarCaption = "<fgcolor=FF0000>Try to drag the Pos column here.";
axG2antt1.AllowGroupBy = true;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.EndUpdate();

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

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","GTask");
		var_Bar1.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar1.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar1.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0));
	EXG2ANTTLib.Bar var_Bar2 = var_Chart.Bars.Copy("Task","RTask");
		var_Bar2.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar2.set_Def(EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar2.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_Chart.ColumnsFormatLevel = "0";
axG2antt1.OnResizeControl = EXG2ANTTLib.OnResizeControlEnum.exDisableSplitter | EXG2ANTTLib.OnResizeControlEnum.exResizeChart;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Default") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Type") as EXG2ANTTLib.Column);
	var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
	var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,0);
	var_Column1.Visible = false;
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Items var_Items = axG2antt1.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);
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.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)`) )))";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column2 = axG2antt1.Columns[1];
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "GTask|RTask";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShort;
EXG2ANTTLib.Column var_Column3 = axG2antt1.Columns[1];
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column3.Filter = "*B";
axG2antt1.ApplyFilter();
axG2antt1.EndUpdate();

2019:
FilterBarCaption ALL Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object i = axG2antt1.FormatABC("value + 1",axG2antt1.Items.get_ItemToIndex(e.item),null,null);
	axG2antt1.Items.set_CellImage(e.item,3,i);
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column);
	EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exCheck;
EXG2ANTTLib.Column var_Column3 = (axG2antt1.Columns.Add("Image") as EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox;
EXG2ANTTLib.Column var_Column4 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.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)`) )))";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column5 = axG2antt1.Columns[0];
	var_Column5.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
axG2antt1.Columns[2].Filter = 1.ToString();
axG2antt1.ApplyFilter();
axG2antt1.EndUpdate();

2018:
FilterBarCaption ALL Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object i = axG2antt1.FormatABC("value + 1",axG2antt1.Items.get_ItemToIndex(e.item),null,null);
	axG2antt1.Items.set_CellImage(e.item,3,i);
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

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

2017:
FilterBarCaption ALLUI Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object i = axG2antt1.FormatABC("value + 1",axG2antt1.Items.get_ItemToIndex(e.item),null,null);
	axG2antt1.Items.set_CellImage(e.item,3,i);
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column);
	EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exCheck;
EXG2ANTTLib.Column var_Column3 = (axG2antt1.Columns.Add("Image") as EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox;
EXG2ANTTLib.Column var_Column4 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.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)`) )))";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column5 = axG2antt1.Columns[0];
	var_Column5.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
axG2antt1.Columns[2].Filter = 1.ToString();
axG2antt1.ApplyFilter();
axG2antt1.EndUpdate();

2016:
FilterBarCaption ALLUI Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object i = axG2antt1.FormatABC("value + 1",axG2antt1.Items.get_ItemToIndex(e.item),null,null);
	axG2antt1.Items.set_CellImage(e.item,3,i);
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

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

2015:
FilterBarCaption AVAILABLE Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object i = axG2antt1.FormatABC("value + 1",axG2antt1.Items.get_ItemToIndex(e.item),null,null);
	axG2antt1.Items.set_CellImage(e.item,3,i);
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column);
	EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exCheck;
EXG2ANTTLib.Column var_Column3 = (axG2antt1.Columns.Add("Image") as EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox;
EXG2ANTTLib.Column var_Column4 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.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)`) )))";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column5 = axG2antt1.Columns[0];
	var_Column5.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
axG2antt1.Columns[2].Filter = 1.ToString();
axG2antt1.ApplyFilter();
axG2antt1.EndUpdate();

2014:
FilterBarCaption AVAILABLE Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	object i = axG2antt1.FormatABC("value + 1",axG2antt1.Items.get_ItemToIndex(e.item),null,null);
	axG2antt1.Items.set_CellImage(e.item,3,i);
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column);
	EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exCheck;
EXG2ANTTLib.Column var_Column3 = (axG2antt1.Columns.Add("Image") as EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox;
EXG2ANTTLib.Column var_Column4 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.FilterBarCaption = "value + ` ` + available";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column5 = axG2antt1.Columns[0];
	var_Column5.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
axG2antt1.Columns[2].Filter = 1.ToString();
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.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>`";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
EXG2ANTTLib.Column var_Column3 = axG2antt1.Columns[0];
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
EXG2ANTTLib.Column var_Column4 = axG2antt1.Columns[1];
	var_Column4.FilterType = EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.FilterBarCaption = "value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>`";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
EXG2ANTTLib.Column var_Column3 = axG2antt1.Columns[0];
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
EXG2ANTTLib.Column var_Column4 = axG2antt1.Columns[1];
	var_Column4.FilterType = EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Col-1") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Col-2") as EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column2 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.set_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,axG2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",axG2antt1.get_Description(EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
axG2antt1.FilterBarCaption = "value replace `[` with `<fgcolor=808080>[` replace `]` with `]</fgcolor>`";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
EXG2ANTTLib.Column var_Column3 = axG2antt1.Columns[0];
	var_Column3.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
EXG2ANTTLib.Column var_Column4 = axG2antt1.Columns[1];
	var_Column4.FilterType = EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarCaption = "`<r>` + value";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
EXG2ANTTLib.Column var_Column2 = axG2antt1.Columns[0];
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = EXG2ANTTLib.FilterListEnum.exShowExclude | EXG2ANTTLib.FilterListEnum.exShowFocusItem | EXG2ANTTLib.FilterListEnum.exShowCheckBox | EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.FilterBarPrompt = axG2antt1.FormatABC("`<b>` + value",axG2antt1.FilterBarPrompt,null,null).ToString();
axG2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : ``)";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? `<off -4> ` + abs(matchitemcount + 1) + ` result(s)` : ``)";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.FilterBarCaption = "`<b>` + value + `</b><r><fgcolor=808080>` + ( matchitemcount < 0 ? abs(matchitemcount + 1) + ` result(s)` : ``)";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
axG2antt1.ApplyFilter();
axG2antt1.EndUpdate();

2005:
FilterBarCaption Predefined Keywords

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

// AfterExpandItem event - Fired after an item is expanded (collapsed).
private void axG2antt1_AfterExpandItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AfterExpandItemEvent e)
{
	axG2antt1.Refresh();
}
//this.axG2antt1.AfterExpandItem += new AxEXG2ANTTLib._IG2anttEvents_AfterExpandItemEventHandler(this.axG2antt1_AfterExpandItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column);
	EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exCheck;
EXG2ANTTLib.Column var_Column1 = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.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");
axG2antt1.FilterInclude = EXG2ANTTLib.FilterIncludeEnum.exItemsWithChilds;
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.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>`+ `<br><fgcolor=0000FF><i>leafitemcount</i></fgcolor>: <fgcolor=808080>` + leafitemcount +" +
" `</fgcolor>`";
axG2antt1.FilterBarPromptPattern = "B";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column2 = axG2antt1.Columns[0];
	var_Column2.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item A|Item B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarFont = (axG2antt1.Font as stdole.IFontDisp);
axG2antt1.FilterBarCaption = "`<r><i><fgcolor=808080><upline><solidline><sha ;;0>` + value";
axG2antt1.FilterBarPromptPattern = "B";
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXG2ANTTLib.Column var_Column1 = axG2antt1.Columns[0];
	var_Column1.FilterType = EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
axG2antt1.ApplyFilter();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axG2antt1.FilterBarPrompt = axG2antt1.FormatABC("`<r>` + value",axG2antt1.FilterBarPrompt,null,null).ToString();
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
axG2antt1.RightToLeft = true;
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axG2antt1.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 axG2antt1_AddItem(object sender, AxEXG2ANTTLib._IG2anttEvents_AddItemEvent e)
{
	axG2antt1.Items.AddBar(e.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.axG2antt1.AddItem += new AxEXG2ANTTLib._IG2anttEvents_AddItemEventHandler(this.axG2antt1_AddItem);

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.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);
EXG2ANTTLib.Appearance var_Appearance = axG2antt1.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");
(axG2antt1.Columns.Add("Item") as EXG2ANTTLib.Column).DisplayFilterButton = true;
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Pos") as EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axG2antt1.FilterBarPromptVisible = EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exFooterFilterBarButton,0x1000000);
axG2antt1.EndUpdate();