DataContext propogation causing binding problems
Hi Guys, hope you might be able to help with a problem I'm having... A summary is below:User Control 1 displays data from a parent entity. Its ViewModel exposes an ID property that identifies an...
View ArticleGray32Float and Rgb128Float not supported in TiffBitmapEncoder
I would like to report a bug: It appears Gray32Float and Rgb128Float formats seem not supported when saving (tested up to .net 4.0).Using WriteableBitmap.WritePixels this format can next be saved using...
View Articleediting DataGrid cells and binding some cells to each other
hi allam using visual studio 2012 WPF c# .on a DataGrid i have with 3 columns.the three columns are empty.i know how to enter data into the datagrid.but what i dont know is when i enter the data in...
View ArticleIssue with saving a flowdocument ,which is using a BlockUIContainer, to RTF...
Issue: Code is not saving the flowdocument to RTF.I am using FlowDocumentScrollViewer. Inside this I have a FlowDocument.In .cs file, I have a grid.Grid g = new Grid();Then Dynamically creating...
View ArticleTabitem datacontext always refers the lastly created tabitem's datacontext in...
Hi,I have a tabControl. I will be adding tabitems to it dynamically.My problem is when I create a new tab with content and datacontext, all the old tabs also referring the lastly created tab's...
View ArticleVisual Studio Premium 2013, pdb files are locked by devenv
Copying this post from http://social.msdn.microsoft.com/Forums/en-US/b8d31c6f-033f-4517-beb4-d8f73d4688d9/visual-studio-premium-2013-pdb-files-are-locked-by-devenv?forum=visualstudiogeneralWe have...
View ArticleArc Points, please help!
Hi there, All i have available is 4 points, aswell as a circle center point and also a circle radius. how can i use this data to draw an arc and line path as shown below?the answer can be in code or...
View ArticleError_1_Could not find file 'obj\Debug\WpfApplication1.exe'.
how to remove this errorError 1 Could not find file 'obj\Debug\WpfApplication1.exe'.
View ArticleWPF Login Screen Using SQL Database
I am trying to create a log in screen for a WPF application. I was able to create the database and write code without any logical errors, however when I run the application it freezes. When I step...
View ArticleXAML models in WPF
Hi,I am working on an animated model of a human head. At the moment I am using the Helix 3D Toolkit to import .OBJ files to use in my project. This gives me control of all the models and things like...
View ArticleUse of resource dictionary
HIIm using project type class library and I need to use resource dictionary .I understand that this is not possiblebut my question is assume that I cant change my project and if I want to use some...
View ArticleWill there be only one copy of Statis member for a class irrespective of the...
Hi,I have doubt. Only one copy of static member exists even though there are many instances of that class ?I have a class which is having a static member of delegate type. At runtime I will be creating...
View ArticleWPF Chart control: Line series
I have a data entry setean every two seconds, these data graphing on a LineChart want and I want each entry is a different point LineChart not this replaces the data at the same point, I have...
View ArticleHow do you move a camera using a transform?
This should be pretty simple but I must be missing the point.I'm just starting out in WPF, but as I understand it a sensible way to create a 3D scene in WPF (and other platforms for that matter) is to...
View ArticleWPF ListView Extended SelectionMode + TextSearch Problem
I am facing a strage problem in ListView when we have selectionMode = Extended and TextSearch is enabled.Here is a sample XAML:<Window x:Class="TextSearchIssue.MainWindow"...
View ArticleHow get column value by rows
I need to save Listview data in database ,actually i am new to wpfThis is my XAML code:<ListView ItemContainerStyle="{DynamicResource MyItemContainerStyle}" Height="161" HorizontalAlignment="Left"...
View ArticleHow to bind several data (more then 7300) to datagrid
Hello,I am trying to bind to datagrid several data. I created an observablecollection, i stocked data into this collection and then i binded this collection to my datagrid. In xaml file i declared my...
View Articlehow to hide border of chart area?
I need to hide these borders of chart area, is there any way?It would be helpful in code behind. Thanks.
View Articleodd behaviour on linq2sql datacontext - updates dont get commited once in a...
Hello,this is more a conformation question though. I just noticed that even my DC has pending updates to the DB they never reach the DB once in a while.So I Change a property on a object , the dc shows...
View ArticleWhats wrong with my OutTransition Storyboard?...
Hi,My "StudyUIInTransition" works:<Storyboard x:Key="StudyUIInTransition" x:Name="StudyUIInTransitionCompleted"...
View Article