-
May 13th, 2015, 10:05 AM
#1
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!
-
May 27th, 2015, 02:29 PM
#2
Re: Meaning of x:Key and x: Name NEED HELP!!!
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|