Did You Know : Using SkipWhile() feature of LINQ

by Santosh 12/4/2010 8:37:00 AM
SkipWhile() a function that bypass the elements from the sequence till the condition becomes true and will return the rest of the elements of the sequence. Example 1 : XML data <Products> <Product Name="Football"></Product> <Product Name="Bat"><... [More]


Did You Know : The difference in a Rectangle with or without a Fill in Silverlight/WPF?

by rahul 10/25/2010 9:34:20 AM
Check out the following XAML and notice the difference in Fill of the following three rectangles. <StackPanel> <Rectangle Stroke="Black" StrokeThickness="3" Width="100" Height="100" Margin="5" MouseL... [More]


Did you know - There is a method called Lorem that gives you a bunch of text

by rahul 7/17/2010 2:05:33 PM
Today, while working with one of my colleagues, Chetan… I found a pretty neat trick to get some junk text in MS Word or Outlook. Just type something like =Lorem(5, 2) and hit enter. Basically, you are telling to create 5 paragraphs of 2 lines each and so on… I just tried with =Lorem(3, 10) and I g... [More]


Did you know - You can use ItemTemplate to create bindings with visual representation

by rahul 7/9/2010 5:22:00 PM
In this post find out how easily you can use databinding to create a listbox which gives visual data representation. First up, create a class [Student.cs] like as follows… Notice the Students class below is an ObservableCollection.  using System; using System.Net; using System.Windows; usi... [More]


Did you know - There is an icon called Outline in VS2010 that helps in selecting control

by Rahul 7/7/2010 5:52:00 PM
This is another cool thing in VS2010 which goes unnoticed. In any Silverlight project, drag and drop a StackPanel. With the StackPanel selected, Double-Click Button control multiple times, to get 4 different button controls. Something like this… You can add a lot of controls in different laye... [More]


Did you know - VS 2010 gives you an option of Auto while working with the Grid in Silverlight

by Rahul 7/5/2010 5:45:00 PM
In any Silverlight project you can hover your mouse over the edges of the Grid and click it. You can drag and drop multiple controls inside this Row or Column. Let's say, you get a grid split something like this… If you like you can resize the cell size. But, it can be a good idea... [More]


Did you know - You can set the Resource for any control directly from VS2010 designer

by rahul 7/2/2010 6:01:00 PM
In a Silverlight application, Create a resource in App.xaml. Something like this… <Application.Resources> <RadialGradientBrush x:Key="GreenRadialBrush" > <GradientStop Color="DarkGreen" Offset="0" /> <Gradient... [More]


Did you know - Windows Key + X shows a pretty useful screen

by Rahul 6/30/2010 6:01:00 PM
I never saw this before, and today I have hit this by accident. Windows + X key brings up the following screen on Windows 7. I found it pretty useful! For ex… you can change your presentation settings in just a couple of clicks! Cheers, Rahul Quote of the ... [More]


Did you know - In Silverlight stretch doesn't work if you have width/height set explicitly

by rahul 6/28/2010 6:01:00 PM
In a Silverlight application, drag a border control, and inside the border drop a rectangle. Somewhat like the image below. The question here is… Horizontal Alignment setting has a default value Stretch. How come it is behaving as if it is Center? <Rectangle Height="71" Name="... [More]


Did you know - Setting Source property through code in Silverlight

by rahul 6/26/2010 5:14:00 PM
In a Silverlight application, create a button and drop a Frame control. If you set the Source property of this Frame control to another page (let's say "/anotherpage.xaml") in design time it will work just fine when you execute this application. But if you want to navigate to a different p... [More]


Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0