Test your technical skills online, appear in Virtual Interview and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Make friends on DotNetFunda.com and expand your network!
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Interviews Author
Sat, 19-Apr-2014 Authors
All Time Authors
Rajkatie
20480
Vishal@Neeraj
19600
Bharathi Cherukuri
18040

Latest members | More ...


(Statistics delayed by 5 minutes)

What are dependency properties?

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

Answer:

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 

Found interesting? Add this to:




Latest Interview Questions

    Comments or Responses

    Login to post response.

    Comments / Responses
    Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
    Bold Italic Underline Paragraph Title Code  Link 
     Wait ... Processing ..... please wait.