[]
        
(Showing Draft Content)

C1.WPF.GanttView.BarStyle

BarStyle Class

Specifies style settings for drawing a bar on the Gantt Chart.

Inheritance
BarStyle
Namespace: C1.WPF.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
[TypeConverter(typeof(BarStyleConverter))]
public class BarStyle : ICloneable, IDisposable, INotifyPropertyChanged

Constructors

Name Description
BarStyle()

Initializes a new instance of a BarStyle.

Properties

Name Description
AdaptiveBarHeight

Gets or sets whether the bar height will be adapted according to C1GantView Font.

BarColor

Gets or sets the background color for the bar.

BarHeight

Gets or sets the height of task bar.

BarPattern

Gets or sets the hatch style used for filling the bar.

BarShape

Gets or sets the shape of the bar.

BarType

Gets or sets a value indicating the target bar type for the BarStyle.

BottomText1

Gets or sets the column displayed below the bar.

BottomText1_ID

Gets or sets the column ID displayed below the bar.

BottomText2

Gets or sets the second column displayed below the bar.

BottomText2_ID

Gets or sets the second column ID displayed below the bar.

EndColor

Gets or sets the background color for the shape at the bar end.

EndPattern

Gets or sets the hatch style used for filling the shape at the bar end.

EndShape

Gets or sets the shape for the bar end.

LeftText1

Gets or sets the column displayed to the left of the bar.

LeftText1_ID

Gets or sets the column ID displayed to the left of the bar.

LeftText2

Gets or sets the second column displayed to the left of the bar.

LeftText2_ID

Gets or sets the second column ID displayed to the left of the bar.

RightText1

Gets or sets the column displayed to the right of the bar.

RightText1_ID

Gets or sets the column ID displayed to the right of the bar.

RightText2

Gets or sets the second column displayed to the right of the bar.

RightText2_ID

Gets or sets the second column ID displayed to the right of the bar.

StartColor

Gets or sets the background color for the shape at the bar start.

StartPattern

Gets or sets the hatch style used for filling the shape at the bar start.

StartShape

Gets or sets the shape for the bar start.

TopText1

Gets or sets the column displayed above the bar.

TopText1_ID

Gets or sets the column ID displayed above the bar.

TopText2

Gets or sets the second column displayed above the bar.

TopText2_ID

Gets or sets the second column ID displayed above the bar.

UseCommonBarHeightSettings

Gets or sets whether the common layout bar height settings will be used.

View

Gets the owner C1GanttView.

Methods

Name Description
Clone()

Creates a new object that is a copy of the current instance.

Dispose()

Clean up any resources being used.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

ResetBarColor()

Resets the value of the BarColor property.

ResetEndColor()

Resets the value of the EndColor property.

ResetStartColor()

Resets the value of the StartColor property.

Events

Name Description
PropertyChanged

Occurs when the value of a property changes.