8 #include <system/string.h>
9 #include <drawing/color.h>
11 #include "aspose.tasks.cpp/Visualization/View/Styles/TaskBarTextConverter.h"
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
27 namespace Visualization
31 enum class BarItemType;
38 class GanttChartBarStylesManager;
50 template <
typename>
class List;
59 namespace Visualization {
64 class ASPOSE_TASKS_SHARED_CLASS
BarStyle :
public System::Object
67 typedef System::Object BaseType;
69 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
70 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
72 friend class Aspose::Tasks::Visualization::Charting::BarSeries;
73 friend class Aspose::Tasks::Visualization::Charting::ColumnSeries;
74 friend class Aspose::Tasks::Visualization::GanttChartBarStylesManager;
75 friend class Aspose::Tasks::Visualization::ApsLink;
76 friend class Aspose::Tasks::Visualization::ApsTask;
83 ASPOSE_TASKS_SHARED_API System::Drawing::Color
get_BarColor()
const;
87 ASPOSE_TASKS_SHARED_API
void set_BarColor(System::Drawing::Color value);
115 ASPOSE_TASKS_SHARED_API Aspose::Tasks::Visualization::BarShape
get_BarShape()
const;
119 ASPOSE_TASKS_SHARED_API
void set_BarShape(Aspose::Tasks::Visualization::BarShape value);
139 ASPOSE_TASKS_SHARED_API
const System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>&
get_TextStyle()
const;
143 ASPOSE_TASKS_SHARED_API
void set_TextStyle(
const System::SharedPtr<Aspose::Tasks::Visualization::TextStyle>& value);
232 ASPOSE_TASKS_SHARED_API System::SharedPtr<Aspose::Foundation::Drawing::DrColor> get_DrColor();
234 static ASPOSE_TASKS_SHARED_API System::SharedPtr<BarStyle> GetBarStyle(
const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<BarStyle>>>& barStyles, BarItemType item);
235 #ifdef ASPOSE_GET_SHARED_MEMBERS
236 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
242 System::Drawing::Color pr_BarColor;
243 System::Drawing::Color pr_StartShapeColor;
244 System::Drawing::Color pr_EndShapeColor;
245 BarItemType pr_ItemType;
246 Aspose::Tasks::Visualization::BarShape pr_BarShape;
249 System::SharedPtr<Aspose::Tasks::Visualization::TextStyle> pr_TextStyle;
250 TaskBarTextConverter pr_LeftBarTextConverter;
251 TaskBarTextConverter pr_TopBarTextConverter;
252 TaskBarTextConverter pr_RightBarTextConverter;
253 TaskBarTextConverter pr_BottomBarTextConverter;
254 TaskBarTextConverter pr_InsideBarTextConverter;
258 Field pr_BottomField;
259 Field pr_InsideField;
Change the visual style of the bar for the item in the project view.
Definition: BarStyle.h:65
TaskBarTextConverter get_RightBarTextConverter() const
Gets user-defined converter to get text to render on the right of the task's bar. Overrides the value...
const System::SharedPtr< Aspose::Tasks::Visualization::TextStyle > & get_TextStyle() const
Gets style of the bar's text.
void set_InsideField(Field value)
Sets a field to be displayed inside of the bar.
Field get_InsideField() const
Gets a field to be displayed inside of the bar.
void set_StartShapeColor(System::Drawing::Color value)
Sets Color of the shape at the beginning of the bar.
System::Drawing::Color get_BarColor() const
Gets Color of the bar style.
void set_BottomBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the bottom of the task's bar....
Shape get_StartShape() const
Gets Shape at the beginning of the bar.
void set_BarColor(System::Drawing::Color value)
Sets Color of the bar style.
void set_EndShapeColor(System::Drawing::Color value)
Sets Color of the shape at the end of the bar.
TaskBarTextConverter get_TopBarTextConverter() const
Gets user-defined converter to get text to render on the top of the task's bar. Overrides the value o...
BarItemType get_ItemType() const
Gets BarItemType of the bar style.
void set_ItemType(BarItemType value)
Sets BarItemType of the bar style.
void set_BarShape(Aspose::Tasks::Visualization::BarShape value)
Sets BarShape of the bar style.
BarStyle()
Initializes a new instance of the BarStyle class.
Field get_LeftField() const
Gets a field to be displayed on the left of the bar.
void set_LeftField(Field value)
Sets a field to be displayed on the left of the bar.
void set_EndShape(Shape value)
Sets Shape at the end of the bar.
Aspose::Tasks::Visualization::BarShape get_BarShape() const
Gets BarShape of the bar style.
void set_TextStyle(const System::SharedPtr< Aspose::Tasks::Visualization::TextStyle > &value)
Sets style of the bar's text.
Field get_RightField() const
Gets a field to be displayed on the right of the bar.
void set_RightField(Field value)
Sets a field to be displayed on the right of the bar.
void set_InsideBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render inside of the task's bar. Overrides the value of In...
TaskBarTextConverter get_LeftBarTextConverter() const
Gets user-defined converter to get text to render on the left of the task's bar. Overrides the value ...
void set_StartShape(Shape value)
Sets Shape at the beginning of the bar.
Field get_TopField() const
Gets a field to be displayed on the top of the bar.
void set_LeftBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the left of the task's bar. Overrides the value ...
void set_TopField(Field value)
Sets a field to be displayed on the top of the bar.
TaskBarTextConverter get_InsideBarTextConverter() const
Gets user-defined converter to get text to render inside of the task's bar. Overrides the value of In...
void set_TopBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the top of the task's bar. Overrides the value o...
Field get_BottomField() const
Gets a field to be displayed on the bottom of the bar.
TaskBarTextConverter get_BottomBarTextConverter() const
Gets user-defined converter to get text to render on the bottom of the task's bar....
System::Drawing::Color get_EndShapeColor() const
Gets Color of the shape at the end of the bar.
System::Drawing::Color get_StartShapeColor() const
Gets Color of the shape at the beginning of the bar.
void set_RightBarTextConverter(TaskBarTextConverter value)
Sets user-defined converter to get text to render on the right of the task's bar. Overrides the value...
void set_BottomField(Field value)
Sets a field to be displayed on the bottom of the bar.
Shape get_EndShape() const
Gets Shape at the end of the bar.