Aspose.Tasks for C++
TaskTextStyleEventArgs.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="TaskTextStyleEventArgs.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
11 
12 namespace Aspose
13 {
14 namespace Tasks
15 {
16 class Task;
17 namespace Visualization
18 {
19 class ApsTextStyleManager;
20 class TextStyle;
21 class ViewColumn;
22 } // namespace Visualization
23 } // namespace Tasks
24 } // namespace Aspose
25 
26 namespace Aspose {
27 
28 namespace Tasks {
29 
30 namespace Visualization {
31 
32 /// <summary>
33 /// This class represents set of data that related to the rendering of table cell's content.
34 /// </summary>
35 class ASPOSE_TASKS_SHARED_CLASS TaskTextStyleEventArgs : public System::Object
36 {
38  typedef System::Object BaseType;
39 
40  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
41  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
42 
43  friend class Aspose::Tasks::Visualization::ApsTextStyleManager;
44 
45 public:
46 
47  /// <summary>
48  /// Gets TextStyle which will be used to draw the cell's content. This object can be use to customize appearance of a table cell.
49  /// </summary>
50  ASPOSE_TASKS_SHARED_API const System::SharedPtr<TextStyle>& get_CellTextStyle() const;
51  /// <summary>
52  /// Sets TextStyle which will be used to draw the cell's content. This object can be use to customize appearance of a table cell.
53  /// </summary>
54  ASPOSE_TASKS_SHARED_API void set_CellTextStyle(const System::SharedPtr<TextStyle>& value);
55  /// <summary>
56  /// Gets <see cref="Task"></see> which corresponds to the currently rendered row.
57  /// </summary>
58  ASPOSE_TASKS_SHARED_API const System::SharedPtr<Aspose::Tasks::Task>& get_Task() const;
59  /// <summary>
60  /// Gets <see cref="ViewColumn"></see> to which the currently rendered cell belongs.
61  /// </summary>
62  ASPOSE_TASKS_SHARED_API const System::SharedPtr<ViewColumn>& get_Column() const;
63 
64 protected:
65 
66  /// <summary>
67  /// Initializes a new instance of the <see cref="TaskTextStyleEventArgs"></see> class.
68  /// </summary>
69  ASPOSE_TASKS_SHARED_API TaskTextStyleEventArgs(const System::SharedPtr<TextStyle>& cellTextStyle, const System::SharedPtr<Aspose::Tasks::Task>& task, const System::SharedPtr<ViewColumn>& column);
70 
71  ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(TaskTextStyleEventArgs, CODEPORTING_ARGS(const System::SharedPtr<TextStyle>& cellTextStyle, const System::SharedPtr<Aspose::Tasks::Task>& task, const System::SharedPtr<ViewColumn>& column));
72  #ifdef ASPOSE_GET_SHARED_MEMBERS
73  ASPOSE_TASKS_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
74  #endif
75 
76 
77 private:
78 
79  System::SharedPtr<TextStyle> pr_CellTextStyle;
80  System::SharedPtr<Aspose::Tasks::Task> pr_Task;
81 
82  /// <summary>
83  /// Gets <see cref="Task"></see> which corresponds to the currently rendered row.
84  /// </summary>
85  ASPOSE_TASKS_SHARED_API void set_Task(const System::SharedPtr<Aspose::Tasks::Task>& value);
86 
87  System::SharedPtr<ViewColumn> pr_Column;
88 
89  /// <summary>
90  /// Gets <see cref="ViewColumn"></see> to which the currently rendered cell belongs.
91  /// </summary>
92  ASPOSE_TASKS_SHARED_API void set_Column(const System::SharedPtr<ViewColumn>& value);
93 
94 };
95 
96 } // namespace Visualization
97 } // namespace Tasks
98 } // namespace Aspose
99 
100 
This class represents set of data that related to the rendering of table cell's content.
Definition: TaskTextStyleEventArgs.h:36
const System::SharedPtr< Aspose::Tasks::Task > & get_Task() const
Gets Task which corresponds to the currently rendered row.
const System::SharedPtr< TextStyle > & get_CellTextStyle() const
Gets TextStyle which will be used to draw the cell's content. This object can be use to customize app...
const System::SharedPtr< ViewColumn > & get_Column() const
Gets ViewColumn to which the currently rendered cell belongs.
void set_CellTextStyle(const System::SharedPtr< TextStyle > &value)
Sets TextStyle which will be used to draw the cell's content. This object can be use to customize app...
Definition: Asn.h:13