accessing programatically components added in wpf
Hi to all,I know this is a newbie question, but to my surprise I have not been able to find any answers on the web to this. I created a Window and added an Image component to the window in WPF. But...
View ArticleMVVM ViewModel Communication between
I can trigger (via MVVM Light Messenger) to send data from one view model to another if the active view model triggers.BUT If I have a view model (VM1) that contains string data (a default directory...
View ArticleSet background of DatagridRow, how only affects the first, second and third...
Hi all,Set background of DatagridRow, how only affects the first, second and third column?or says, the other columns's background still be white. thanks,Joey
View ArticleViewbox does not work in Listbox
Hi all,Please see my code as below.The left Viewbox in Grid works well. But the right Viewbox in listbox does not work.What I want is that when resize window and decrease the height of window, then the...
View ArticleWPF Render Thread Failures
Hi, My team works on a large, complex WPF application that occasionally sees the kinds of render thread failures described in this post:...
View ArticleMultiple 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 ArticleInvalid Blend Reference
Since upgrading to VS2015 I now have several project errors relating to the Blend SDK For example:The type 'EventToCommand' from assembly 'GalaSoft.MvvmLight.Platform' is built with an older version of...
View ArticleHow to print a window with xaml draw on it ?
I created some windows and i draw a graph on it (using xaml). I want to send this graph to printer and print it. How this can be done ?
View ArticleBlur Behind option for WPF Controls within the application
Hi,I am trying to create a UI in WPF 4.6 similar to the one shown herehttp://i1-news.softpedia-static.com/images/news2/Windows-10-Looks-Stunning-in-New-Design-Concept-468398-5.jpg I was able to add the...
View ArticleCircular progress bar only if Zindex = max or visible on the screen?
Hi,I would like to animate circular control only if visible on the screen? Because of there's several the same controls existing.Is there a way to detect if control is visible or not?Thanks,Weera
View ArticleModify the opacity of a button,but not to its content
Hi,Don't know if you understand me,but I want to set the opacity of my button to 0.1,but I do not want the button content to be set to 0.1,I want it 1.How can I do that?Thanks!
View ArticleException on max duration tooltip after processing Excel file
Hello,Now I am doing personal research for an issue in a commercial software, but I boiled everything down to the very specific title. Know up front that we do install the Office Access Database...
View ArticleCamera codec pack on Windows 10?
Hello. I have a WPF application that needs to be able to instantiate BitmapSource objects from a variety of image formats including raw. I've tried to install the Camera Codec Pack on my Windows 10...
View ArticleSimple animation causes memory leak with ATOM processor
Hello,i have a question but i cann't resolve it.I have some code as blow,it compiled with x86 Release, it runs ok on i3 i5 i7 processor,but the memory Continuously increasing with ATOM precessor....
View ArticleHow can we add label control in wpf ribbon and label text of ribbon button...
How can we add label control in wpf ribbon and label text of ribbon button left aligned and at the centre
View ArticleStrange behaviour for user control
Hello folks,I have a strange behaviour for UserControl in my Visual Studio.<BlockUIContainer><local:SignWithDates Width="700" DataContext="{Binding ResponsibleForLoadingUnit,...
View ArticleBinding of two dataGrid with same table columns resulted in repeating values...
Two different DataTables are coming from query, both DataTable contains person_name and person_gender coming from same table person, hence have same column name.In XAML i'm Binding both DataGrids first...
View ArticleOnRender ScaleTransform confusion?
Hi,I have created a new WPF application and within that application I have created a new class called MyElement, which is derived from the FrameworkElement class.Within the MyElement class I have...
View ArticleFile tranfer over a Stream
HelloI've chat Tchat Program in WPF and I´m trying to send a file over a network with TCP/IP.Here is some part of my code : (sending and receiving file)Client Sidepublic void SendMessage(string to,...
View ArticleXBAP PresentationHost exception
HiI have an xbap that is intermittently generating "Windows Presentation Foundation Host has stopped working" error. In the event log I see the exception below. Can someone explain to me what is...
View Article