Method Of
Of(CadSheetListData)
Makes a column of a data type, its heading the type's own words ("Sheet Number").
public static CadSheetListColumn Of(CadSheetListData data)
Parameters
dataCadSheetListDataWhat it shows; not CustomProperty, which Custom(string, string) makes.
Returns
- CadSheetListColumn
The column.
Exceptions
- ArgumentException
Thrown when the data type is a custom property.
Of(CadSheetListData, string)
Makes a column of a data type under a heading of the caller's.
public static CadSheetListColumn Of(CadSheetListData data, string heading)
Parameters
dataCadSheetListDataWhat it shows; not CustomProperty.
headingstringThe heading text.
Returns
- CadSheetListColumn
The column.
Exceptions
- ArgumentNullException
Thrown when the heading is null.
- ArgumentException
Thrown when the data type is a custom property.