Aspose.Tasks for C++
Aspose::Tasks::Visualization::ViewColumn Class Referenceabstract

Represents a column in a project view. More...

#include <ViewColumn.h>

Inherits System::Object.

Inherited by Aspose::Tasks::Visualization::AssignmentViewColumn, Aspose::Tasks::Visualization::GanttChartColumn, and Aspose::Tasks::Visualization::ResourceViewColumn.

Public Member Functions

virtual Aspose::Tasks::Field get_Field ()=0
 Gets column field. Field. More...
 
virtual void set_Field (Aspose::Tasks::Field value)=0
 Sets column field. Field. More...
 
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

Represents a column in a project view.

Member Function Documentation

◆ get_Field()

virtual Aspose::Tasks::Field Aspose::Tasks::Visualization::ViewColumn::get_Field ( )
pure virtual

◆ get_Name()

System::String Aspose::Tasks::Visualization::ViewColumn::get_Name ( ) const

Gets the column name.

◆ get_StringAlignment()

HorizontalStringAlignment Aspose::Tasks::Visualization::ViewColumn::get_StringAlignment ( ) const

Gets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).

◆ get_TextStyleModificationCallback()

const System::SharedPtr<ITextStyleModificationCallback>& Aspose::Tasks::Visualization::ViewColumn::get_TextStyleModificationCallback ( ) const

Gets the callback which can be used to customize the appearance of the column's cells.

◆ get_Width()

int32_t Aspose::Tasks::Visualization::ViewColumn::get_Width ( ) const

Gets the column width.

◆ set_Field()

virtual void Aspose::Tasks::Visualization::ViewColumn::set_Field ( Aspose::Tasks::Field  value)
pure virtual

◆ set_StringAlignment()

void Aspose::Tasks::Visualization::ViewColumn::set_StringAlignment ( HorizontalStringAlignment  value)

Sets alignment of the text (can be one of the values of the HorizontalStringAlignment enumeration).

◆ set_TextStyleModificationCallback()

void Aspose::Tasks::Visualization::ViewColumn::set_TextStyleModificationCallback ( const System::SharedPtr< ITextStyleModificationCallback > &  value)

Sets the callback which can be used to customize the appearance of the column's cells.