One of the projects I have in mind as my side-projects needs ability to drag-move shapes on a Canvas. I thought it would idea to explore the possibilities of achieving it via test projects first before starting the real one. So the goal of this article would be * Create a Rectangle in a Canvas … Continue reading Dragging Shapes in Wpf
Tag: WPF
Zoom Rectangle with OxyPlot
Let's stick to OxyPlot for some more time. This time, we would attempt to change the color of Zoom Rectangle. For those who are new to Oxyplot, the control allows you to zoom in a particular location by permitting the user to draw rectangles in the graph. This particular rectangle is known as Zoom Rectangle. … Continue reading Zoom Rectangle with OxyPlot
Shaders with HLSL #03: Passing Additional Parameters
In previous parts of this series, we briefly discussed the need for Shaders and created our first Shader Program. In this subsequent part, we would be exploring on passing additional parameters to our Custom Shader. In previous example, we replaced entire color of applied Control with a single color. What if we need to replace … Continue reading Shaders with HLSL #03: Passing Additional Parameters
SharedSizeGroup: Managing Column Size across Grids
SharedSizeGroup is an underused WPF attribute, but one that can make life lot more easier when design WPF forms with multiple Grids that need to share a column size. Consider the screenshot below. The three pairs of Label and Textbox are in separate grids (with column width set to auto), resulting in an unorganized layout. … Continue reading SharedSizeGroup: Managing Column Size across Grids
Caliburn.Micro #006 : Event Aggregators & Window Managers
Consider the classic scenario when you need to show the currently logged in User Name in your main Window, once you have successfully logged in. The The login Window is supposed to be a Modal Dialog, and isn't remotely aware of the Label displaying Username in the Main Window. WPF handles Modal Dialogs and messaging … Continue reading Caliburn.Micro #006 : Event Aggregators & Window Managers
Caliburn.Micro
Caliburn.Micro is a extremely lightweight MVVM Framework. This series provides an introduction/refresher to developing WPF applications with Caliburn.Micro 1. Caliburn.Micro: Introduction 2. Caliburn.Micro: Bindable Collections & Events 3. Caliburn.Micro: Events (Short Hand Syntax) 4. Caliburn.Micro:Bootstrapper with SimpleContainer 5. Caliburn.Micro: Bootstrapper with MEF 6. Caliburn.Micro: Event Aggregators & Window Managers 7. Caliburn.Micro: Bootstrapper with Unity 8. Caliburn.Micro: … Continue reading Caliburn.Micro
Caliburn.Micro #005 : Bootstrapper with MEF
Previously, we learnt how to use SimpleContainer to set up our IoC Containers. We would be now looking into making the application more loosely coupled by leveraging the MEF. Just like with SimpleContainer, we would be focusing on the basic steps while configuring the IoC - Registering the IoC Container with Caliburn Micro and then … Continue reading Caliburn.Micro #005 : Bootstrapper with MEF
Caliburn.Micro #004 : Bootstrapper with SimpleContainer
Let's take a step back and look into our Bootstrapper in detail now. The first version of Bootstrapper we declared earlier is a rather simple one, without utilizing the some of the functionalities which takes Caliburn.Micro, or for that matter, any MVVM Framework ahead. The implementation of IoC Container. We would be concentrating into two … Continue reading Caliburn.Micro #004 : Bootstrapper with SimpleContainer
Stimulsoft – Non-Modal Designer in WPF App, Part 2
In the previous post, we explored Supervising Controller Pattern to provide a solution to the issue we faced when using Stimulsoft Designer Controller as an embedded control in WPF application. Even while we used the Supervising Controller Pattern, we still fiddled with the MVVM pattern by making the ViewModel "aware" of the View, even though … Continue reading Stimulsoft – Non-Modal Designer in WPF App, Part 2
Stimulsoft – Non-Modal Designer in WPF App
Stimulsoft Reports is one among the most powerful and easy to use Reporting Tools available. While this post is not focused on feature of Stimulsoft Reports, it is worth checking out the features in Stimulsoft Website. Embedded Stimulsoft Designer Control and MVVM The post would rather focus on displaying the powerful Stimulsoft Designer in … Continue reading Stimulsoft – Non-Modal Designer in WPF App