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

What is the dispatcher Object?

1 Answers  


How to make a tooltip appear while hovering over a disabled element?

1 Answers  


What is wpf visual studio?

1 Answers  


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

1 Answers  


What are the different ways of binding using relative source?

1 Answers  


How many types of Layout Panel in WPF?

1 Answers   Tech Mahindra,


Which namespace is required for working with 3d?

1 Answers  


Explain object element syntax in xaml?

1 Answers  


How to connect sql database in wpf application?

1 Answers  


What can you do in expression blend that you cannot do in visual studio?

1 Answers  


How many ways are there to deploy wpf applications, and what are they?

1 Answers  


Explain what is markup extension in xaml?

1 Answers  


Categories