<Grid>
<Button Content="{Binding Title, RelativeSource={RelativeSource AncestorType={x:Type Window}}}" HorizontalAlignment="Left" Height="50" Width="100"/>
<Frame>
<Frame.Content>
<Page>
<Button Content="{Binding Title, RelativeSource={RelativeSource AncestorType={x:Type Window}}}" Height="50" Width="100"/>
</Page>
</Frame.Content>
</Frame>
</Grid>
ウィンドウタイトルプロパティをページボタン内にバインドしようとしていますが、機能していませんが、ウィンドウ内では適切に機能しています。
ここに私のXamlコードがあります: