Posts Tagged ‘xaml’

silverlight – Is there any difference in x:name and name for controls in xaml file? – Stack Overflow

In Brief

Yes there is a difference. The bottom line is that x:Name can be used on object elements that do not have Name properties of their own.

(more)

via silverlight – Is there any difference in x:name and name for controls in xaml file? – Stack Overflow

Advertisements

How to get the height of the title bar of the main application windows? – Stack Overflow

How to get the height of the title bar of the main application windows? – Stack Overflow.

How to refer to a Namespace in WPF XAML?

Use the format:

xmlns:prefix=clr-namespace:This.Is.Your.Namespace;assembly=This.Is.Your.Assembly”

The part “;assembly=This.Is.Your.Assembly” should be left blank if the namespace and the currently-edited XAML file are in the same assembly (often in the same project of your solution, unless your assembly is a dll composed of >1 projects).

Done.