AD
Administrator
Syncfusion Team
April 13, 2004 05:41 PM UTC
Hi Ben
You were on the right track. Here is what I tried to do what you are looking for. In the GroupBarDemo sample (located in the Tools\samples\GroupBar Package\GroupBarDemo folder) I added an EditControl and then added the following code snippet in it''s DragEnter event:
private void editControl1_DragEnter(object sender, System.Windows.Forms.DragEventArgs e)
{
if(e.Data.GetDataPresent(Syncfusion.Windows.Forms.Tools.GroupView.GroupViewFormatName) == true)
{
Syncfusion.Windows.Forms.Tools.GroupViewItem item = e.Data.GetData( Syncfusion.Windows.Forms.Tools.GroupView.GroupViewFormatName ) as Syncfusion.Windows.Forms.Tools.GroupViewItem;
this.editControl1.AppendText(item.Text);
this.editControl1.AppendText("\r\n");
}
}
Regards
Arun