Sign in
DevDave - Dave Relyea's Silverlight Blog
Silverlight Phone and Rich Client Development
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Animation
attached behavior
attached DependencyProperty
Border
Canvas
ControlTemplate
DependencyProperty
Dialog
Layout
Layout events
LayoutUpdated
Navigation
Panorama
Pixel snapping
Property system
Silverlight 2
Silverlight for Windows Phone
SizeChanged
Slider
subclass
ToolTip
Transition Effects
VS 2008
Windows Phone 7
WrapPanel
Archive
Archives
October 2010
(1)
September 2010
(3)
October 2008
(2)
July 2008
(4)
June 2008
(5)
May 2008
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
DevDave - Dave Relyea's Silverlight Blog
A better Slider for Windows Phone 7
Posted
over 3 years ago
by
Dave Relyea - MSFT
18
Comments
The Slider control as shipped with the Windows Phone Developer Tools has some problems, both due to how it was templated, and also because it was originally designed for the desktop, where mice are very good at hitting small targets. The visible Thumb...
DevDave - Dave Relyea's Silverlight Blog
Panorama Tricks – Using XAML for your Background
Posted
over 3 years ago
by
Dave Relyea - MSFT
4
Comments
If you are doing Windows Phone 7 development, chances are that you are either using or have considered using the Panorama. To make a truly glorious Panorama application, to immerse the user in the experience, or for branding purposes, many applications...
DevDave - Dave Relyea's Silverlight Blog
Panorama Tricks – Using WrapPanel in wide PanoramaItems
Posted
over 3 years ago
by
Dave Relyea - MSFT
1
Comments
The Silverlight for Windows Phone Toolkit also includes the WrapPanel from the Silverlight Tookit. It is ideal for displaying content in wide PanoramaItems. The sample application that ships with the Silverlight for Windows Phone Toolkit source includes...
DevDave - Dave Relyea's Silverlight Blog
Panorama Tricks – How to eliminate blending seams in the background
Posted
over 3 years ago
by
Dave Relyea - MSFT
0
Comments
If your Windows Phone 7 application includes a Panorama with a background, you may have seen seams—one pixel wide lines darker than the background image’s color—where the background loops around and the right edge meets the left edge...
DevDave - Dave Relyea's Silverlight Blog
Customizing a ToolTip
Posted
over 5 years ago
by
Dave Relyea - MSFT
12
Comments
(Special thanks to Andre Michaud and Mike Russell who showed me how to do this.) ToolTips are quite useful for for displaying helpful information when the user hovers over a control. The way that ToolTips are usually used is by setting the ToolTipService...
DevDave - Dave Relyea's Silverlight Blog
Control Lifecycle
Posted
over 5 years ago
by
Dave Relyea - MSFT
12
Comments
What happens when you create a Control? When do overrides get called and events get raised? When do styles get applied? In response to this thread on silverlight.net, I've whipped this simple table up. There are some subtle differences between instantiating...
DevDave - Dave Relyea's Silverlight Blog
Retemplating a Standard Control (Including VisualStateManager Stuff)
Posted
over 5 years ago
by
Dave Relyea - MSFT
2
Comments
This example demonstrates how to give a Button new visuals and visual state by re-templating. It also includes what to do with all of the existing VisualStateManager stuff, but first it discusses various ways of modifying existing controls. There are...
DevDave - Dave Relyea's Silverlight Blog
Silverlight Layout Fundamentals Part 2 - Layout Containers
Posted
over 5 years ago
by
Dave Relyea - MSFT
3
Comments
In Layout Fundamentals Part 1 , I started slowly, and demonstrated the need for a layout system. I touched on what it can do for you, and layout containers and properties. This post covers the layout containers and some layout concepts in a bit more detail...
DevDave - Dave Relyea's Silverlight Blog
Silverlight Layout Fundamentals Part 1 - What is Layout?
Posted
over 5 years ago
by
Dave Relyea - MSFT
3
Comments
This is the first part of a series of articles on Silverlight 2's layout system. I'm going to start off slowly, and demonstrate the need for a layout system, then explain some more about what "layout" actually is and what the Silverlight 2 layout...
DevDave - Dave Relyea's Silverlight Blog
Layout Transitions - An Animatable WrapPanel
Posted
over 5 years ago
by
Dave Relyea - MSFT
10
Comments
I've been playing around with RenderTransforms and decorators and such to make layout transitions, but for this WrapPanel, my goal was to introduce no additional UI elements, animations or transforms. I also wanted to use some easing equations to do some...
DevDave - Dave Relyea's Silverlight Blog
Using VS Snippets to Add DependencyProperties and Attached DependencyProperties
Posted
over 5 years ago
by
Dave Relyea - MSFT
1
Comments
It can be a little tedious to type in everything that you need to define a DependencyProperty but you can use VS 2008's snippets to make is easy. The snippets are designed to work with WPF, but they can be made to work with Silverlight with one small...
DevDave - Dave Relyea's Silverlight Blog
Using an Attached DependencyProperty to Implement Pixel Snapping as an Attached Behavior
Posted
over 5 years ago
by
Dave Relyea - MSFT
7
Comments
In a previous post , I introduced the Snapper element, which is a UserControl subclass that snaps its Content to an integer pixel. Now I'll show how to implement snapping as an attached behavior using a custom attached DependencyProperty. To use the...
DevDave - Dave Relyea's Silverlight Blog
Navigation with Animated Transition Effects
Posted
over 5 years ago
by
Dave Relyea - MSFT
8
Comments
One of the common things that developers want to do is to navigate between pages of their application. Once they have that, then they want to make the transitions look pretty. The attached project (see below) show how to do use a TransitionControl to...
DevDave - Dave Relyea's Silverlight Blog
DiscreteSlider - Adding Functionality with a Simple Control Subclass
Posted
over 5 years ago
by
Dave Relyea - MSFT
5
Comments
How do you prevent the Slider from returning "ugly" values, and get it to "snap" to only the values that you want, such as integers, or multiples of a certain step value such as 0.125? One way to do this is to override OnValueChanged, but it helps to...
DevDave - Dave Relyea's Silverlight Blog
Using Popup to create a Dialog class
Posted
over 5 years ago
by
Dave Relyea - MSFT
14
Comments
Presenting a dialog to the user is a common task for many applications. Silverlight 2 does not have a Dialog class, but it is possible to use the Popup class to create a very credible dialog. My Dialog class can't leave the Silverlight plugin--for that...
DevDave - Dave Relyea's Silverlight Blog
Layout Events - SizeChanged and LayoutUpdated
Posted
over 5 years ago
by
Dave Relyea - MSFT
2
Comments
Executive Summary : Most of the time, SizeChanged is the right event to use, and LayoutUpdated is the wrong event. The Silverlight 2 layout system offers two events: SizeChanged and LayoutUpdated. They look the same...here is how they are hooked up...
DevDave - Dave Relyea's Silverlight Blog
Pixel Snapping - the Snapper Element
Posted
over 5 years ago
by
Dave Relyea - MSFT
2
Comments
What is pixel snapping? Snapping in general usually refers to allowing a property to take discrete as opposed to continuous values. In Silverlight, values such as Width, Height, Canvas.Left and Canvas.Top are of type double and not restricted to integer...
DevDave - Dave Relyea's Silverlight Blog
Why I Don't Like Canvas
Posted
over 5 years ago
by
Dave Relyea - MSFT
8
Comments
In Silverlight 1.0, the only container element was Canvas. In Silverlight 2, there are a number of other layout containers, such as Grid, Border and StackPanel, and you can also make your own. Silverlight 2 applications can be completely layout-based...
Page 1 of 1 (18 items)