Friday, January 28, 2011

WPF Interview Questions ,What are dependency properties?

WPF Interview Questions ,What are dependency properties?


These dependency properties belong to one class but can be used in another.

Consider the below code snippet:-


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.

No comments:

Post a Comment

Thermal conductivity calculations, experiments, molecular simulations

Nowadays various experimental procedures are there to calculate the thermal conductivity of various materials using various techniques. Th...

About Me

COTACT: studymaterialforall@gmail.com