Serving Industries Worldwide

Innovative Ways - Satisfied Clientele

A simple guide on WPF RelativeSources

A simple guide on WPF RelativeSources


Table of Content 1. RelativeSource Modes 1.1. Self Mode 1.2. FindAncestor Mode 1.3. TemplatedParent Mode 1.4. PreviousData Mode 2. Conclusion WPF RelativeSource is a Markup Extension that assists us in binding data of an element with another source element using its relationship. It states about the source position that where it falls relative to a given element. It can be used with the Bindings property of any object to another...

read more
XAML developer

What is new in XAML developer tools in Visual Studio 2019 for WPF & UWP?


Since the beginning of Visual Studio 2019, the visual studio has introduced a lot of the latest options for XAML developers functioning for the WPF or UWP Desktop application. Table of Content 1. XAML Live Debugging Tools 1.1. XAML Hot Reload 1.2. XAML Hot Reload available/unavailable 1.3. In-app toolbar now themed 1.4. In-app toolbar element selection behavior changes 1.5. XAML Hot Reload now supports x: bind (UWP) 1.6. Added XAML hot reload support for...

read more
Visual Studio

Improvements to XAML tooling in Visual Studio 2019 version 16.7


Table of Content 1. What’s new in Visual Studio 2019? 1.1. XAML Binding Failure Troubleshooting 1.1.1. New XAML Binding failure indicator icon 1.1.2. New XAML Binding failure window 1.2. Inline Color Preview in XAML Code Editor 2. Support for an older version of Visual Studio 2.1. XAML Tools WPF/UWP 2.2. XAML Code Editor 2.3. C++ 2.4. Add a Debugger Display Attribute 2.5. Git User Experience 2.6. Git Conflict...

read more
Events in WPF

Understanding Routed Events in WPF


Table of Content 1. What are routed events in WPF? 2. Tree Structures 2.1. Logical Tree Structure 2.2. Visual Tree Structure 3. Conclusion What are routed events in WPF? A routed event is a type of event that, in an element, a tree has multiple listeners and that is handle by the routed events. A routed event is a basically CLR event and it is supported by an instance of the Routed Event class. In the WPF application, they contain multiple...

read more
Treeview WPF

What is Treeview in WPF?


The WPF tree view supports data binding, as all other WPF controls do, but, as the tree view hierarchy does, a normal DataTemplate is often not enough. Instead, we use the Hierarchical Data template, which allows us to template both tree nodes while controlling which property to use as a source for the node's child objects. The tree view tag represents the WPF TreeView control in XAML. Table of Content 1. Creating a TreeView 2. A Hard-Coded WPF Tree View 3. Dynamic...

read more