In the following scenario:
<Grid> ... <local:MyControl x:Name="MyCtl" Grid.Row="1"/> <Popup PlacementTarget="{Binding ???}"/> <Grid>
I need to bind a PlacementTarget to a MyBtn button inside MyCtl. What is the cleanest way to do this?
<Popup PlacementTarget="{Binding ElementName=MyCtl}" />
Source: https://habr.com/ru/post/1729164/More articles:Saving Callbacks in a Dictionary (Objective-C for iPhone) - objective-cRecommended file location that will be editable by all Windows users? - windowsHow to prevent reuse of AppDomain in IIS 7.0 when deleting a subdirectory? - asp.netAutomatically resize window contents in WPF - c #Python parallel loop - pythonLinks below the site on google search - google-searchHow does a C ++ builder stack up against other RAD-IDEs? - c ++Python List Indexed by Tuples - pythonASP.NET MVC ViewModel Console - c #point object reference - c ++All Articles