selecteditem from one page to another
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 ArticleDatagrid VirtualizationPanel properties on codeBehind c#
Hello guys, I have something like this on every xaml i have a "MyExtendedDataGrid":<myclasses:MyExtendedDatagrid VirtualizingPanel.IsContainerVirtualizable="True"...
View ArticleDatabinding PasswordBox through Attached properties
Hi, I've read in a few places that there's no Dependency Properties attached to the Password Box in WPF and the work around is through Attached Properties. I've found a couple of blogs which show how...
View ArticleDataBound WPF FlowDocument output is mixed up
Hello;I’m trying to create a FlowDocument so I can allow the user to Print it or to Save it. The Data Content for the document comes from a Query to a WebService. Some Tables in the DataSet have only...
View ArticleChanging Views and getting: grid name cannot be found in the name scope of...
I using Expression Blend for getting an animation though the change of states. When i hit a button the animation starts. And it works!!!! But... The problem is that if i navigate thought another user...
View ArticleHow to figure out when control is visible to user?
I would like to know how to figure out when a control is visbile to user and when not? Let says I am writing a custom control which extends a TextBox and I would like to know when is visible to do...
View ArticleMS Excel converts numbers to date from application written in WPF 2010
I export data to MS Excel. However, MS Excel shows incorrectly a field which consists entries like "10-14" or "11-14". MS Excel shows "10-14" like "Oct 14", "11-14" like "Nov 14". That is, if entry...
View Articleusing kernel32.dll to release Memoryusgae, is this good approach?
Hi,I ma using Avalon Dock in my WPF Application, but when i close my Tab my memory did not remove so i am using kernel32.dll, so far i have not seen any problem, but i have impression kernel not good...
View ArticleCannot Modify Class and Constructor Name
Hello Everyone,I have just created a new WPF Application. Login.xaml and tried to rename the Form as Login.xaml and also the code behind as Login.xaml.cs.However when I am trying to rename the Class...
View ArticleListView inside ListView?
Hi there,I've a question regarding Lisviews. I need to implement something that has and header data and some item data.Something like:0 Volume 1 Item 1 | Size | Unit | Item 2 | Size | Unit | Item...
View ArticleWPF MVVM project template RaiseCanExecuteChanged() not working?
I created a new WPF MVVM application via Online Templates->WPF in VS2010->WPF MVVM project template. I created a checkbox labeled "Refresh Enabled?" next to the "Refresh" button that I wanted to...
View Articlehow can i change my cursor in my specific application using vb2012?
i want to replace my cursor with an image in my app.........
View ArticleProblem with text Opacity in a 3d scene
Hi all,i'm creating a 3d scene (using viewport3d); the scene contains a collection of primitives (cylinder, cube...) and each primitive has a label to plot its name. I created the label with this...
View ArticleHow to select All child check box if we select root check box in file explorer?
Hi all,I am using file explorer in my app.which is same as windows file Explorer by using below link...
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 ArticleC# using WPF
Using wpf to create a screen that will allow one to enter states and then press enter and save data onto list box.Questions: what C# code need to process enter buttonHow do I get data moved to listbox...
View ArticleUser Control - best way for custom properties - is this correct?
Hi all, I know you've probably seen this many times before and I apologize but I've been reading around the internet and cannot find one simple solution to this.I'm trying to make a user control that...
View ArticleWPF RichTextBox: i want mouse cursor line number in RichTextBox
Hi Everyone,I want line number where mouse is clicked in the RichTextBoxExample:I have RichTextBox which contains text as shown below:----------------------------HelloHaiHow-------------------------if...
View ArticleListbox with DataTemplate containing a Combobox - Binding problem
Hello everybody,I've a litte problem with my ListBox and the databinding and hope somebody can help me:When I change the value of one Combobox, all other boxes changes as...
View ArticleVB Storyboard Animation setting SetTargetProperty - Store App
I'm looking at some old VB code which is doing a storyboard in code behind. It uses 4 images cropped from a larger image to create an animation (no change in screen position). I think that I am ok...
View Article