If you try to define DoubleAnimation on Projection property then you will see lot of challenge. Here is How to fix. First make sure you create Name Attribute on Projection property like below for whatever UI element you want animate. …

WPF Animation on Projection Property using code or XAML Read more »

In this post I want to share snippet which shows simple technique to implement multiple transformations on same object. You will notice that in order to achieve this I have used TransformationGroup along with StoryBoard and DoubleAnimation private void Rotate_Click(object …

XAML Animation – How to Scale and Rotate Object (Multiple Transformations) Read more »

How many times you felt that XAML designer was too slow for you to handle??? If you using code window most of the time for XAML Editing then you can change default edit action for XAML files as below so …

Visual Studio Tips – How to set text edit as default view for XAML file Read more »

I recently came across requirement where user asked to perform complex validation before query is fired to return search screen data. So here is my code snippet you can call inside yourqueryname_ProcessQuery Create stored procedure for validation First thing we …

How to call StoredProcedure in LightSwitch for custom search screen validation Read more »

If you want to ask user before deleting record then write the following code in your screen code editor. Namespace LightSwitchApplication Public Class EditableCustomersGrid Private Sub gridDeleteSelected_Execute() ' Write your code here. If ShowMessageBox("Are you sure you want to delete …

How to show delete confirmation in LightSwitch Read more »