Here i have a control template which has label as its child.
Now i want to get properties of that label like text or width.
How to achieve this with xaml?
<ControlTemplate>
<Label
x:Name="MyLabel"
Text="This Is a Button"
/>
</ControlTemplate>
<Button
Text="{Binding Source={x:Reference MyLabel}, Path=Text}" />