Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

Calling Same Form from three independent threads WPF

Hi, i have process program runing like service,there are three threads started when service started,these three threads opens same Authorization form.this shouldn't happen,when Auth form opened by one...

View Article


Image may be NSFW.
Clik here to view.

Texture Co-ordinates on a 3D plane, please help!

How can i work out the texture co-ordinates for these positions and triangular indices, i need to make sure the texture goes in the direction as shown and that it does not stretch to the shape of the...

View Article


Atach event from static resource

Hi I have the follow code from resources (on App.xaml):<Button x:Name="BaseWindow_Close" DockPanel.Dock="Right" VerticalAlignment="Center" Margin="5" Height="20" Width="20" Style="{DynamicResource...

View Article

WPF Command Binding Doesnt work always on a button

Please advise. Command binding on the button fires if I click on any text block or image that comes from the Content Control. But if I click on any empty area it doesn't fire.       <ItemsControl...

View Article

Two Simple Questions: Resource Referencing and Debug Stop Points

I'm fairly new to WPF but have been programming both VBNET and C# for years. First question: Can you create a WPF resource with one key name (e.g., a Color keyed as x:Key="MyLightColor") and then use...

View Article


How to assign one style in runtime?

Hi ya there,This thread is PreviousThread related to.That's my general styles file:    <Style x:Key="EnglishDatePicker" TargetType="{x:Type DatePicker}">        <Setter Property="Text"...

View Article

wpf Application is crashing on windows 8.1 (which is working fine on Windows 8)

Hi ,We have Windows-based trading application (in wpf), which Is already live.Till Windows 8 we have no complaints from clients but when some of our clients upgraded to windows 8.1, application is...

View Article

Focus is going to the next control even when the application throws error in wpf

we are developing our application in wpf browser application. our application is handling the error occurring anywhere in the application and shown in the messagebox.In the login screen we have got...

View Article


WPF Datagrid and DatagridComboBoxColumn

Hi, I have DataGrid with ItemSource binded to Observerablecollection of users. So each row of datagrid contains one object of type User.I would also likefor each row add another column of type...

View Article


VS 2012 WPF Designer - Bind data context to a Custom Data Source at design time

I'll try to explain at the best my question. I've created a VSPackage that consists in a Toolbox that is able to establish a connection to a WCF Data Server. Now, what I'd like to achieve is (at...

View Article

Memory Leak in WPF (ListBox)?

Dear all, I know, I know, another nutcase that can't code claiming a memory leak, right? Bear with me: All this code does is, every 0.1 seconds, clear a ListBox (listBox1) and add a bunch of strings to...

View Article

Highlight Active Menu

Hi,  I am begginner  in C# WPF application, in my application there are 8 categories.  So I use the WPF Menu control with drop down menus (Menuitems).  I would like to keep Menu Highlighted until click...

View Article

Items in listboxes and comboboxes are not updated if the bound list changes

Issue is solved: Use ObservableCollection<string> instead of List<string>!The sample project shows the list elements. There are two commands to add or delete list items. The list is...

View Article


Custom Control Wheel UI

Hi all! Has anyone had experience with designing a custom WPF UI that involved a rotating image as a control? Basically, I need to have a round image on the screen that can rotate by clicking on the...

View Article

Change menu item backGround color

Hi allI would like to know how is that WPF suggest change the menuItem control backGround color using triggers ... Because I have the follow XAML code:<Menu.Triggers><EventTrigger...

View Article


DataBound ListBox SelectionChanged event fires multiple times

Hi All,I need your help in this. I have the following databound listbox control,The listbox has an datatemplate which has a bunch of control. The listbox is bound to an observable collection.On...

View Article

How a MDI Page listens child page events in WPF

I am having a MDI wpf Page and every menu click event i am calling other wpf pages and shown in the MDI Wpf page's tab control.Now i would like to listen the child page  click events in the MDI Page....

View Article


Container null value

When my Bootstrapper executes the methodprotected override void InitializeModules() { base.InitializeModules(); }program stops at base.InitializeModules();stating that my container has the null...

View Article

Image may be NSFW.
Clik here to view.

Grid inside column header in DataGrid doesn't fill available space

I have a DataGrid in which I want the column headers to be customized.I need to show a Label and optionally a combobox below the Label. All Column Labels should be aligned Top in the Header of the...

View Article

Is WPF dead or going to be

I read this article and not sure if its worth learning WPF in case its not used in future - anyone got any thoughts?http://www.theregister.co.uk/2010/09/09/microsoft_html_5/ 

View Article
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>