Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


When should we use "x:name" vs "name"?



When should we use "x:name" vs "name"?..

Answer / Sudhanshu Shekhar Singh

Use x:Name to give a name to an element in XAML so it can be referenced from code-behind. The syntax is x:Name="elementName". Use Name if you want the name to be accessible in Blend or when you're using data binding expressions without code-behind. The syntax for Name is simply "elementName".

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WPF Interview Questions

Why do we need to have these perspective of visual and logical tree in wpf?

1 Answers  


Can wpf be used in web applications?

1 Answers  


Is it right to say that WPF has replaced DirectX?

1 Answers  


Mention the advantage of using xaml?

1 Answers  


What is mvvm wpf?

1 Answers  


How to add wpf user control in windows form?

1 Answers  


What kind of documents are supported in wpf?

1 Answers  


What is the difference between wpf and xaml?

1 Answers  


What is the path animation in wpf?

1 Answers  


What is a .baml file?

1 Answers  


What does wpf stand for?

1 Answers  


What operating systems does wpf currently support?

1 Answers  


Categories