Displaying an icon in a menu item
Wed, 7 Nov 2007 14:01:51 -0500
Should be simple as pie. Using Expression Blend 2 September Preview the icon
will display properly in the MenuItem in the design mode but when I run the
application the icon disappears. What am I missing?
Thanks.
Here's the code:
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation ...
|
Designer Considerations
Wed, 07 Nov 2007 08:42:03 -0800
Is it possible to have a constructor or a method that can only be used
by the designer? The designer requires a default (empty) constructor
but I do not want to allow an empty constructor into my API. If I
could have an empty one that is some how marked (attribute maybe) to
only be allowable in the designer that ...
|
Problem Modifying Adorners
Wed, 7 Nov 2007 00:30:00 -0800
I'm trying to implement Adorners for some visual objects (Selecting multiple
Controls on a canvas at once and moving them using Dragging ).
the best resource i've found is Henry Hahn's example on his blog:
http://blogs.msdn.com/henryh/archive/2005/07/19/440854.aspx
i tried to select multiple items by c ...
|
Re: How to intercept a Win32 Message in WPF App?
Mon, 5 Nov 2007 12:55:00 -0800
How did you resolve the problem as WPF uses <Window> element instead of Form?
Available articles out there only show how to intercept using WinForm. I have
the same problem and am stuck. Appreciate that you will share your experience
on this issue.
"Fabio Galuppo" wrote:
> Hello Nick,
>
> Thanks for t ...
|
vertical GridView
Mon, 05 Nov 2007 10:50:56 -0000
Hi all,
I'd like to get a kind of vertical GridView (like described in this
post : http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=348821&SiteID=1).
But i'd like a "cleaner" solution than using rotate transforms.
I can see two ways for achieving that
1) templating of the existing GridView.
But as i ...
|
Using WPF to Generate an Image
Fri, 2 Nov 2007 15:18:14 -0700
I'm still trying to figure out how to do this simple task with WPF.
I need to draw a black circle using WPF and generate an image file. (gif or
png)
Any help is greatly appreciated.
Tem
I used the following but it resulted in a blank file. I cannot figure out
what is wrong with it.
RenderTarg ...
|
Databinding issue
Fri, 02 Nov 2007 05:02:33 -0700
Hi
I am using a XmlDataProvider to bind my Controls. I recieve XML Data
from a port.I want to refresh the view everytime i get new data.How
can i do this?
My code goes as below.
public Template1()
{
InitializeComponent();
realTimeDataListner = new RealTimeDataListen ...
|
|
|
Generate an Image with WPF
Wed, 31 Oct 2007 14:50:19 -0700
I need to draw a black circle using WPF and generate an image file.
I used the following but it resulted in a blank file. I cannot figure out
what is wrong with it.
Thanks,
Tem
RenderTargetBitmap rtb = new RenderTargetBitmap(200, 200, 96, 96,
PixelFormats.Pbgra32);
Ellipse cir = new Ellipse();
cir.Hei ...
|
How to get the bitmap image of a control
Wed, 31 Oct 2007 17:12:35 -0000
Hi all
How to retrieve the bitmap image of a given WPF control (or
visualtree) ?
I'd like to be able to insert a kind of control "screen copy" in an
arbitrary destination (a Word document for instance). Is there an easy
way to do that ? I think I've seen that somewhere but I can't remember
where.
Thanx ...
|
DisplayMemberBinding or DisplayMemberPath?
Wed, 31 Oct 2007 04:44:02 -0700
Again, this is not a technical help request, but I wonder if someone (from
Microsoft or not) can think of a reason for the fact that in the ListBox
there is a "DisplayMemberPath" property (allowing a developer to specify a
binding path for the property to use from each item to be displayed in the
list throug ...
|