Get text from RichTextBlockOverflow Control

RichTextBlockOverflow is one of my favorite control. As we all know, it allows you to render the overflown text from a RichTextBlock. Virtually you can render the overflow text to any number of level. Below is how a the overflow happens when you got one RichTextBlock and two RichTextBlockOverflow to render the overflown text. Read…

0

A poor man’s implementation of row level security in SQL

Often I have come across situations where the enterprise customers want to restrict data availability to their employees / IT not only from the application but also at the database level. Government / Public sectors have a common requirement that they don’t want everybody at their IT team to be able to query everybody’s data….

0

Complete XAML Solution For SelectAll In Datagrid

Over the period of time lot of asks and solutions were made for selectall selector for DataGrid. However, I failed to see a solution which is completely built on XAML. When my friend approached me, I thought that I will write my own. The idea is to have a template column with a separate definition for…

0

Pin / Unpin Control Template For Toggle Button

I was looking for a template which will help put a pin / unpin button using toggle button. Antoni Dol who has already shared a fantastic template and I had to make few changes with respective to the pinned style as I didn’t like the original one. Read More

0

How To Check If Cookies Are Enabled In Windows Phone

Windows Phone as of today doesn’t provide a property or direct API call which will help you identify whether the user has chosen to accept cookies or not. However, we can identify this pretty neatly by trying to get the cookie collection. So to achieve this, we are going to get the cookie collection for a…

0

DIY Home Security Using Kinect, Azure, Windows Phone and Windows 8

Most the people who were in the TechEd 2012 India would have witnessed the cool demo by me and Abhijit Jana made on the opening Keynotes of the event. And now we would like to share how this solution was developed so that you can also build your own. Before we could pitch in, let…

0

Byte Array To BitmapImage Converter & IRandomAccessStream Implementation For Windows 8 Metro

Metro don’t support the same converter which I wrote earlier for the reason that BitmapImage can no more read from Stream but only from IRandomAccessStream. Well since I have to anyway come up with a solution, I wrote my own class. To start with, IRandomAccessStream will be generated using Metro API only when you are…

0

Byte Array To BitmapImage Converter

 Below is the converter which I wrote which can help you convert the byte array of the file content to a Bitmap so that the Silverlight can bind it.   Read More Share Email Earn FacebookTwitterGoogle+Lockerz GrabDeliciousDiggGoogle BookmarksMySpaceStumbleUponRedditMessengerVodpodYahoo BookmarksBeboMister-WongWordPressGoogle ReaderOrkutXINGEvernoteNetvibes ShareStrandsPosterousBusiness ExchangeArtoTipdSmakNewsPlurkAIMYahoo MessengerIdenti.caMozillacaBlogger PostTypePad PostBox.netPinterestNetlogTechnorati FavoritesCiteULikeJumptagsHemidemiFunPInstapaperPhoneFavsXerpiNetvouzWinkDiigoBibSonomyBlogMarksTailrankStartAidKledyKhabbrMeneameYoolinkBookmarks.frTechnotizieNewsVineMultiplyFriendFeedPlaxo PulsePingSquidooProtopage BookmarksBlinklistFavesYiGGWebnewsSegnaloPushaYouMobSlashdotFarkAllvoicesJamespotImera BrazilTwiddlaLinkaGoGounalogHuggDiglogNowPublicTumblrLiveJournalCurrentHelloTxtSpurlYampleOneviewLinkatopiaSimpyLinkedInBuddyMarksAsk.com MyStuffViadeoMapleWistsConnoteaBackflipMyLinkVaultSiteJotSphinnDZoneCare2 NewsHyvesSphereBitty BrowserGabbrSymbaloo FeedsTagzaFolkdNewsTrustAmazon Wish ListPrintFriendlyRead…

1

Why Ternary Operator Doesnt Support Nullable Types

Nullable types and ternary operators are around for many years now and may be not everybody know that ternary operator doesn’t support assigning null values to nullable types. To understand the real reason for the design, I got in touch with Mads Torgersen, Alex Turner and Anson Horton; the lead technologists of the Visual Studio…

0

Radio Button List Box With Seperate Group Name in Silverlight

Over this article we are going to discuss on building a RadioButton ListBox using a Control Template and also how to have the flexibility of still specifying the group name for every list control. The solution is not to write a custom dependency property or set the group name from the code behind but instead…

0