Does anyone know of a Reporting Engine for WPF? Most of the ones I could find are still for WinForms.
I'm happy enough using a WinForms one in WPF with a WinForms host so long as the tool has a UserControl that can be embedded in a window.
Also, I'm not using a database and all my data is in XML so the Reporting Engine needs to be able...
The basic idea behind a Cancel button is to enable closing your window with an Escape Keypress.
You can set the IsCancel property on
the Cancel button to true, causing the
Cancel button to automatically close
the dialog without handling the Click
event.
Source: Programming WPF (Griffith, Sells)
So this should work
<Window...
i created a wpf custom control with a dependency property of an enum type.
i want the user of that control when editing the xaml in vs to see the optional values of the enum in the intellisense window.
does anyone know how it can be done?
...
So i am building an application that will have lots of windows, all with the same basic layout:
A main Window
A logo in the top corner
A title block
A status displayer down the bottom
An area for window specific controls.
At the moment i have to recreate this structure in every window. Ideally i want this layout to be coded in a sing...
I have several WPF apps, and I want users to be able to log bugs directly from these applications into my FogBugz database. Is there any way this can be done? Also, how would I make it so that, when their case is resolved, the application tells them about it?
...
I love programming with .NET, especially C# 3.0, .NET 3.5 and WPF. But what I especially like is that with Mono .NET is really platform-independent.
Now I heard about the Olive Project in Mono. I couldn't find some kind of Beta.
Does it already work? Have any of you made any experiences with it?
Edit: I know about Moonlight. But I wa...
I need to create a transparent blurred background. Lets suppose I have a border with a white blurry transparent background. Everything that is behind the border is blurred.
Thanks
edit: Im trying to avoid dependencies, Im currently using .net 3.0 nad want it to run with XP too.
Mockup image: http://cid-5118a172ef0f9c34.skydrive.live.c...
I have the following DataTemplate in a Listbox
<ListBox Grid.Column="1" Grid.Row="2" ItemsSource="{Binding People}" SelectedItem="{Binding SelectedPerson}">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock OverridesDefaultStyle="True"
Background="{x:Null}"
Margin="0"
Padding="0"
IsHitTestVisible="True"
T...
I have a complex WPF UserControl made of other ContentControl templates which contain sets of buttons, textfields, and other elements.
The parent UC is focusable so I have a style with a property trigger to update (gratuitous OuterGlowBitmapEffect) when the UC has focus. However when the user clicks or tabs to any of the buttons inside ...
Hi,
i have added an icon to a WPF app in the project properties.
How do I refer to that icon so I can add it to a
NotifyIcon that I am creating for system tray.
In code that is??
System.Windows.Forms.NotifyIcon ni = new System.Windows.Forms.NotifyIcon();
ni.Icon = new System.Drawing.Icon("MyIcon.ico");
Does not work.
Malcolm
...
It is obvious what I am trying to do below, but I get the following exception:
Unable to return a TimeSpan property value for a Duration value of 'Automatic'.
I was discouraged to read that
NaturalDuration cannot be determined until after MediaOpened has occurred. (link)
Does this mean that I have to come up with a contrived ...
Hi,
I am trying set up databinding as described in the title.
The problem I having is binding to a generic list.
Any examples out there.
I can't use BindingListCollectionView on a generic list so have to use
CollectionView.
The issue I am puzzled about is to add a new item
on click of Add button I add a new item to the
generic list ...
I have a WPF App which is grinding to a halt after running out of memory...
It is basically a TreeView displaying nodes, which are instances of Linq To Sql OR Generated class ICTemplates.Segment. There around 20 tables indirectly linked via associations to this class in the OR designer.
<TreeView Grid.Column="0" x:Name="tvwSegments" ...
I have a grid laid out like so;
+---------+---------+
| Image | Details |
| is | pane |
| here | for data|
| | entry |
+---------+---------+
| ListView here to |
| select data item |
| for top two panes |
+---------+---------+
This all works well, but I would now like to change the image to another set of cont...
My project requires a background thread to initiate the creation of a WPF control hosted in a Winform. The creation of said control must be performed on the foreground thread, which is very costly and causes the UI to hang for 1 to 2.5 seconds (depending on whether this is the first time the control is created).
Are there any pre creat...
I've been developing a very large LOB app using my flavor of M-V-VM which I call M-V-MC (Model-View-ModelController), which is a kind of a combination between M-V-C and M-V-VM. I had posted this answer regarding how views get instantiated in M-V-VM to the question "what-are-the-most-common-mistakes-made-in-wpf-development".
Sam made the...
Hello, I asked this question already at the Microsoft forums, but no answer until now. I am stuck here. I have a quite nested xml snippet, which i like to bind via hierarchical Data templates.
Here is the xml snippet:
<project>
<products>
<product name="Product2" foldername="string" dbkey="-2405" dbtable="string">
<ini...
I have an application, which I develop in VS 2008 and I target .NET 3.
Unfortunately when I install on a clean computer with .NET 3, it crashes. And besides the usual TypeInitilisationError, I have no clue why.
Updating the same machine to .NET 3.5SP1 makes it run fine.
Is there something broken in VS2008 that prevents from telling m...
In Winforms you can say
if ( DesignMode )
{
// Do something that only happens on Design mode
}
is there something like this in WPF?
...
I have a ListBox that uses an ItemContainerStyle. I have tried everything I can think of to get a CheckBox control to center vertically and horizontally. Any ideas?
<ListBox
IsSynchronizedWithCurrentItem="True"
Height="Auto" Width="Auto" DockPanel.Dock="Top"
ItemContainerStyle="{StaticResource lbcStyle}" />
<Style TargetType="Li...