Class ViewColumn
Tên không gian: Aspose.Tasks.Visualization Tổng hợp: Aspose.Tasks.dll (25.4.0)
Hiển thị một cột trong dạng xem dự án.
public abstract class ViewColumn
Inheritance
Derived
AssignmentViewColumn , GanttChartColumn , ResourceViewColumn
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ViewColumn(Nhóm, int)
Bắt đầu một trường hợp mới của lớp Aspose.Tasks.Visualization.ViewColumn.
protected ViewColumn(string name, int width)
Parameters
name
string
tên cột cụ thể.
width
int
chiều rộng của cột cụ thể.
Properties
Field
Nhận hoặc đặt trường cột.Đánh giá về Aspose.Tasks.Visualization.ViewColumn.
public abstract Field Field { get; set; }
Giá trị bất động sản
Name
Nhận tên cột.
public string Name { get; }
Giá trị bất động sản
StringAlignment
Nhận hoặc thiết lập sự phù hợp của văn bản (có thể là một trong những giá trị của Aspose.Tasks.Visualization.HorizontalStringAlignment liệt kê).
public HorizontalStringAlignment StringAlignment { get; set; }
Giá trị bất động sản
TextStyleModificationCallback
Nhận hoặc đặt lại cuộc gọi mà có thể được sử dụng để tùy chỉnh sự xuất hiện của các tế bào trong cột.
public ITextStyleModificationCallback TextStyleModificationCallback { get; set; }
Giá trị bất động sản
ITextStyleModificationCallback
Width
Nhận được chiều rộng cột.
public int Width { get; }