C# Class CoderForRent.Charting.Gantt.GanttPanel

Inheritance: System.Windows.Controls.ContentControl
Show file Open project: jogibear9988/SlGanttChart

Public Properties

Property Type Description
GapBackgroundBrushProperty System.Windows.DependencyProperty
GapBorderBrushProperty System.Windows.DependencyProperty
IsReadOnlyProperty System.Windows.DependencyProperty
RowHeightProperty System.Windows.DependencyProperty
ToolTipContentTemplateProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
ConvertDateToPosition double
ConvertDistanceToTimeSpan System.TimeSpan
CreateRow GanttRow
CreateRow GanttRow
GenerateRows void
Nodes_CollectionChanged void
ReGenerateRows void
ResetRows void
UpdateDependencies void
UpdateDependencies void

Public Methods

Method Description
GanttPanel ( ) : System
InvalidateItemPositions ( ) : void
OnApplyTemplate ( ) : void
ValidateRowCount ( ) : void

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size
RaiseItemChanged ( GanttItemEventArgs e ) : void
RaiseItemChanging ( GanttItemEventArgs e ) : void

Private Methods

Method Description
ConvertDateToPosition ( System.DateTime date ) : double
ConvertDistanceToTimeSpan ( double distance ) : System.TimeSpan
CreateRow ( ) : GanttRow
CreateRow ( IGanttNode node ) : GanttRow
GenerateRows ( Size finalSize ) : void
Nodes_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
ReGenerateRows ( ) : void
ResetRows ( ) : void
UpdateDependencies ( ) : void
UpdateDependencies ( GanttItem ganttItem ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

GanttPanel() public method

public GanttPanel ( ) : System
return System

InvalidateItemPositions() public method

public InvalidateItemPositions ( ) : void
return void

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
return System.Windows.Size

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

RaiseItemChanged() protected method

protected RaiseItemChanged ( GanttItemEventArgs e ) : void
e GanttItemEventArgs
return void

RaiseItemChanging() protected method

protected RaiseItemChanging ( GanttItemEventArgs e ) : void
e GanttItemEventArgs
return void

ValidateRowCount() public method

public ValidateRowCount ( ) : void
return void

Property Details

GapBackgroundBrushProperty public static property

public static DependencyProperty,System.Windows GapBackgroundBrushProperty
return System.Windows.DependencyProperty

GapBorderBrushProperty public static property

public static DependencyProperty,System.Windows GapBorderBrushProperty
return System.Windows.DependencyProperty

IsReadOnlyProperty public static property

public static DependencyProperty,System.Windows IsReadOnlyProperty
return System.Windows.DependencyProperty

RowHeightProperty public static property

public static DependencyProperty,System.Windows RowHeightProperty
return System.Windows.DependencyProperty

ToolTipContentTemplateProperty public static property

public static DependencyProperty,System.Windows ToolTipContentTemplateProperty
return System.Windows.DependencyProperty