Meaning of x:Key and x: Name NEED HELP!!!
Hello!
Please, I am absolutely new here and just started Could someone please, help me find a source on the net which explains well for beginners what mean x: Key and x:Name in following example:
Code:
<Grid>
<Grid.Resources>
<Style x:Key="PinkButton" TargetType="Button">
<Setter Property="Background" Value="Pink"/>
</Style>
</Grid.Resources>
<Button
x:Name="myButton"
...>
</Button>
</Grid>
Is x sth similar like the kind of "object" that is being managed at the right moment?
Thanks a lot!
Re: Meaning of x:Key and x: Name NEED HELP!!!
Quote:
Originally Posted by
NewKidOfTheBlock
Is x sth similar like the kind of "object" that is being managed at the right moment?
Yes, in that context it is.