Hidden features of WPF and XAML?
hidden-features, wpf, xaml
Solution
Multibinding (combined with StringFormat):
<TextBlock>
<TextBlock.Text>
<MultiBinding StringFormat="{}{0}, {1}">
<Binding Path="LastName" />
<Binding Path="FirstName" />
</MultiBinding>
</TextBlock.Text>
</TextBlock>
Problem
Here is a large number of hidden features discussed for variety of languages. Now I am curious about some hidden features of XAML and WPF? One I have found is the header click event of a ListView ``` <ListView x:Name='lv' Height="150" GridViewColumnHeader.Click="GridViewColumnHeaderClickedHandler"> ``` The GridViewColumnHeader.Click property is not listed. Some of relevant features so far: Multibinding combined with StringFormat TargetNullValue to bindings TextTrimming property Markup extensions Adding Aero effect to Window Advanced "caption" properties XAML Converters See also: - Hidden features of C# - Hidden features of Python - Hidden features of ASP.NET - Hidden features of Perl - Hidden features of Java - Hidden features of VB.NET - Hidden features of PHP - Hidden features of Ruby - Hidden features of C - And So On........
Related problems
- Why does the binding update without implementing INotifyPropertyChanged?
- Hidden features of Python
- Any reason why PresentationTraceSources.TraceLevel=High would not print any info to the output window?
- Hidden features of Ruby
- Hidden Features of Java
- Hidden Features of VB.NET?
- Hidden Features of ASP.NET
- Hidden features of Perl?