Class ViewColumn
Namespace: Aspose.Tasks.Visualization
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a column in a project view.
public abstract class ViewColumn
Inheritance
Derived
AssignmentViewColumn, GanttChartColumn, ResourceViewColumn
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ViewColumn(string, int)
Initializes a new instance of the Aspose.Tasks.Visualization.ViewColumn class.
protected ViewColumn(string name, int width)
Parameters
name
string
the specified column name.
width
int
the specified column width.
Properties
Field
Gets or sets column field. Aspose.Tasks.Visualization.ViewColumn.Field.
public abstract Field Field { get; set; }
Property Value
Name
Gets the column name.
public string Name { get; }
Property Value
StringAlignment
Gets or sets alignment of the text (can be one of the values of the Aspose.Tasks.Visualization.HorizontalStringAlignment enumeration).
public HorizontalStringAlignment StringAlignment { get; set; }
Property Value
TextStyleModificationCallback
Gets or sets the callback which can be used to customize the appearance of the column’s cells.
public ITextStyleModificationCallback TextStyleModificationCallback { get; set; }
Property Value
ITextStyleModificationCallback
Width
Gets the column width.
public int Width { get; }