Class SpanLayoutManager
Implements the functionality of span layout for ScheduleControl.Only for internal use.
Inheritance
System.Object
SpanLayoutManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Schedule
Assembly: Syncfusion.Schedule.Windows.dll
Syntax
public class SpanLayoutManager
Constructors
SpanLayoutManager(ScheduleControl)
Spans the layout.Only for internal use.
Declaration
public SpanLayoutManager(ScheduleControl schedule)
Parameters
Type | Name | Description |
---|---|---|
ScheduleControl | schedule | Schedule control. |
Methods
Clear()
Clears the layout. Only for internal use.
Declaration
public void Clear()
GetFreeSlot(DateTime)
Gets the free slot.
Declaration
public int GetFreeSlot(DateTime dt)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | dt |
Returns
Type | Description |
---|---|
System.Int32 | Position of free slot. |
MarkSlot(DateTime, Int32)
Gets the mark slot.
Declaration
public void MarkSlot(DateTime dt, int pos)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | dt | The date value. |
System.Int32 | pos | The position. |
MarkSlotRange(DateTime, DateTime, Int32)
Gets the mark slot range.
Declaration
public void MarkSlotRange(DateTime start, DateTime end, int pos)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | start | The start date value. |
System.DateTime | end | The end date value. |
System.Int32 | pos | The position. |