Class BarStyle

Class BarStyle

Namespace: Aspose.Tasks.Visualization
Assembly: Aspose.Tasks.dll (25.4.0)

Change the visual style of the bar for the item in the project view.

public class BarStyle

Inheritance

object BarStyle

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

BarStyle()

Initializes a new instance of the Aspose.Tasks.Visualization.BarStyle class.

public BarStyle()

Properties

BarColor

Gets or sets System.Drawing.Color of the bar style.

public Color BarColor { get; set; }

Property Value

Color

BarShape

Gets or sets Aspose.Tasks.Visualization.BarStyle.BarShape of the bar style.

public BarShape BarShape { get; set; }

Property Value

BarShape

BottomBarTextConverter

Gets or sets user-defined converter to get text to render on the bottom of the task’s bar. Overrides the value of Aspose.Tasks.Visualization.BarStyle.BottomField property.

public TaskBarTextConverter BottomBarTextConverter { get; set; }

Property Value

TaskBarTextConverter

BottomField

Gets or sets a field to be displayed on the bottom of the bar.

public Field BottomField { get; set; }

Property Value

Field

EndShape

Gets or sets Aspose.Tasks.Visualization.Shape at the end of the bar.

public Shape EndShape { get; set; }

Property Value

Shape

EndShapeColor

Gets or sets System.Drawing.Color of the shape at the end of the bar.

public Color EndShapeColor { get; set; }

Property Value

Color

EndShapeType

Gets or sets a type of the end shape. Aspose.Tasks.Visualization.GanttBarType.

public GanttBarType EndShapeType { get; set; }

Property Value

GanttBarType

From

Gets or sets a start point position of the gantt bar. Aspose.Tasks.Field.

public Field From { get; set; }

Property Value

Field

InsideBarTextConverter

Gets or sets user-defined converter to get text to render inside of the task’s bar. Overrides the value of Aspose.Tasks.Visualization.BarStyle.InsideField property.

public TaskBarTextConverter InsideBarTextConverter { get; set; }

Property Value

TaskBarTextConverter

InsideField

Gets or sets a field to be displayed inside of the bar.

public Field InsideField { get; set; }

Property Value

Field

ItemType

Gets or sets Aspose.Tasks.Visualization.BarItemType of the bar style.

public BarItemType ItemType { get; set; }

Property Value

BarItemType

LeftBarTextConverter

Gets or sets user-defined converter to get text to render on the left of the task’s bar. Overrides the value of Aspose.Tasks.Visualization.BarStyle.LeftField property.

public TaskBarTextConverter LeftBarTextConverter { get; set; }

Property Value

TaskBarTextConverter

LeftField

Gets or sets a field to be displayed on the left of the bar.

public Field LeftField { get; set; }

Property Value

Field

RightBarTextConverter

Gets or sets user-defined converter to get text to render on the right of the task’s bar. Overrides the value of Aspose.Tasks.Visualization.BarStyle.RightField property.

public TaskBarTextConverter RightBarTextConverter { get; set; }

Property Value

TaskBarTextConverter

RightField

Gets or sets a field to be displayed on the right of the bar.

public Field RightField { get; set; }

Property Value

Field

StartShape

Gets or sets Aspose.Tasks.Visualization.Shape at the beginning of the bar.

public Shape StartShape { get; set; }

Property Value

Shape

StartShapeColor

Gets or sets System.Drawing.Color of the shape at the beginning of the bar.

public Color StartShapeColor { get; set; }

Property Value

Color

StartShapeType

Gets or sets a type of the start shape.

public GanttBarType StartShapeType { get; set; }

Property Value

GanttBarType

TextStyle

Gets or sets style of the bar’s text.

public TextStyle TextStyle { get; set; }

Property Value

TextStyle

To

Gets or sets a finish point position of the gantt bar.

public Field To { get; set; }

Property Value

Field

TopBarTextConverter

Gets or sets user-defined converter to get text to render on the top of the task’s bar. Overrides the value of Aspose.Tasks.Visualization.BarStyle.TopField property.

public TaskBarTextConverter TopBarTextConverter { get; set; }

Property Value

TaskBarTextConverter

TopField

Gets or sets a field to be displayed on the top of the bar.

public Field TopField { get; set; }

Property Value

Field

 English