|
|
Browse by Tags
All Tags » WPF
-
In .NET 4.0 / Visual Studio 2010 I was working with a WPF application who’s ViewModel was sending a Model (Data) object back to a WCF service for processing. In previous versions of the framework and WCF I could simply send any serializable object down the wire. In .NET 4.0 apparently I need to do some further class decorating.
I ...
-
Finally found a great article on this after some searching and finding really outdated articles!
http://msdn.microsoft.com/en-us/library/bb613576.aspx <Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
...
-
Two really cool features in Visual Studio 2010 for C# developers. 1) Sticky Notes Quick Watch with annotations. You may say, huh? What are you talking about? Well, look at the screen cap below.
This is by far one of the coolest features I have seen so far (apart from the awesome XAML / WPF designer). When ...
-
I encountered the infamous AG_E_UNKNOWN yesterday. I was actually using Silverlight controls from Telerik. I dragged the RadGridView control inside my XAML and thats where the problem manifested. Apparently the drag/drop operation did not add all the References that I needed in order to use the Telerik controls.
If you ...
-
This should work for WPF and Silverlight. This is a SUPER simple example. I find it hard to locate really good clean examples in WPF / Silverlight. People tend to do a lot of Control Templating and Style-izing which clouds the code. I am starting a ‘Clean and Simple’ set of blog entries to show SIMPLE and CLEAN examples.
...
-
I am writing some User Controls for a WPF application and needed a quick way to create my Dependency Properties for my control.
Below is the code snippet.
First element is the type, next the Property Name, then the Containing Class name (you need this for the Dependency Property Registration call. <?xml version="1.0" ...
-
It turns out to be quite simple.
Add the expander to your WPF control surface: <telerik:RadExpander Height=''24'' Name=''radExpander2'' Width=''170'' />
Specifically set the Header property in the XAML like so: <telerik:RadExpander Height=''24'' Name=''radExpander1'' Width=''170''>
...
-
So I started an application as a WPF Browser Application (XBAP – Xaml Browser APplication) and quickly noticed that I needed to do some things that really should be in a stand alone app for CAS reasons. I found a blog entry by Karen Corby that showed how to do this way back in ‘06. She wrote a cool Visual Studio project template that ...
-
This blog page will end up being a series. Here I will discuss what happened to certain features and elements of WPF and Visual Studio.
Anchor
In Windows Forms we used Anchoring to allow a control to stretch while a form is resized.<Frame HorizontalAlignment=''Stretch'' Name=''frame1'' VerticalAlignment=''Stretch'' ...
|
|
|