Geeks With Blogs

News


Timmy Kokke's Blog

↑ Grab this Headline Animator

Timmy Kokke at Blogged
Timmy Kokke …just sorting my bubbles… Silverlight
PivotViewer and MVVM
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro The MVVM patterns is a commonly used pattern in Silverlight. Because of databinding MVVM suits perfectly for WPF and Silverlight. But use it only if appropriate. Often the pattern is used when it isn’t necessary. The usage of any pattern should be a helping tool, not an enforced ......

Posted On Thursday, September 30, 2010 7:41 PM

PivotViewer – Custom Actions
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro In this tutorial about the Silverlight PivotViewer control I would like to explain how to make use of Custom Actions. Small labels are placed on top of items in the viewer and clicking them will trigger an event. --> The only downside of these actions is that they aren’t fully implemented. ......

Posted On Monday, August 30, 2010 11:01 PM

Handling PivotViewer events
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro Today I would like to go into a little detail about the events used in the PivotViewer control for Silverlight. If you haven’t worked with the PivotViewer yet you might want to read the getting started tutorial I wrote earlier first. CollectionLoadingCompleted The CollectionLoadingCompleted ......

Posted On Friday, August 27, 2010 10:39 PM

PivotViewer – Working with Facets
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro In this next tutorial about the Silverlight PivotViewer control I would like to give a little more depth on Facets. What are facets, and how are they used in runtime generation of collections using the PivotServerTools library. This tutorial continues on techniques from last tutorial ......

Posted On Tuesday, August 24, 2010 10:31 PM

Runtime PivotViewer collection creation
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro Today I would like to show you how you can consume web services in the PivotViewer control for Silverlight and build a collection at runtime. This tutorial is based on examples found on www.getpivot.com and the getting started tutorial I posted earlier this week. This tutorial used ......

Posted On Tuesday, August 17, 2010 11:14 PM

Building your first PivotViewer application
PivotViewer series Building your first PivotViewer application Runtime PivotViewer collection creation PivotViewer - Working with Facets Handling PivotViewer events PivotViewer - Custom actions PivotViewer and MVVM Intro If you haven’t had a chance to look at the new PivotViewer control for Silverlight, have a look here or here. The PivotViewer enables visitor of you website to search large amounts of data very easily. The control takes a lot work out of your hands. Basically you tell it to load ......

Posted On Monday, August 16, 2010 9:10 PM

Adding options in Expression Blend extensions
Intro Often extensions for Expression Blend need to store some global variables. Why not use the mechanisms Blend itself offers? I’d like to show you how to add a custom options page to the options dialog. I’ve started the example project by creating a new C# WPF Custom Control Library project and naming it ExtendingBlendOptionsTutorial. The details on how to create a new Blend Extension can be found here. You need to make sure the Microsoft.Expression.Extens... and Microsoft.Expression.Framework ......

Posted On Friday, July 30, 2010 11:21 PM

Silverlight Databound Application Project Template
Intro One of the new additions in Expression Blend 4 is the Silverlight Databound Application Project template. I use that often when starting a new MVVM project. The template creates View and ViewModel folders and provides a good starting point for Model-View-ViewModel applications. The only downside is that this template is only available in Expression Blend and not in Visual Studio 2010. I’ve exported the project to a Visual Studio template to be able to use it in VS2010 too. Download The template ......

Posted On Friday, July 9, 2010 5:14 PM

