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

We could really use an example of navigation for WPF apps, please

At my new job we're working on our first WPF app here. I think it likely that we'll adopt MVVM Light as the framework (toolkit) for doing our development. I've watched the Pluralsight course that...

View Article


call method of view model from view (xaml.cs)

I have a question on calling a method of view model from view (xaml.cs). Any suggestions would be appreciated.The method works in view model since if I call the method in view model constructor, I will...

View Article


WPF Treeview: count treeview items with specific tag

Hello,I have a question that i need some help with,I have a wpf treeview that is being populated programatically.each treeviewitem has a tag: user, computer or folderI would like to somehow to display...

View Article

Update a window from another class/window

I have an application with a splash screen, that contains a progress bar.  My goal is to inject something like this into the code and have it update the progress bar as it passes each code segment...

View Article

What tools that is used to detect WPF memory leak from Microsoft?

Hi,What tools that is used to detect WPF memory leak from Microsoft? I got an WPF project, there's a lot of memory leak. How to fix it?It is straightforward.ThanksWeera

View Article


TreeView - Drag & drop issue

Hello everybody,I'm encountering an issue with a TreeView. I try to implement a drag & drop to enable moving items into this TreeView.I implemented some events like this...

View Article

How to remove history/navigation from a WPF Frame

Hello,i have a WPF Window, and on pressing Button A i want to display some content in a certain area of my window.when pressing "Button B" the content shall disappear and other content shall appear on...

View Article

wpf listbox

Hello, The listbox inside the wpf window is populated as in .xaml below:<ListBox Name="lstNames" ItemsSource="{Binding Path=DataCollection}" SelectedValuePath="StudentID" SelectedItem="{Binding...

View Article


Multiple transitional element on same wpf doesn't work

Am working on C# wpf application where am using Transitionals framework for animations (https://transitionals.codeplex.com/) I have 3 different transition elements on same wpf application. Each have...

View Article


How to parse efficiently a string to build a sub set of string

Dear all,I have a WPF application for which I need to parse a long string with specific PREFIX caracters that identify a field value, then for each of this field value I will store the extracted string...

View Article

restart timer

Hi! i'm tring to reset the timer when tab change but it does not working.. how to do it? thanks!!Timer.Start();            RD1.Text = "0";            D1.IsEnabled =false;            D2.IsEnabled =true;...

View Article

Integrate Cortana with WPF in Windows 10

Hi everybody,I was wondering if there is a way to add Cortana support to WPF applications written in Windows 10. Ido not speak about Windows 10 Store apps, but about WPF.Thanks a lot for your...

View Article

Binding the object / objects

If I have a view which allows the user to add a new applicant, is it best to create a blank applicant object then bind to that, then construct another applicant object on save which will use the...

View Article


Image may be NSFW.
Clik here to view.

Mouse hover effect

Hi All ,I want to how to Apply and create Mouse Hover effect...... Looks like AVAST antivirus Please find below attached Image.ThanksA.AniruddhanA.Acharya Feedback to us Develop and promote your apps...

View Article

Working with caret in Text Formatter API

Hello!I'm creating simple WPF text editor via Text Formatter API. I've already done some of the basic functionality and now I need to add a caret support. I also have a visual caret (just a line with...

View Article


Get application path ?

 hi all - probably a dumb question, but the Application object seems to not contain the path to the exe in WPF, how do I get that, in my code ?  

View Article

Lync PresenceIndicator in WPF-app slows everything down

Hi there,I am building a WPF-app wich includes a Lync (2013) PresenceIndicator and it works sort of fine.I have build a DataTemplate in a ListBox and it includes a PresenceIndicator. But sometimes I...

View Article


How to route the buttons tap event to its parent listview?

<ListView Grid.Row="1" ItemsSource="{x:Bind ViewModel.ColoredButtons}" IsTapEnabled="True" Tapped="{x:Bind ViewModel.Check}"><ListView.ItemTemplate><DataTemplate...

View Article

Binding value to Converter Parameter

Hi ,Whether we can give Converter parameter value through binding or else is there any alternative regarding this. <Rectangle VerticalAlignment="Stretch" x:Name="A" Width="{Binding AA,...

View Article

How to create a proper tile icon for WPF app?

Hello all. How does one go about making an icon for a WPF application for when the user pins the application to the start menu (on Windows 8/8.1/10) it looks like a proper tile and not a small...

View Article
Browsing all 18858 articles
Browse latest View live


Latest Images

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