I have WPF application, Which works fine on my PC. As this application is going to be used by clients i was trying to run that in few other computers.
But when i try to run it, it opens window for brief moment and closes itself.
Looks like .net is just refusing to start the application.
There is nothing on event log. Also my applica...
Hello
What is the easiest way to find an item in CollectionViewSource? I can't seem to find a linq friendly property. I would like to do something like MyCollectionViewSource.View.Where(x=>x...)
Cheers,
Berryl
...
I'm not quite sure how to go about this so any advice would be much appreciated.
I have a ListView whose default implementation is using with column headers. At runtime in the program I would like to be able to click on a button at runtime to change the view so that the list view loses the GridViewColumn headers and implements a new st...
Hello,
Excuse me for my poor English, that is not my native language.
I'm a beginner (since 3 days) with WPF and LINQ, and a casual user of C#.
Yesterday, i've trying all the day to solve my probleme and read several documentation, but a bug in my code persist.
I pass a XElement to a control who bind its content, but i've a but in th...
I have a combo box that is based on a data template the includes check boxes like such:
<ComboBox x:Name="cboComplex" Text="Select days...">
<ComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding Path=IsSelected}" Width="20"/>...
I can style the contextmenu (.style) containing the items and I can style the menu items fine (.ItemTemplate). But how do I style the submenu that pops out when a menuitem has menuitems?
Like:
<ContextMenu>
<MenuItem Header="Font Style">
<MenuItem Header="Under Line" IsCheckable="true"/>
<...
I am using a third-party Windows Forms control that performs some actions "delayed" using the Application.Idle event.
Now that we're moving our application to WPF, these actions stopped working.
I've found that the System.Windows.Forms.Application.Idle event is not raised as expected.
How can I get the Idle event to fire in a WPF appli...
If we want in our WPF application to let a user make a SQL Server db connection settings through dialog window, what approach we should use in implementing this.
Should we programmatically make changes to the app.config file? Or, some another approach exists? Or, maybe, in WPF there is some prebuilt tools for doing this?
...
I am trying to make it so that a user can ctrl-click outside of a richtextbox to scroll to a percentage of the richtextbox's maximum scroll amount based on the y.position of the mouse relative to the top of the richtextbox. Here's the code I'm currently using:
private void MainWindow_PreviewMouseLeftButtonUp(object sender, MouseButt...
Many controls in WPF has this snap to device pixels (as explained here: http://msdn.microsoft.com/en-us/library/aa970908.aspx). I just often find myself forgetting to set it and then later discover that something sometimes looks odd because of this.
What do people use to deal with this issue?
...
I have a textbox and datagrid inside of a dockpanel that is in a WPF groupbox.
<GroupBox Margin="8,142.04,1.783,230.4" Height="Auto" Header="Desired Meeting Outcomes (decisions or actions)?" MaxWidth="635" MinWidth="550" FontWeight="Bold" FontSize="13.333" BorderBrush="#FFD5DFE5" MinHeight="106" VerticalContentAlignment="Stretch">
...
Hi all,
Hopefully you can help.
Scenario
WPF Application calling a wcf Service to buy products etc...
A customer can select 20 products in the UI and press buy,now for each product that is processed I need to report a status EG("OK","Out of stock","Busy" etc...)
I have a txtReportProgress that is bind to a BuyCommand.
Problem
Even t...
Is there any way to draw a 3d polygon in xaml/directx using only point3d?
...
Hi,
I'd like to know if there is any free custom control DataPager for WPF3.5?
Thank you very much.
...
I want to add a new row in the datagrid when click on a button in the outside of a datagrid.
The datagrid is bound with SQL Server database, and it have some data at runtime
I want to add new data to the database through the database
I tried a lot, but it was unsuccessful
Anyone reply me it will be very helpful for me...
Advance thank...
I'm publishing a .NET ClickOnce application and when the user installs it the Publisher is set as Unknown Publisher (see below).
What do I need to do to change this field? Do I need a valid SSL certificate?
...
Hi,
When i added the silverlight dll in the wpf application , i got the following exception.
Could not load file or assembly "System.Core, Version=2.0.5.0". The located assembly's manifest definition does not match the
assembly reference.
This is happening only in VS 2010 professional Beta 2.
...
I have been looking into MVVM design patterns with WPF for a project. I have so far looked at MVVM light, MVVM Foundation, and the WPF Model-View-ViewModel Toolkit. I have a requirement to keep it to .Net 3.0 and not 3.5. I was wondering what frameworks outside of the MVVM Foundation samples use the design pattern or something similia...
Hi everyone,
I hope I am not being silly asking this, but I am trying to design a graph viewer in WPF being a total newb in the framework; although I did come up with a couple of solutions to my problems, the one I'm most proud of... does not work where it should. What I'm trying to do is to place a node on the ItemsControl at a positio...
What tool are you using to draw the elements of a WPF application? Do you edit the XAML manually or do you use any tool?
Do you know a tool which is easy to use?
Thank you
...