Window Closing Event
Intro When running Silverlight 4 out of the browser it could become handy to know that the application is being closed. In case of my open source demo application SilverAmp (http://SilverAmp.CodePlex.... I wanted to notify the user the application is being closed when music is still playing. Catching the event In Silverlight 4 a new event has been added to the System.Window class. This event is raised when the application is being closed. Closed in any way: by the user hitting F4; by the user clicking ......

Posted On Wednesday, July 7, 2010 7:37 PM

XamlResource.com
Since today XamlResource.com is officially in beta. Its purpose is to create a platform to find and share resources for Silverlight and WPF, resources in the form of Xaml. Have a look around and if you run into issues, please let us know at xaml@hotmail.nl. Beta 1: In Beta 1 only a few of the final categories are supported: Colors; Resources of type SolidColorBrush Gradients; Resources of type GradientBrush Color sets; 2 to 5 resources of type SolidColorBrush Vectors; Resources of type StreamGeometry ......

Posted On Tuesday, June 29, 2010 11:58 PM

Custom Window Chrome
Intro Today I would like to explain something about customizing the window chrome in Silverlight 4 OOB. For an example of customizing the window have a look at my open source demo application SilverAmp which is available on http://SilverAmp.CodePlex.com. Choosing style Running the application without the default window chrome requires running out-of-browser with elevated trust. How to set elevated trust is explained in this earlier post. To set the window style, go to the Out-Of-Browser settings ......

Posted On Monday, June 28, 2010 11:50 AM

Elevated Trust
Intro This is the second article in a series of small articles about what is new in Silverlight 4 and Expression Blend 4. The series is build around a open source demo application SilverAmp which is available on http://SilverAmp.CodePlex.com. Setting elevated trust A number of new features in Silverlight 4 require more permission, to gain access to the local file system for example. The elevated trust feature is only in available when running outside the browser. To enable elevated trust right click ......

Posted On Friday, June 25, 2010 9:55 PM

MVVM Project and Item Templates
Intro This is the first in a series of small articles about what is new in Silverlight 4 and Expression Blend 4. The series is build around a open source demo application SilverAmp which is available on http://SilverAmp.CodePlex.com. MVVM Project and Item Templates Expression Blend has got a new project template to get started with a Model-View-ViewModel project easily. The template provides you with a View and a ViewModel bound together. It also adds the ViewModel to the SampleData of your project. ......

Posted On Wednesday, June 16, 2010 8:29 AM

Expression Studio 4 Community Launch Event
Event On June 7th Expression Studio 4 will be launched at the Internet Week in New York. One day later, on June 8th, the Dutch Silverlight and Expression User Group SIXIN organizes the Dutch Community Launch in collaboration with Microsoft and Centric at Centric's office in IJsselstein. To celebrate the 4 Expression release we have two interesting speakers. In addition, we give three packages Expression Studio and more great gifts away. Program The preliminary program for the evening is as follows: ......

Posted On Friday, May 28, 2010 4:04 PM

Code & Slides – SDE – What’s new in Silverlight 4
Last Tuesday the Software Developers Network – SDN organized another SDE. I’ve had the opportunity to present a session about Silverlight 4. I talked about lots of new features in Silverlight 4 and Expression Blend 4, focused on the Out-Of-Browser features. The slides of my presentation can be downloaded here. In my presentation I demonstrated a couple of features from my new pet project “SilverAmp”. This project is based on the legendary WinAmp, but made entirely in Silverlight. I use it to try ......

Posted On Friday, May 21, 2010 12:00 AM

Changing CSS with jQuery syntax in Silverlight using jLight
Lately I’ve ran into situations where I had to change elements or had to request a value in the DOM from Silverlight. jLight, which was introduced in an earlier article, can help with that. jQuery offers great ways to change CSS during runtime. Silverlight can access the DOM, but it isn’t as easy as jQuery. All examples shown in this article can be looked at in this online demo. The code can be downloaded here. Part 1: The easy stuff Selecting and changing properties is pretty straight forward. Setting ......

Posted On Thursday, April 22, 2010 11:24 PM

Introducing jLight – Talking to the DOM using Silverlight and jQuery.
Introduction With the recent news about Silverlight on the Windows Phone and all the great Out-Of-Browser features in the upcoming Silverlight 4 you almost forget Silverlight is a browser plugin. It most often runs in a web browser and often as a control. In many cases you need to communicate with the browser to get information about textboxes, events or details about the browser itself. To do this you can use JavaScript from Silverlight. Although Silverlight works the same on every browser, JavaScript ......

Posted On Monday, April 12, 2010 12:34 AM

Validation in Silverlight
Getting started with the basics Validation in Silverlight can get very complex pretty easy. The DataGrid control is the only control that does data validation automatically, but often you want to validate your own entry form. Values a user may enter in this form can be restricted by the customer and have to fit an exact fit to a list of requirements or you just want to prevent problems when saving the data to the database. Showing a message to the user when a value is entered is pretty straight forward ......

Posted On Sunday, March 14, 2010 11:27 PM

The Silverlight 3D Controls project
Introduction The last months I’ve been playing with the ideas for a few Silverlight Controls using 3D effects. Movement, animation and Depth in various controls for various purposes. The entire project, including the sourcecode and demos, will be available on CodePlex: http://SL3DControls.codeple... DepthCanvas The DepthCanvas is the first control in the collection. The DepthCanvas stacks layers on top of each other, and rotates the whole slightly when the mouse moves. This adds a feel of depth ......

Posted On Wednesday, February 10, 2010 9:46 PM

SilverBullet #13 - System.Threading.SynchronizationContext
I’d like to provide you with a SilverBullet™, a small snippet of Silverlight, a class or namespace hidden in the silverlight .NET framework, to help you out in times of need. It’s not to learn, but something to keep in your pocket. Just remember it’s there and you’re safe. When writing the demo for the code-camp I ran into issues getting back on the UI thread after calling a webservice. The call to the webservice was made from the UI thread, but the callback was made on a different thread. The System.Threading.Synchroniz... ......

Posted On Monday, November 23, 2009 11:16 PM

Copyright © Timmy Kokke | Powered by: GeeksWithBlogs.net