Aspose.Tasks for C++
Aspose::Tasks::Visualization::AssignmentViewColumn Class Reference

Project's view class. More...

#include <AssignmentViewColumn.h>

Inherits Aspose::Tasks::Visualization::ViewColumn.

Public Member Functions

Aspose::Tasks::Field get_Field () override
 Column field. Field. More...
 
void set_Field (Aspose::Tasks::Field value) override
 Column field. Field. More...
 
 AssignmentViewColumn (const System::String &name, int32_t width, AssignmentToColumnTextConverter converter)
 Initializes a new instance of the AssignmentViewColumn class. More...
 
System::String GetColumnText (const System::SharedPtr< ResourceAssignment > &assignment)
 Converts current resource assignment to the column text. More...
 
- Public Member Functions inherited from Aspose::Tasks::Visualization::ViewColumn
System::String get_Name () const
 Gets the column name. More...
 
HorizontalStringAlignment get_StringAlignment () const
 Gets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration). More...
 
void set_StringAlignment (HorizontalStringAlignment value)
 Sets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration). More...
 
int32_t get_Width () const
 Gets the column width. More...
 
const System::SharedPtr< ITextStyleModificationCallback > & get_TextStyleModificationCallback () const
 Gets the callback which can be used to customize the appearance of the column's cells. More...
 
void set_TextStyleModificationCallback (const System::SharedPtr< ITextStyleModificationCallback > &value)
 Sets the callback which can be used to customize the appearance of the column's cells. More...
 

Detailed Description

Project's view class.

Constructor & Destructor Documentation

◆ AssignmentViewColumn()

Aspose::Tasks::Visualization::AssignmentViewColumn::AssignmentViewColumn ( const System::String &  name,
int32_t  width,
AssignmentToColumnTextConverter  converter 
)

Initializes a new instance of the AssignmentViewColumn class.

Parameters
nameColumn's name.
widthColumn's width in pixels.
converterAssignment data to column text converter.

Member Function Documentation

◆ get_Field()

Aspose::Tasks::Field Aspose::Tasks::Visualization::AssignmentViewColumn::get_Field ( )
overridevirtual

Column field. Field.

Implements Aspose::Tasks::Visualization::ViewColumn.

◆ GetColumnText()

System::String Aspose::Tasks::Visualization::AssignmentViewColumn::GetColumnText ( const System::SharedPtr< ResourceAssignment > &  assignment)

Converts current resource assignment to the column text.

Parameters
assignmentCurrent assignment.
Returns
The column text.

◆ set_Field()

void Aspose::Tasks::Visualization::AssignmentViewColumn::set_Field ( Aspose::Tasks::Field  value)
overridevirtual

Column field. Field.

Implements Aspose::Tasks::Visualization::ViewColumn.