Class BarStyle
Namespace: Aspose.Tasks.Visualization
Assembly: Aspose.Tasks.dll (25.2.0)
Change the visual style of the bar for the item in the project view.
public class BarStyle
Inheritance
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
BarShape
Gets or sets Aspose.Tasks.Visualization.BarStyle.BarShape of the bar style.
public BarShape BarShape { get; set; }
Property Value
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
BottomField
Gets or sets a field to be displayed on the bottom of the bar.
public Field BottomField { get; set; }
Property Value
EndShape
Gets or sets Aspose.Tasks.Visualization.Shape at the end of the bar.
public Shape EndShape { get; set; }
Property Value
EndShapeColor
Gets or sets System.Drawing.Color of the shape at the end of the bar.
public Color EndShapeColor { get; set; }
Property Value
EndShapeType
Gets or sets a type of the end shape. Aspose.Tasks.Visualization.GanttBarType.
public GanttBarType EndShapeType { get; set; }
Property Value
From
Gets or sets a start point position of the gantt bar. Aspose.Tasks.Field.
public Field From { get; set; }
Property Value
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
InsideField
Gets or sets a field to be displayed inside of the bar.
public Field InsideField { get; set; }
Property Value
ItemType
Gets or sets Aspose.Tasks.Visualization.BarItemType of the bar style.
public BarItemType ItemType { get; set; }
Property Value
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
LeftField
Gets or sets a field to be displayed on the left of the bar.
public Field LeftField { get; set; }
Property Value
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
RightField
Gets or sets a field to be displayed on the right of the bar.
public Field RightField { get; set; }
Property Value
StartShape
Gets or sets Aspose.Tasks.Visualization.Shape at the beginning of the bar.
public Shape StartShape { get; set; }
Property Value
StartShapeColor
Gets or sets System.Drawing.Color of the shape at the beginning of the bar.
public Color StartShapeColor { get; set; }
Property Value
StartShapeType
Gets or sets a type of the start shape.
public GanttBarType StartShapeType { get; set; }
Property Value
TextStyle
Gets or sets style of the bar’s text.
public TextStyle TextStyle { get; set; }
Property Value
To
Gets or sets a finish point position of the gantt bar.
public Field To { get; set; }
Property Value
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
TopField
Gets or sets a field to be displayed on the top of the bar.
public Field TopField { get; set; }