Creating Unit Test for Function which uses recursive dispatcher
Wed, 9 Apr 2008 01:42:00 -0700
Hi,
I'm having difficulty creating a unit test - perhaps some of you more
experienced WPF guys out there can help out a bit. The method I'm testing
(let's call it fadeVolume) calls itself recursively with a Dispatcher 60
times, sleeping for 50 milliseconds on each iteration (this is for a volume
fade ove ...
|
DataBinding a collection to a TextBox
Wed, 2 Apr 2008 18:21:00 -0700
To learn data binding I have a window with just 3 controls:
1. Previous Button
2. TextBox
3. Next button
My goal is to bind a collection of names to the TextBox and be able to cyle
through them with the two navigation buttons.
Here's the code I have in place for the XAML
window-------------------------- ...
|
Check a checkbox with the space bar
Mon, 31 Mar 2008 03:42:01 -0700
Hi,
i have the following XAML and can't seem to figure out how to make the
checkbox react to the space bar.
<ListView Height="132" Margin="35,0,20,48" Name="m_listViewEvents"
VerticalAlignment="Bottom">
<ListView.ItemTemplate>
<HierarchicalDataTemplate ItemsSource= ...
|
Dynamically Drawing Objects
Tue, 25 Mar 2008 09:51:16 -0500
This should be so simple! I need to generate a bar graph using WPF. It's
easy to do with XAML and I have some very nice graphs. But I need to
dynamically genenerate the graphs because I do not know before I query the
database how many bars I will need. It should be so simple to draw as many
rectangles I nee ...
|
Still no floating/dock windows and no high perf virtual grid?!!
Fri, 14 Mar 2008 14:27:00 -0700
I was surprised when I didn't see support for floating/docked windows (out of
the box) in and didn't see a high performance virtual (I maintain the data
and grid asks for it) Grid in WinFX 3.0. I guess I'm even more surprised to
see that they're still missing in 3.5, unless I'm just really bad at finding
th ...
|
Excessive flashing with flow document
Fri, 14 Mar 2008 08:47:03 -0700
I'm new to wpf so I'm not sure if my comment is valid. I'm playing with a
table control which I have housed in a flow document. In page mode or two
page mode when I'm not on the first page the background is redrawn (producing
a flashing effect) when data in the table has changed. Page 1 in both modes
does ...
|
passing multiple XML nodes to a binding converter
Wed, 12 Mar 2008 08:43:55 -0700 (PDT)
Hi,
I'm looking to implement something similar to an example by Bea Costa
( http://www.beacosta.com/blog/?p=35 ), but using an XML data source
instead of a C# data model.
Image my XML data source looking like this:
<?xml version="1.0" encoding="UTF-8"?>
<points>
<point x="275" y="100" >A</point>
...
|
|
|
Uri problem
Tue, 11 Mar 2008 09:15:54 -0500
Hi..
I have a problem with referencing resources.. I have two projects in my
solution and from app2 i'm getting trough uri image which is included in
app1 (app2 has reference to app1 ( i added it as reference to the app1
project) (for example <image Source="/app1;component/Image/pic.jpg"/>..
Both projects have ch ...
|
How can wrap BitmapEffect into template?
Mon, 10 Mar 2008 05:42:42 -0700 (PDT)
Hi,
I want to create a seriese of Button with <Button.BitmapEffect>
How can I write a template to implement? ...
|
Use WinFX (FlowDocumentReader etc.) in non-GUI application?
Fri, 7 Mar 2008 01:11:05 -0800 (PST)
I am interested to use the document-formatting capabilities of
FlowDocumentReader etc. for a proposed server application, which will
not have a graphical user interface. Is this feasible?
The idea would be to use the FlowDocumentReader to layout some text,
on a programmatically-set page layout. We'd then print ...
|