How to do relative binding for button flyout in universal windows store app
问题 I want to bind my button flyout width and height with some other control but it not working <Grid > <Popup IsOpen="True" Name="popup"> <Grid Name="popupBorder" Background="Red" Height="100" Width="100" > </Grid> </Popup> <Button Content="check flyout" Name="btn" Click="Button_Click" > <Button.Flyout> <Flyout> <Border Name="flyoutBorder" Height="{Binding Path=Height, ElementName=popupBorder, UpdateSourceTrigger=PropertyChanged, Mode=OneWay}" Width="{Binding Path=Width, ElementName=popupBorder,