Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.

learn more… | top users | synonyms

0
votes
0answers
4 views

How to access datagrid template column textbox text WPF C#

I need to access the text in datagrids template column from code behind, but I don't know how. I need to change the text to whatever string I pass to it on SelectionChanged event. Can someone please ...
0
votes
0answers
17 views

WPF toolkit IntegerUpDown - bug or my mistake

I have a WPF application with several pages in it. I have used IntegerUpDown from the Extended WPF Toolkit. The IntegerUpDown works fine and is placed in a Page myPage. This is the code : ...
0
votes
1answer
7 views

Wpf How to change List box ItemspanelTemplate using Trigger

I need to set the ItemsPanelTemplate property of a listbox based on a dependency property on the control. How do I use the DataTemplateSelector to do that? I have something like: ...
1
vote
1answer
11 views

How to set image source in wpf, both are in dll?

I'm facing a problem regarding Image source in wpf usercontrol. A solution contains WPF application Class library. Details: WPF application is referanced to class library. In this a Usercontrol ...
0
votes
0answers
7 views

How to show one controll and hide other based on combobox selected item in wpf?

I have a combobox and I want to show a grid (or any element) that corresponds to the selected value from the combobox. Other grids should become hidden. They should appear in the same place of a ...
0
votes
0answers
5 views

wpf set the content of datagrid's selected templatecolumn's textbox

I need to find out how to pass a string to ComboBox that's inside of a TemplateColumn of a DataGrid. The idea behind is that whenever I DoubleClick on a TextBox a Popup appears and I select the new ...
1
vote
0answers
20 views

WPF vb.net Download Button without interruptions

I have pageA which has 2 buttons(button1 &button2) that navigate via frame1 to pageB(via button1) & pageC(via button2) (respectfully). On pageC( via button2) I have a download button that ...
0
votes
2answers
18 views

Button on page disable button on Window in WPF vb.net

I have a button on a page (page1) in a WPF application. If I press that button on page1, how can I disable a button on Window1 ? Page 1 is shown in frame from Window1. Thanks!
0
votes
1answer
30 views

Tree: Parse string and build tree

I am working on WPF project to display a list of path in a treeview. I have propertyPaths (Ex: NetworkControl.AlternateIndexText.Value") paths have ids. Constructors: public MessageElement() { ...
1
vote
1answer
17 views

What does the default value object in the constructor for FrameworkPropertyMetadata actually do?

I was wondering what kind of default this is actually setting. I thought maybe it would set a default value for the property so that I wouldn't need to set one in my constructor, but that is not the ...
0
votes
0answers
28 views

“The URI prefix is not recognized” in WPF when loading embedded resource

I'm trying to load an XML document in a WPF application, but using a pack URI I keep getting "The URI prefix is not recognized" even though I register the pack authority: UriParser.Register(new ...
0
votes
0answers
26 views

WPF: TreeView from KeyValuePair<int, string>

I have a WPF application with treeview control. When I implement this method to parse the strings I can find a treeview. Now I want to assign id to each path for example ...
0
votes
3answers
16 views

xaml Convert ID to String without using ComboBox

I've been using code like this <ComboBox ItemsSource="{Binding Path=CompaniesViewModel.CompaniesCollection}" SelectedValuePath="CompanyId" ...
1
vote
1answer
37 views

MVVM Light & WPF - Binding Multiple instances of a Window to a ViewModel

I am working on my first project in MVVM and I've chosen to use the MVVM Light Toolkit. I have a GameViewModel that handles business on the main screen of my game. I need to find out how to open a new ...
0
votes
0answers
15 views

Bug when programmatically adding PivotItem to Pivot + events on PivotItem Headers

I've run across quite the strange bug while trying to programmatically add PivotItems to a Pivot in Windows Phone 8. PivotItems can be added willy-nilly as the app is first built, but as soon as it ...

1 2 3 4 5 4358
15 30 50 per page