Thumb control, DragDelta and Jitter (dragging goes crazy!)
Hello everybody, I'm using Thumbs to resize a Control. To get this I have an Adorner that consists of some Thumbs at the corners of the AdornedElement (the Control).Each thumb handles the DragDelta...
View ArticleNavigate from one datagrid to another on different pages
I have two pages (using NavigationWindow) in my application. when i click on a row in my datagrid1 on page1 , is it possible to navigate to page 2 and populate the details in datagrid 2 on page2.
View ArticleHow to draw an analytic curve in WPF
Hello. I need a draw a curve like thisso i need, first of all, draw background-picture - axes and curve, so after - i have a Tuple<double,double,double,double> where are A,B,Lambda, Mu. I get its...
View ArticleWhat is the right way to duplicate VS2012 Editor UI?
Hi all,Let's say that I want to create an application that works just like the way VS 2012 works from a standpoint of screen layout, how would I do it?So there is a main window with a toolbar and menu....
View ArticlePrevent Ribbon from stealing focus from Floating Windows
I am developing a WPF application, but since few days ago I have stucked with something.I have successfully created some views and added a Ribbon. And everything seems to work as expected when my views...
View ArticleLooking for sample WPF app.
Hi,I am looking for some examples of code and am hoping you can point me in the right direction.I have a winforms app (not written in .net) that I want to convert to C# and WPF. It has a main window...
View Articlewhat binding type for Android
I have a WCF service running in a WPF application (not web server) and client that currently run well on the Windows platform using the NetTcpBinding. My service need sessions, is duplex because it...
View ArticleWPF Application Resource Dictionary + StaticResource + The resource could not...
Hi,I have the following situation:I have assemblies A and B, where A contains the application with the application wide style resources.B contains user controls and does NOT reference A and does not...
View Articlebold just couple column in listview
Hi All.My ListView has some columns but I would like to bold only two of them. How it to do? I will appreciate to sample.Thanks.
View ArticleTabcontrol getting repositioned in a panel with autoscrollbar when a tab ius...
hai. I am developing a windows form app using c#.net I have a tabcontrol placed in panel. and the autoscrol property of the panel is set to true. just above the tabcontrol i have a button also.. now...
View ArticleHow do you make a progress bar change colour when its value is in a certain...
How do you make a progress bar change colour when its value is in a certain range (using XAML).e.g. Under 10%=red, 10-50%=yellow, 50-99&=green 100%=bluePlease use vb if you can thanks (and brief...
View ArticleTreeViewItems not displaying checkbox in heirarchicaldatatemplate
Hi,I have a treeview with heirachical data for 4 levels.The heirachicaldatatemplate is designed to display checkboxes.Heirachicaldatatemplate's Itemsource is binded to "Models" which is an observable...
View ArticleCan't build a wpf project on a FIPS enabled system
System is Windows 7 Ultimate x64 with Visual Studio Pro 2012 RCThe system has FIPS enabled in the Local Security Policy.I create a new WPF project, try to build it and get the following errors:Error 1...
View ArticleMediaElement latency
Hi, I'm developing a very simple media player application (using .NET 3.5 and WPF under XP and Vista) that loads and plays still images and video files in response to commands from a serial device. I'm...
View ArticleWPF and MVVM with login authentication
Hi, I'm pretty new to WPF and wanted to find out the best way to authenticate an user with the username/password stored in a Sql server database . I'm using MVVM framework and from what I read it was...
View ArticleIn a WPF app, bullets are not getting displayed in the password box
In our WPF app we have a PasswordBox, which by default, displays bullets for characters typed in it. For a particular user(XP SP3), this was working fine until a month back when he could not enter...
View ArticleIs it possbileto check iinside a trigger if a key is pressed down.
hey,i currently build a multirigger and i want to check if a certain key is pressed. Is it possible to do that in Xaml???
View Articleis it possible to make a reference inside a trigge to a codebehind...
hey,i'm continously in a lack of som interaction with xaml and codebehind. Is there, in which manner ever, a way set inside a Trigger a reference to a eventhandler in codebehind, means <EventTrigger...
View ArticleBuilding design help
So I'm new to this things, I am trying to design my app, its normal windows form application, I'm designing everything by pictureboxes, but i need to make now checkbox as my image, how to do it? Or i...
View ArticleFormatting n0s in listboxes
hello everyone, i am currently doing my 1st year in varsity, i am faced with a problem in C#, i did some calculations and would like to display them to have 2 decimals and i am failing to do so, your...
View Article