how to define a timespan with a slider
Dear all,I have a need to offer my application users to be able to define a time span using a slider.The idea is that I am building a game board where we need to define a game time value. For instance...
View ArticleNamespace does not exist in referenced class library in a solution
I am working through a tutorial learning WPF. The solution is a WPF VB Application that contains a Class Library with a couple of simple classes. I am able to build the DLL and have added it as a...
View ArticleHow to add hyperlink to an image in WPF
I have an image tha looks like this in my xaml file(WPF):<Window x:Class="Client.HomePage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View ArticleBinding to TextBlock Width property in MVVM
I have a `TextBlock` control in my view, its `Width` depends on the `Text` property.I'm looking for some way to bind the TextBlocks `Width` to a property in my model,which will work as follows: 1. The...
View ArticleMaster/Detail Datagrid Validation
I have two datagrids in a master/detail relationship. I will call them dgMaster1 and dgDetail1. Datagrid dgMaster1 holds student's biographic information. dgDetail1 holds several addresses that pertain...
View ArticleHow to get listbox to respond to menu selections.
I have 2 listboxes (lb1 and lb2) and a menu. And 2 problems....1) The menu selection controls what is displayed in lb1 based on selectedItem. lb2 displays criteria based upon what is selected in lb1....
View ArticleFriendly DataGrid Header Text with AutoGenerateColumns True
Here's the deal:I'm setting a DataTable object to DataGrid ItemsSource property. I don't know the DataTable's structure, it is dynamically retrieved.So, in the DataGrid I set AutoGenerateColumns to...
View ArticleInvoke events synchronously
I am using WPF events from the prism framework. I need to publish an event after the previous event has been executed. Any ideas on how to do this?Anonymous
View ArticleDraw arrow shape using code behind approach
i have been trying to draw arrows using coding behind approach and path function . however it is giving me error . i am inserting the code here Path orangePath = new Path(); PathFigure pathFigure =...
View ArticleICollectionView CurrentItem lost when IsLiveGrouping = True
With the new LiveShaping features of WPF 4.5, I am trying to implement LiveGrouping in one of my WPF windows.However, I have found that if a user edits the property on which the list is grouped, the...
View ArticleSafe way to pass a database connection string or is there?
I have a WPF LOB application that I put on say 20 different clients. Most the stuff I use web services, but I'm using telerik client side reports for my reporting. To do this I currently give it a...
View ArticleFinding the Added,Updated,Deteted items from a ObserableCollaction
Hi,I Have a ObserableCollection .After Adding or Updating or Deleting something from that collection ,I want to get the Updated things.Like if I added three new items, I want to get only those three...
View ArticleThe Name XXX does not exist in the namespace "clr-namespace:YYY".
I have a VB.Net WPF Application tutorial project I am working on to learn WPF. I have created a couple of classes within the project and stored them in a folder called Controls. The classes are...
View ArticleHow to Generate WPF "cannot locate resource"
Start a new WPF application.Edit the .csprojin <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">and <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==...
View ArticleHow to open system generated context menu on list view item ?
Hi all, I want to system generated context menu open on list view item. I am not able to set a value of system generated context menu in list view ItemContainerStyle style. Showing this issue...
View ArticleXAML Numeric Format in TextBox
I have a UserControl to offer users a numeric up-down control. I am now trying to figure out how to format the entered or incremented value properly. Here is what I have so far:<TextBox...
View ArticleSilverlight Page in WPF
I am using Silverlight code sharing with WPF .Silverlight pages are(navigation:Page) but in WPF there is only Page so i am getting error.Is it possible to use Silverlight Page in WPF.joby James
View ArticleHow to go back to the Main Window in WPF(Navigation Service)
Good Day All I have a Kinect Application , i am having trouble with navigation , so i dont like the creation of object of windows everytime i nagivate from one to another page. so i converted all...
View ArticlePositioning objects in multiple TabItems
I'm creating a simple window in WPF which will be composed of two tabs. Every tab will contain a canvas where I'll put all other objects (labels, comboboxes, radio buttons, etc.). The first tab design...
View ArticleWindows 8:...
System.Windows.Input.InputLanguageManager.Current.InputLanguageChanged event does not fire in windows 8 but System.Windows.Forms.Form.InputLanguageChanged does.Is this a WPF bug? Or am I doing...
View Article