Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,
Am having a datagridview, which is a WindowsFormsHost used in WPF. I have to add a datepicker in each rows of a column["Date"]. How to add it. Please help me. My code is



xmlns:wf =clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms;


<WindowsFormsHost x:Name="MyWimdowsForm">
<wf:DataGridView x:Name="myDataGrid" AutoSizeColumnsMode="Fill" >
<wf:DataGridView.Columns>
<wf:DataGridViewTextBoxColumn HeaderText="Date" />
<wf:DataGridViewTextBoxColumn HeaderText="Focus" />
<wf:DataGridViewTextBoxColumn HeaderText="Notes" />
<wf:DataGridViewTextBoxColumn HeaderText="Sign" />
</wf:DataGridView.Columns>
</wf:DataGridView>
</WindowsFormsHost>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900