Class GanttSchedule
Represents a control that act as a measurement medium of Gantt.
Inheritance
Namespace: Syncfusion.Windows.Controls.Gantt
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public class GanttSchedule : ItemsControl
Constructors
GanttSchedule()
Initializes a new instance of the GanttSchedule class.
Declaration
public GanttSchedule()
Fields
EndProperty
The DependencyProperty for End property.
Declaration
public static readonly DependencyProperty EndProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EndTimeProperty
The DependencyProperty for EndTime property.
Declaration
public static readonly DependencyProperty EndTimeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FiscalYearBeginsOnProperty
The DependencyProperty for FiscalYearBeginsOn property.
Declaration
public static readonly DependencyProperty FiscalYearBeginsOnProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsFYNumberingEnabledProperty
The DependencyProperty for IsFYNumberingEnabled property.
Declaration
public static readonly DependencyProperty IsFYNumberingEnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsUIVirtualizationEnabledProperty
The DependencyProperty for IsUIVirtualizationEnabled property.
Declaration
public static readonly DependencyProperty IsUIVirtualizationEnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ScheduleTypeProperty
The DependencyProperty for ScheduleType property.
Declaration
public static readonly DependencyProperty ScheduleTypeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StartProperty
The DependencyProperty for Start property.
Declaration
public static readonly DependencyProperty StartProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StartTimeProperty
The DependencyProperty for StartTime property.
Declaration
public static readonly DependencyProperty StartTimeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
WeekBeginsOnProperty
The DependencyProperty for WeekBeginsOn property.
Declaration
public static readonly DependencyProperty WeekBeginsOnProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
End
Gets or sets the end point.
Declaration
public double End { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The end. |
EndTime
Gets or sets the end time.
Declaration
public DateTime EndTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The end time. |
ExcludeHolidays
Excludes or includes the holidays in duration calculation
Declaration
public bool ExcludeHolidays { get; set; }
Property Value
Type |
---|
System.Boolean |
ExcludeWeekends
Excludes or includes the weekends days in duration calculation
Declaration
public bool ExcludeWeekends { get; set; }
Property Value
Type |
---|
System.Boolean |
FiscalYearBeginsOn
Gets or sets the fiscal year begins on.
Declaration
public Month FiscalYearBeginsOn { get; set; }
Property Value
Type | Description |
---|---|
Month | The fiscal year begins on. |
Holidays
Gets or sets the GanttHolidayCollection.
Declaration
public GanttHolidayCollection Holidays { get; set; }
Property Value
Type |
---|
GanttHolidayCollection |
IsFYNumberingEnabled
Gets or sets a value indicating whether this instance is FY numbering enabled.
Declaration
public bool IsFYNumberingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsUIVirtualizationEnabled
Gets or sets a value indicating whether this instance is UI virtualization enabled.
Declaration
public bool IsUIVirtualizationEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Model
Gets the model.
Declaration
public GanttModel Model { get; }
Property Value
Type | Description |
---|---|
GanttModel | The model. |
ScheduleType
Gets or sets the type of the schedule.
Declaration
public ScheduleType ScheduleType { get; set; }
Property Value
Type | Description |
---|---|
ScheduleType | The type of the schedule. |
ShowHolidays
Gets or sets a value indicating whether enables or disables the ShowHolidays
Declaration
public bool ShowHolidays { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowWeekends
Enables or disables the ShowWeekends.
Declaration
public bool ShowWeekends { get; set; }
Property Value
Type |
---|
System.Boolean |
Start
Gets or sets the start point.
Declaration
public double Start { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The start. |
StartTime
Gets or sets the start time.
Declaration
public DateTime StartTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The start time. |
WeekBeginsOn
Gets or sets the week begins on.
Declaration
public DayOfWeek WeekBeginsOn { get; set; }
Property Value
Type | Description |
---|---|
System.DayOfWeek | The week begins on. |
Weekends
Gets or sets enum values which are weekends
Declaration
public Days Weekends { get; set; }
Property Value
Type | Description |
---|---|
Days | The value of type Days |
Methods
ClearContainerForItemOverride(DependencyObject, Object)
When overridden in a derived class, undoes the effects of the System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(System.Windows.DependencyObject,System.Object) method.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The container element. |
System.Object | item | The item. |
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
System.Windows.DependencyObject | The element that is used to display the given item. |
IsItemItsOwnContainerOverride(Object)
Determines if the specified item is (or is eligible to be) its own container.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if the item is (or is eligible to be) its own container; otherwise, false. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | Element used to display the specified item. |
System.Object | item | Specified item. |