marlongrech

Stories submitted by marlongrech

Windows 8 thoughts after a day at BUILD 2011(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 8 months, 13 days ago

some thoughts on Windows 8 after BUILD 2011 read more...

add a comment |category: |Views: 5

tags: another

AttachedCommandBehavior v2 aka ACB(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 3 years, 5 months ago

Some new features added in the AttachedCommandBehavior version 2.... Read more about it .... read more...

add a comment |category: |Views: 117

tags: another

AttachedCommandBehavior aka ACB(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 3 years, 5 months ago

This is a solution to attach a command to any Event of any Control in WPF read more...

add a comment |category: |Views: 33

tags: another

How to avoid CommandBinding in the XAML code behind(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 3 years, 6 months ago

In this post, I discuss how one can make XAML code behind even nicer and eliminate the command binding :) read more...

add a comment |category: |Views: 160

tags: another

WPF ICollectionViewExplained(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 3 years, 6 months ago

Tips and tricks on ICollectionView for WPF Apps and how it can be used in M-V-VM read more...

add a comment |category: |Views: 207

tags: another

WPF: Binding a ConverterParameter value(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 3 years, 9 months ago

It is a shame that ConverterParameter cannot have a Binding as a value.... Yet with some tricks you can actually do this.... Have look for yourself..... read more...

add a comment |category: |Views: 2647

tags: another

Namescopes in WPF(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 3 years, 9 months ago

This articles explains how Namescopes work and tips and tricks you can do with them.... read more...

add a comment |category: |Views: 9

tags: another

WPF: Reducing CPU consumption for animations « C# Disciples(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 3 years, 11 months ago

Lately I’ve been working on a project at work and the application was performing pretty well. The CPU Usage was below 2% and I was quite happy with it. Then I decided to add a simple animation that continues executing forever… the results 15% CPU consumption … I was amazed at how much CPU was being wasted. Yet I am a stubborn guy and if I want an animation to execute forever, I will do it no matter what…. read more...

add a comment |category: |Views: 301

tags: another

Insertion Sort « Algorithms in .NET(dotnetalgos.wordpress.com)

submitted by marlongrechmarlongrech(1000) 4 years ago

Insertion sort is one of the many algorithms that we will cover in this blog. I choose this algorithm to start with because I think that this is a fairly easy to understand (better start with an easy one :) ) To understand the insertion sort imagine that you have a deck of cards that is not sorted. You put this deck of cards on the table and start picking a card one by one; each time putting the card in your left hand. Each time you pick a card you must compare that card with the previous cards until you find a card that is greater than the one you have. By doing so you just sorted the deck of cards on your left hand. ...read more read more...

add a comment |category: |Views: 14

tags: another

How to test C# code without running an application « C# Disciples(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 4 years ago

One thing that I love about scripting languages is that, to test some code you do not need to create a sample application and run that application. You can simple run the interpreter, write the code you want to test and you get the results… With compiled languages this is harder to achieve. So whenever I need to test something, like for example let’s say I want to test what the .ToString() read more...

add a comment |category: |Views: 29

tags: another

Effects in .Net 3.5 SP1 for WPF « C# Disciples(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 4 years ago

Have you heard? The guys at Redmond impressed the world once again! .Net 3.5 SP1 is now Beta…. If you didn’t already, I would suggest that you read this brilliant post from Tim Sneath to get more info on what’s new in WPF. Today, I wanted to experiment a bit with the new Effects that were included in the SP1 Beta. These effects are the same as the BitmapEffects that were previously in WPF. One can also say that these are the replacement for the BitmapEffects. Why? read more...

add a comment |category: |Views: 32

tags: another

Part1: DataGridView For WPF « C# Disciples(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 4 years, 1 month ago

In real life we developers deal with a lot of data. Our job is to make this data easily accessible to the user… Unfortunately WPF does not ship with a native DataGrid (at least not for now :D ). A DataGrid is a very handy control to have because you can just feed it a list of objects and it creates columns for each property of the object. On the other hand WPF comes with a ListView, and may I say it is a very good and powerful control. The issue with the ListView is that it cannot auto generate columns for you. Also it does not support sorting or at least does not support it easily … Read more.... read more...

1 comment |category: |Views: 908

tags: another

Debugging in WPF - WPF Disciples tips and tricks « WPF Disciples(wpfdisciples.wordpress.com)

submitted by marlongrechmarlongrech(1000) 4 years, 1 month ago

It is proven that we software developers spend more time debugging than actually writing code. Guess what?!! WPF is no different… We have to debug and debug and debug! So the WPF Disciples decided to make a list of articles that can help WPF developers make the debugging process easier… read more...

add a comment |category: |Views: 32

tags: another

Creating and Using Silverlight and WPF User Controls - Scott Gu(weblogs.asp.net)

submitted by marlongrechmarlongrech(1000) 4 years, 1 month ago

One of the fundamental design goals of Silverlight and WPF is to enable developers to be able to easily encapsulate UI functionality into re-usable controls. You can implement new custom controls by deriving a class from one of the existing Control classes (either a Control base class or from a control like TextBox, Button, etc). Alternatively you can create re-usable User Controls - which make it easy to use a XAML markup file to compose a control's UI (and which makes them super easy to build). In Part 6 of my Digg.com tutorial blog series I showed how to create a new user control using VS 2008's "Add New Item" project item dialog and by then defining UI within it. This approach works great when you know up front that you want to encapsulate UI in a user control. You can also use the same technique with Expression Blend. read more...

add a comment |category: |Views: 56

tags: another

AvalonControlsLibrary DatePicker refactored « C# Disciples(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 4 years, 1 month ago

Recently I received some requests from people to support some more styling for the DatePicker control. The initial idea for the DatePicker was to create a “lookless” control and then users would create a ControlTemplate to change the look and feel of the control (which is still 100% possible, see here for more info). Yet sometimes users do not want to totally change the look of the control, sometimes it’s more a matter of changing colors and minor things like that. So I decided to make the DatePicker support some more styling so that users don’t need to create a new ControlTemplate for the DatePicker if they only need to change minor things in the DatePicker UI. read more...

add a comment |category: |Views: 40

tags: another

Debug javascript in a Silverlight project(marlongrech.wordpress.com)

submitted by marlongrechmarlongrech(1000) 4 years, 1 month ago

One very handy feature of Visual Studio 2008 is debugging in Javascript. I beleive that working with javascript in VS2008 has became simply brilliant! Having said that I was building a silverlight application and I tried to do a breakpoint in my Javascript code and guess what…. It did not work ! In order to fix this you have to........ read more...

add a comment |category: |Views: 8

tags: another