.Net Interview Questions and Answers

Search:

Explain WPF relative binding / relative resource? (.NET WPF Interview questions with answers)

By : Shiv Prasad Koirala | Feb 23rd, 2014 | Views : 2354 | Comments : 0 Bookmark and Share

In case you are new to WPF bindings you read basics from http://questpond.blog.com/2013/11/11/explain-wpf-bindings-net-wpf-binding-interview-questions/


When we define bindings we need at least two elements target and source. But many times rather than defining binding between two elements we would like to define binding with reference to the current element i.e. RELATIVELY.


For instance let's say we have a WPF rectangle and we would like height and width of the rectangle to be same. So for this scenario the target and source are the same, the rectangle.So we can define the binding using "RelativeSource" as shown in the below code. You can see it uses "Self" biding mode to bind the element to itself.



www.questpond.com has released great videos on WPF you can see the complete list down below. You can see demo of these videos from www.questpond.com


WPF Questions and Answers


Lab 1: - What is WPF and how it is better than Winforms?

Theory: - Explain WPF object hierarchy?

Lab 2 : - How to implement threading in WPF?

Lab 3: - Explain one way, two way, one time & one way to source bindings?

Lab 4 : - Explain UpdateSourceTrigger in WPF ?

Lab 5 : - Explain WPF Resources ?

Lab 6 : - What are WPF Value Converters ?

Lab 7 : - Explain WPF multibindings and multivalueconverters ?

Lab 8: - Explain logical tree, visual tree,routed events( Direct , Tunneling and Bubbling)?

Lab 9 : - Explain WPF relative bindings ?

Lab 10 : - WPF MVVM


Below video explain what is WPF and how they differ from Windows form


 
Rate this Article :
1 Star
2 Stars
3 Stars
4 Stars
5 Stars
1 1 1 2 1
 
 
 
 

.NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala

In this article we will explain .NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala.... Read More

What is the difference between Stored Procedures and Function (SQL Server interview question with answers)?

In this article we will explain what is the difference between Stored Procedures and Function.For more articles and videos visit us on www.questpond.com... Read More

Explain MVC application life cycle?

In this article we will explain MVC application life cycle.For more articles and videos visit us on www.questpond.com... Read More

C# Design pattern interview questions with answers: - How Singleton is different from Static class?

In this article we will explain How Singleton is different from Static class.... Read More

WCF interview questions and answers: - What is the difference between Service endpoint and Client endpoint?

In this article we will explain What is the difference between Service endpoint and Client endpoint.... Read More

.NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala

In this article we will explain .NET interview questions 6th edition (Sixth edition) - By Shivprasad Koirala.... Read More

What is the difference between Stored Procedures and Function (SQL Server interview question with answers)?

In this article we will explain what is the difference between Stored Procedures and Function.For more articles and videos visit us on www.questpond.com... Read More

Explain MVC application life cycle?

In this article we will explain MVC application life cycle.For more articles and videos visit us on www.questpond.com... Read More

C# Design pattern interview questions with answers: - How Singleton is different from Static class?

In this article we will explain How Singleton is different from Static class.... Read More

WCF interview questions and answers: - What is the difference between Service endpoint and Client endpoint?

In this article we will explain What is the difference between Service endpoint and Client endpoint.... Read More

Article Categories

Learn in Hindi