Class GanttChartRow
Represents a control that will be displayed as a row in the Gantt Chart.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Gantt
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public class GanttChartRow : ContentControl, IDisposable
Constructors
GanttChartRow()
Initializes a new instance of the GanttChartRow class.
Declaration
public GanttChartRow()
Properties
Model
Gets the model.
Declaration
public GanttModel Model { get; }
Property Value
| Type | Description |
|---|---|
| GanttModel | The model. |
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
| Type | Description |
|---|---|
| System.Windows.Size | The actual size used. |
Dispose()
Method gets called to dispose all the object.
Declaration
public void Dispose()
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | availableSize | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
| Type | Description |
|---|---|
| System.Windows.Size | The size that this element determines it needs during layout, based on its calculations of child element sizes. |
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()
OnMouseDown(MouseButtonEventArgs)
Method gets called on the mouse down.
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | The mouse button event arguments. |
OnMouseEnter(MouseEventArgs)
Method gets called when the mouse gets entered.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | The mouse event arguments. |
OnMouseLeave(MouseEventArgs)
Method gets called when the mouse gets leaved.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | The mouse event arguments. |
OnMouseMove(MouseEventArgs)
Method gets called when the mouse gets moved.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | The mouse event arguments. |
OnMouseUp(MouseButtonEventArgs)
Method gets called on the mouse up.
Declaration
protected override void OnMouseUp(MouseButtonEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | The mouse button event arguments. |
OnTouchDown(TouchEventArgs)
Method gets called on the touch down.
Declaration
protected override void OnTouchDown(TouchEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.TouchEventArgs | e | The touch event arguments |
OnTouchMove(TouchEventArgs)
Method gets called when the touch moved.
Declaration
protected override void OnTouchMove(TouchEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.TouchEventArgs | e | The touch event arguments. |
OnTouchUp(TouchEventArgs)
Method gets called on the touch up.
Declaration
protected override void OnTouchUp(TouchEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.TouchEventArgs | e | The touch event arguments. |