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"
22 namespace Visualization
24 using ResourceToColumnTextConverter = System::MulticastDelegate<System::String(System::SharedPtr<Aspose::Tasks::Resource>)>;
33 namespace Visualization {
43 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
44 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
52 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Field
get_Field()
override;
57 ASPOSE_TASKS_SHARED_API
void set_Field(Aspose::Tasks::Field value)
override;
66 ASPOSE_TASKS_SHARED_API
ResourceViewColumn(
const System::String& name, int32_t width, ResourceToColumnTextConverter converter, Aspose::Tasks::Field field);
73 ASPOSE_TASKS_SHARED_API
ResourceViewColumn(
const System::String& name, int32_t width, ResourceToColumnTextConverter converter);
86 ASPOSE_TASKS_SHARED_API System::String
GetColumnText(
const System::SharedPtr<Resource>& resource);
90 ASPOSE_TASKS_SHARED_API System::String GetText(System::SharedPtr<System::Object> o)
override;
91 #ifdef ASPOSE_GET_SHARED_MEMBERS
92 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
98 Aspose::Tasks::Field field;
100 System::String get_DebuggerDisplay();
102 System::Event<System::String(System::SharedPtr<Resource>)> Converter;
Project's view class used in ResourceUsage view and ResourceSheet view.
Definition: ResourceViewColumn.h:39
ResourceViewColumn(const System::String &name, int32_t width, ResourceToColumnTextConverter converter)
Initializes a new instance of the ResourceViewColumn class.
ResourceViewColumn(int32_t width, Aspose::Tasks::Field field)
Initializes a new instance of the ResourceViewColumn class.
Aspose::Tasks::Field get_Field() override
Column field. Field.
void set_Field(Aspose::Tasks::Field value) override
Column field. Field.
System::String GetColumnText(const System::SharedPtr< Resource > &resource)
Converts current resource to the column text.
ResourceViewColumn(const System::String &name, int32_t width, ResourceToColumnTextConverter converter, Aspose::Tasks::Field field)
Initializes a new instance of the ResourceViewColumn class.
Represents a column in a project view.
Definition: ViewColumn.h:65