8 #include <system/string.h>
9 #include <system/multicast_delegate.h>
10 #include <system/event.h>
13 #include "aspose.tasks.cpp/Visualization/View/ViewColumn.h"
14 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
21 class ResourceAssignment;
22 namespace Visualization
24 using AssignmentToColumnTextConverter = System::MulticastDelegate<System::String(System::SharedPtr<Aspose::Tasks::ResourceAssignment>)>;
33 namespace Visualization {
44 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
45 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
53 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Field
get_Field()
override;
58 ASPOSE_TASKS_SHARED_API
void set_Field(Aspose::Tasks::Field value)
override;
66 ASPOSE_TASKS_SHARED_API
AssignmentViewColumn(
const System::String& name, int32_t width, AssignmentToColumnTextConverter converter);
73 ASPOSE_TASKS_SHARED_API System::String
GetColumnText(
const System::SharedPtr<ResourceAssignment>& assignment);
77 ASPOSE_TASKS_SHARED_API System::String GetText(System::SharedPtr<System::Object> o)
override;
78 #ifdef ASPOSE_GET_SHARED_MEMBERS
79 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
85 Aspose::Tasks::Field pr_Field;
87 System::Event<System::String(System::SharedPtr<ResourceAssignment>)> Converter;
Project's view class.
Definition: AssignmentViewColumn.h:40
AssignmentViewColumn(const System::String &name, int32_t width, AssignmentToColumnTextConverter converter)
Initializes a new instance of the AssignmentViewColumn class.
void set_Field(Aspose::Tasks::Field value) override
Column field. Field.
Aspose::Tasks::Field get_Field() override
Column field. Field.
System::String GetColumnText(const System::SharedPtr< ResourceAssignment > &assignment)
Converts current resource assignment to the column text.
Represents a column in a project view.
Definition: ViewColumn.h:65