Can I add a DependencyProperty on an windows user control?
问题 I'm trying to host a Visio ActiveX object in a WPF application. To do this, I created a Windows user control project where I add the Visio object. This windows user control is then hosted on an WPF user control in an WindowsFormsHost object. <WindowsFormsHost Name="wfHost" Grid.Row="1"> <wf:VisioUserControl FileNamePath="?"/> </WindowsFormsHost> What I would like to do is to bind the value of the FileNamePath member to the value of a TextBox element which defines the path. The project follows