Adorner Layer Z order in WPF
Mon, 23 Jun 2008 10:07:01 -0700
Does anybody know how to change the Z order of adorners in the AdornerLayer
of a Canvas? I can change the Z order of child UIElements but I cannot find a
way to change the z order of the adorners.
...
|
Accessing EventArgs of RoutedEvent in XAML
Tue, 17 Jun 2008 15:22:54 +0200
Hi,
I'm relatively new to XAML, so please bear with me if I'm what I'm planning
to do is stupid. I'm not a big fan (yet) of the rather crazy syntax,
especially when using {binding} and name:spaces. But I like the strict
separation of logic and UI and would like to continue doing it that way.
I'm firing a cu ...
|
Binding to INotifyCollectionChanged event
Mon, 9 Jun 2008 06:36:37 -0700 (PDT)
I am trying to bind a dependency property to an aggregate of a
collection. I've implemented a wrapper around a Dictionary that
implements INotifyCollectionChanged to fire the event when items are
added or removed.
Debugging through it I notice that there is nothing attached to the
event after I bind to it whi ...
|
ListView templating
Sat, 7 Jun 2008 11:07:10 -0700 (PDT)
In my application I have to display a databound listView that can
contain from 2 to 6 columns
Can anyone give me some pointers on how to approach this task?
Basically I'm looking for the way to templatise
GridViewColumn and then use some kind of template selector.
Thanks,
Michael ...
|
Dynamic MultiBinding?
Fri, 6 Jun 2008 04:24:41 -0700 (PDT)
In WPF I have a Canvas with child elements bound to data that render
as shapes.
I want the width of the Canvas bound to the maximum width of the
shapes inside it so that that it automatically resizes as items are
added or removed from the bound collection. This is one example but I
have other examples of wher ...
|
MediaElement performance
Wed, 4 Jun 2008 18:26:28 -0700 (PDT)
Hello,
I'm new in using WPF, however I did a video player by WPF recently, it
works perfectly. but there are few problems.
1. When I trying to play a wmv file about 20Mb, the video not very
smoothly, stop-continue-stop... but the same file is playing very well
in WMP.
2. The color in my video player also ...
|
Google Earth-style WPF app
Mon, 2 Jun 2008 07:41:05 -0700
I want to make a WPF desktop-app to look very similar to Google Earth (but
offline only). I have my own heightmaps/textures but I want to know if its
possible to create an app similar to GE, with a dynamically generated mesh
and texture-resolution. I also need pixel-wide overlayed vector-graphics such
as cou ...
|
|
|
Animating Width/Height to an auto value
Tue, 27 May 2008 02:06:01 -0700
I always had problems when animating the Width and Height if these properties
were not explicitly set (which often you don't want). The main problem is
that the property is set to "NaN" which cannot be animated by
DoubleAnimation. You get the following exception:
Cannot animate the 'Height' property on a 'x ...
|
Setting tooltip of a control to the lastest error
Fri, 23 May 2008 23:14:00 -0700
I am trying to figure out how to do the equivalent of the following in c#:
<Style x:Key=â?tbStyleâ? TargetType=â?{x:Type TextBox}â?>
<Style.Triggers>
<Trigger Property=â?Validation.HasErrorâ? Value=â?trueâ?>
<Setter Property=â?ToolTipâ?
Value=â?{ ...
|
Is there an event that real fires for sure only once UserControl L
Wed, 21 May 2008 02:50:02 -0700
It seems that the Loaded event of the UserControl at the bottom of the tree
is triggered multiple time for each containment. But i'd like code in it to
execute only once.
It's possible (say) to put a private boolean field ('hasLoaded') in my
UserControl and set it to 'false' in the first entry to OnLoad ...
|