Project's view class used in ResourceUsage view and ResourceSheet view.
More...
#include <ResourceViewColumn.h>
Inherits Aspose::Tasks::Visualization::ViewColumn.
Project's view class used in ResourceUsage view and ResourceSheet view.
◆ ResourceViewColumn() [1/3]
Aspose::Tasks::Visualization::ResourceViewColumn::ResourceViewColumn |
( |
const System::String & |
name, |
|
|
int32_t |
width, |
|
|
ResourceToColumnTextConverter |
converter, |
|
|
Aspose::Tasks::Field |
field |
|
) |
| |
Initializes a new instance of the ResourceViewColumn class.
- Parameters
-
name | Column's name. |
width | Column's width in pixels. |
converter | Resource data to column text converter. |
field | Column field. |
◆ ResourceViewColumn() [2/3]
Aspose::Tasks::Visualization::ResourceViewColumn::ResourceViewColumn |
( |
const System::String & |
name, |
|
|
int32_t |
width, |
|
|
ResourceToColumnTextConverter |
converter |
|
) |
| |
Initializes a new instance of the ResourceViewColumn class.
- Parameters
-
name | Column's name. |
width | Column's width in pixels. |
converter | Resource data to column text converter. |
◆ ResourceViewColumn() [3/3]
Aspose::Tasks::Visualization::ResourceViewColumn::ResourceViewColumn |
( |
int32_t |
width, |
|
|
Aspose::Tasks::Field |
field |
|
) |
| |
Initializes a new instance of the ResourceViewColumn class.
- Parameters
-
width | Column width in pixels. |
field | Column field. |
◆ get_Field()
Aspose::Tasks::Field Aspose::Tasks::Visualization::ResourceViewColumn::get_Field |
( |
| ) |
|
|
overridevirtual |
◆ GetColumnText()
System::String Aspose::Tasks::Visualization::ResourceViewColumn::GetColumnText |
( |
const System::SharedPtr< Resource > & |
resource | ) |
|
Converts current resource to the column text.
- Parameters
-
resource | Current resource. |
- Returns
- The column text.
◆ set_Field()
void Aspose::Tasks::Visualization::ResourceViewColumn::set_Field |
( |
Aspose::Tasks::Field |
value | ) |
|
|
overridevirtual |