WPF Window to Close a Form?
My application uses both WPF windows and normal form windows, except I want to be able to detect whether or not my form is open or not then close them through my WPF...
View ArticleTooltip binding
Hello,I have a simple app, mvvm style, and on a usercontrol i have to display some data, that is inthe form of a name, value and description. This will be displayed in a label, textbox and tooltip.The...
View ArticleHow to change cursor in file open
Hi, I have a wpf application in which I open a fileDialog in main window and then open file based on the file name selected in fileDialog. When click open button, I want to change to wait cursor and...
View Article3D Vision / 3DTV with WPF 3D
Dear WPF developers!We work on a scientific visualization app based on WPF, and, exactly, Media3D.We want to run our app with Sony VR helmet (HMZ-T1). It uses 3D TV technology for stereo rendering.3D...
View ArticleCheckBox Column In DataGrid
Hi All,I have a application in that i have a datagrid control.I want a checkbox column to the datagrid so that user can select one or more rows to perform some action..I want to ask you that which way...
View Article{usercontrol (wpf)} listbox datasource and data template
dear all i'm create this project with vb.net 2010, and i wish create some listbox data template with usercontrol (wpf).this picture hope just anyone can understand what i want:can anyone give me some...
View ArticleAnimating LinearGradientBrush.GradientStops[1].Offset
I have the following code where "rect" is a Rectangle element that has a LinearGradientBrush set as its Fill:Storyboard.SetTarget(offsetAnimation, rect);...
View ArticleProgrammatically add ItemTemplate to ListBox
In C# I'm creating a series of ListBoxes each of which require an ItemTemplate, however I cannot figure out the correct way to assign the the template to the ListBox. On the XAML side, the template...
View ArticleWPF app with resize property will crash in Windows 8 OS (0x88980406 )
Dear All Can you help to analysis this issue?WPF app with resize property will crash in Windows 8 OS (0x88980406 )<<Reproduce Step >>Create a Dialog based WPF application with...
View ArticleWindows 8 - What is the future of WPF applications?
Microsoft introduced the"Windows8, "and if I do notget it wrongit looks like Microsoftisbetting big onapplicationsin html5.But what aboutWPFand Silverlight?Microsoft willabandonthem?Or will html5and...
View ArticleFuture of desktop applications on Windows 8
Hi All,There are a lot of threads discussing existence of WPF/Silverlight/HTML5 on Windows 8, I just need to clarify the picture about desktop applications only, I have following queries to the...
View ArticleWhat is the future of wpf desktop applications with the spreading of cloud...
Is the cloud killing desktop applications ence wpf applications??what is the future for wpf desktop applications?
View ArticleDatagrid CheckBox - Select Multiple Rows and save their Attributes - to .xml
Hello everybody, I am on my never ending personal project and learning WPF by the "Trial-and-error method" and also much reading of course.What i wanted to do is the following:Select couple of...
View Articlehow to multibind the selectedate of the calendar control
Hello people I'm using WPF calendar control that will use selected date to show the selected date in the display date using binding to show the date in a textbox but all it does is throw an exception...
View ArticleRefresh DataGridComboBoxColumn ItemsSource
hii have a datagrid in a window which i need to somehow reload/refresh because the itemssource for the DataGridComboBoxColumn has meanwhile changedi cant use ObservableCollection because the changes...
View ArticleMainwindow going to background
i ahave window1 instance in mainwindow win1.owner=this;when window 1 show and after some function and logics i make it invisible Mainwindows got to back i.e. other application e.g. google chrome comes...
View Articlehow to run Storyboard synchronously
how can i make this code run synchronously? private void slide_anim1(int from, int to, string direction) { Duration d = new Duration(new TimeSpan(0, 0, 0, 0, 300)); Storyboard sb = new Storyboard();...
View Articlehow would you bind a Calendar selecteddate
how would you bind the calendar control selected date to an integer ? i'm using a MultiValueConverter to convert the date into 3 different textbox's one displaying the day, one displaying the month...
View ArticleTextChanged event only when enter is pressed
How do i make text_changed event to occur only when i press enter in that textbox?anyother method will be fine too ?
View ArticleTask.Factory.StartNew ContinueWith Testing
I am writing a unit test to test a method in a WPF application. The WPF method code is as follow (this is a callback method from the EventAggregator):private void OnEquipmentListUpdated(object...
View Article