Drawing over title bar
Wed, 14 Mar 2007 03:48:22 -0500
Is it possible to draw over the Windows title bar? I can set my top margin
to -25, but my content still resides under the title bar. This is how I
would expect it to behave, and normally, I would just draw my own title bar,
but I'm running into issues trying to duplicate the glass look (blur + 2
drop shado ...
|
C#: Canvas.Loaded not firing
13 Mar 2007 18:33:15 -0700
I have a Canvas that acts as a background image, let's call this
bgCanvas. I also have another Canvas that contains a TextBlock, let's
call this fgCanvas.
bgCanvas always exists in the scene. An event is raised and as a
result, I create a fgCanvas and add it to bgCanvas's children
collection. Before I add i ...
|
compound pens in WPF
12 Mar 2007 10:37:10 -0700
Hi,
In GDI+ it was possible to create compound pens using
SetCompoundArray. Is this possible in WPF? I've only just started
poking around, but it looks like the idea of pens/brushes is gone and
has been replaced by just brushes. Is that correct? If it is possible,
would anyone be able to tell me where in th ...
|
Is binding a datacontext to a CLR object correct ?
Mon, 12 Mar 2007 17:17:37 +0100
There is something that confuses me about databinding. I'd like to know if
binding a datacontextproperty to a CLR object is a correct practice. Why ?
Because i'm creating usercontrol specifically designed to display my data.
Doing that, I reuse usercontrols inside each others.
Let's say i created ...
|
Wpf in Winform
Mon, 12 Mar 2007 16:47:17 +0200
Hi,
I have a c# winform application in VS2005 and i add to that application a
wpf window (add new item -> Window(wpf))
now i chenge the build mode to the xaml to page and it compile ok but how do
i create instance of that window from my winform form and open the wpf
window????
thanks!
...
|
displaying a deserialized Page in ElementHost
12 Mar 2007 01:40:38 -0700
I have a deserialized a Page uisng XAMLReader.Load() now I want this
Page to be displayed in a ElementHost.
ElementHost host;
UIElement element = (UIElement)XamlReader.Load(xmlReader);
host.Child = element;
This will throw an excpetion stating that only Frame or Window may be
the parent of a Page.
Wrapp ...
|
appSettings in app.config crashes application
Sun, 11 Mar 2007 00:13:26 +0100
As soon as I add an appSettings element in app.config my WPF application
throws an TypeInitializationException.
Why ?
Workaround ?
...
|
|
|
Canvas as VisualBrush on GeometryModel3D : z-index problem
7 Mar 2007 18:40:39 -0800
I took the TNF Video Carousel example and modified it (slightly) to
use a VisualBrush of a Canvas on each of the 3D planes instead of
video clips. Works fine except that I'm noticing some sort of z-index
problem.
I have 3 ListBox3DItem's each using a different jpg as the background
of their canvas and I set ...
|
Is Everyone Writing Converters?
Wed, 7 Mar 2007 13:13:19 +0000 (UTC)
I am writing some XAML where the data I am binding needs some formatting
(e.g. numbers, dates, etc.). If my rounds through the books and web are
correct, WPF expects me to write converters for simple formatting. Maybe
I've missed it, but is there a simple string converter in the framework?
I know I can ...
|
Bindings to online: how to change them with network conditions
Tue, 6 Mar 2007 12:31:16 -0800
XmlDataProvider, and boom, your application quickly blurs the line between
the desktop and the web. Unfortunately, the experience quickly degrades to
underwhelming as the user pulls the network plug. The offline experience
needs to be just as compelling as the online experience, and hopefully a
seemless t ...
|