Is it possible to use this control ? For example, to display a datagrid somewhere on a CustomToolBar.
It seems that access to System.Windows.Controls namespace is not possible (in MC.NET 8.0).
DataGridView ?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: DataGridView ?
Hello Fabrice,
That is not possible to add a datagrid on a CustomToolBar, not enough space for it.
You need to create a form to add a datagrid - that will work.
That is not possible to add a datagrid on a CustomToolBar, not enough space for it.
You need to create a form to add a datagrid - that will work.
Re: DataGridView ?
Hello Henry,
Thank for confirming the possibility to use datagrid. I am not yet familiar with the forms and controls. May you explain :
1) what object can contain the form
Is it possible to create a window and display the form/datagrid inside ?
This is why I thought to put the datagrid in the ToolBar object. But I would really prefer to have a grid like the Trade bar, or the Order & Position Tracker window.
2) how to use datagrid without "using System.Windows.Controls"
In MSDN, I understand that use of DataGrid requires "using System.Windows.Controls". The editor does not display Controls in System.Windows. So how to use DataGrid without this namespace ?
Thank for confirming the possibility to use datagrid. I am not yet familiar with the forms and controls. May you explain :
1) what object can contain the form
Is it possible to create a window and display the form/datagrid inside ?
This is why I thought to put the datagrid in the ToolBar object. But I would really prefer to have a grid like the Trade bar, or the Order & Position Tracker window.
2) how to use datagrid without "using System.Windows.Controls"
In MSDN, I understand that use of DataGrid requires "using System.Windows.Controls". The editor does not display Controls in System.Windows. So how to use DataGrid without this namespace ?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: DataGridView ?
Hello Fabrice,
1) Please refer to Form Class @ MSDN for more details.
2) You need to use "using System.Windows.Forms" namespace.
Then use DataGrid class. Control is a class as well.
1) Please refer to Form Class @ MSDN for more details.
2) You need to use "using System.Windows.Forms" namespace.
Then use DataGrid class. Control is a class as well.