Version

ColumnAutoSizing Property

Returns or sets a value indicating whether the value of the ColumnWidth property is set to the ideal width for the PrimaryInterval when the user double-clicks the adjustable area of the header.
Syntax
'Declaration
 
Public Property ColumnAutoSizing As Infragistics.Win.UltraWinSchedule.TimelineViewColumnAutoSizing
public Infragistics.Win.UltraWinSchedule.TimelineViewColumnAutoSizing ColumnAutoSizing {get; set;}
Example
This sample code illustrates the appearance settings available for the Timeline section of GanttView.

Imports Infragistics.Win.UltraWinGanttView
Imports Infragistics.Win.UltraWinSchedule



Private Sub TimelineAppearances() 

    Me.ultraGanttView1.TimelineSettings.WorkingHourAppearance.BackColor = Color.LightBlue 
    Me.ultraGanttView1.TimelineSettings.NonWorkingHourAppearance.BackColor = Color.BlanchedAlmond 
    Me.ultraGanttView1.TimelineSettings.ColumnHeaderAppearance.BackColor = Color.Gray 
    Me.ultraGanttView1.TimelineSettings.ColumnAutoSizing = TimelineViewColumnAutoSizing.PrimaryIntervalOnly 
    Me.ultraGanttView1.TimelineSettings.ColumnWidth = 180 

End Sub
using Infragistics.Win.UltraWinGanttView;
using Infragistics.Win.UltraWinSchedule;


private void TimelineAppearances()
{
		       this.ultraGanttView1.TimelineSettings.WorkingHourAppearance.BackColor = Color.LightBlue;
            this.ultraGanttView1.TimelineSettings.NonWorkingHourAppearance.BackColor = Color.BlanchedAlmond;
            this.ultraGanttView1.TimelineSettings.ColumnHeaderAppearance.BackColor = Color.Gray;
            this.ultraGanttView1.TimelineSettings.ColumnAutoSizing = TimelineViewColumnAutoSizing.PrimaryIntervalOnly;
            this.ultraGanttView1.TimelineSettings.ColumnWidth = 180;

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also