Search
Submit & Win
Submit and win
Cash Prizes !
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Interviews Author
Sat, 20-Dec-2014 Authors
All Time Authors
Vishal@Neeraj
43920
Rajkatie
20680
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)
 Exclusive Interview Question

What are dependency properties?

Posted on 9/14/2009 | Category: WPF Interview questions | Views: 4123




These dependency properties belong to one class but can be used in another.
Consider the below code snippet:-
 


<Rectangle Height="72" Width="131" Canvas.Left="74" Canvas.Top="77" />
 


Height and Width are regular properties of the Rectangle. But Canvas. Top and Canvas. Left is dependency property as it belongs the canvas class. It is used by the Rectangle to specify its position within Canvas.

Asked In: Many Interviews Alert Moderator 

Share this to:

Bookmark It

Comments or Responses

Login to post response