Code for Patient Monitor in the Showcase Samples
Hi,
is there a way to get "Patient Monitor" code from Windows Forms Showcase Samples?Thank you
SIGN IN To post a reply.
3 Replies
PM
Piruthiviraj Malaimelraj
Syncfusion Team
October 24, 2017 10:52 AM UTC
Hi Remigio,
Thanks for your interest in Syncfusion products,
You can get the showcase samples from below location,
<Installed Location\Syncfusion\EssentialStudio\VersionNumber\Windows\Showcase>
<Installed Location\Syncfusion\EssentialStudio\VersionNumber\Windows\Showcase\PatientMonitoringDemo\CS>
Please let us know if you have any queries,
Regards,
Piruthiviraj
RF
Remigio Fattori
October 24, 2017 12:38 PM UTC
Thank you for the quick response!
Is possibile to see the code for the menu on the left in the same form??
MK
Mallika Kannan
Syncfusion Team
October 25, 2017 07:37 AM UTC
Hi Remigio
Thank you for contacting Syncfusion support.
Yes, we have customized our TreeNavigator control in Sample Browser application.
Here are the steps followed.
1) Created a custom control, inherited from TreeMenuItem.
2) Assigned Child TreeMenuItem to Parent TreeMenuItem.
3) Show / Hide the Child items, by handling its MouseDown event.
Following Code example explains the same.
Code example [C#]
| //Enable Collapsed behavior in TreeNavigator this.treeMenuItem1.Collapser = true; //To set parent for the TreeMenuItem this.treeMenuItem2.ParentItem = treeMenuItem1; this.treeMenuItem3.ParentItem = treeMenuItem1; this.treeMenuItem4.ParentItem = treeMenuItem1; //To add TreeMenuItem into TreeNavigator this.treeNavigator1.Items.Add(this.treeMenuItem1); this.treeNavigator1.Items.Add(this.treeMenuItem2); this.treeNavigator1.Items.Add(this.treeMenuItem3); this.treeNavigator1.Items.Add(this.treeMenuItem4); |
Screenshot
Expanded state
| With Header | Without Header |
| | |
Collapsed state
| With Header | Without Header |
| | |
We have prepared sample for your reference which can be downloaded from the below location.
Note
In Sample browser, we have cleared the TreeNavigator collection, when we click on the item and populated the new collection in it. So you can recreate your application with the above example.
Kindly check the above solution and let us know if it is helpful.
Regards,
Mallika
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
RF Remigio Fattori
- Oct 24, 2017 10:30 AM UTC
- Oct 25, 2017 07:37 AM UTC