Questions tagged [wpf-4.0]

Version 4.0 of the Windows Presentation Foundation (WPF).

New and enhanced features in WPF 4:

  • New Controls
  • Visual State Manager
  • Touch and Manipulation
  • Graphics and Animations
  • Text Binding
  • XAML Browser Applications
  • WPF and Windows
  • WPF and Silverlight Designer
423 questions
0
votes
1 answer

Using the WaveformTimeline Control in the WPF Sound Visualisation Library

I am having problems using the WaveformTimeLine class in the WPF Sound Visualization Library using the NAUDIO class library.I have followed the instructions they have put out in their documentation but it's just not working for me. My code behind…
KillaKem
  • 995
  • 1
  • 13
  • 29
0
votes
1 answer

ListBox Template/Styles in WPF

I have a ListBox on a WPF form, with the following look:
user1269016
0
votes
1 answer

Update label content on usercontrol from Mainwindow - WPF

I am new to WPF. I have requirement to create a window (as below. Ignore background color. Just gave color to distinguish different panels). On click on next, center panel (with frame) will load another page/user control. This is working fine. Now…
Sunil Agarwal
  • 4,097
  • 5
  • 44
  • 80
0
votes
1 answer

how to release a panel for using after usercontrolget Visibility.Collapsed

I created a userControl which has a progressbar label and textblock. (this works great) i have it in a panel that has also listbox. i bind it with few property changed and one of them is Visibility. everytime that i need to load a long list i show…
NoahBon
  • 1
  • 2
  • 4
0
votes
1 answer

Not able to fire events from WPF Combo box items after once item is selected?

There is a scenario i am trying to accomplish for quiet sometime, could not find the way to do with Combo Box. I have Combo box which has a Datatemplate containing a button and textblock. The button is bind to some event so when user clicks on it…
Vjendra Gaorh
  • 318
  • 2
  • 15
0
votes
1 answer

WPF TreeView.SelectedContainer

I have a TreeView control. It has a SelectedItemChanged event handler. In this event handler, the sender parameter comes in as a TreeView. When expanding and investigating the datatips for sender, it displays a property 'SelectedContainer' as…
playerone
  • 127
  • 1
  • 8
0
votes
1 answer

Form controls visual changes on starting form

Its my first WPF project and I am enjoying it till I reached this problem. I have designed a form as per my will. It looks like this in the visual studio. But when I debug it from Visual Studio it gives me distorted view. Screenshot below. But…
Sandy
  • 11,332
  • 27
  • 76
  • 122
0
votes
1 answer

Drawer Like Feature WPF Grid

I am stuck creating a UI... I have created a Grid and it contains 3 Columns - 1st Column - A grid which contains all the inputs that i need from the user 2nd Column - A gridSplitter 3rd Column - Again a grid which contains all the outputs I want to…
Rajat Suneja
  • 494
  • 2
  • 10
  • 27
0
votes
0 answers

WPF ChildWindow ResizeMode

I'm developing an xbap application that is a partial trust application with Internet zone permissions. For security reasons I can not show a Window and as I result I am stuck with using the ChildWindow as my modal window that is part of the…
Dan P
  • 1,939
  • 3
  • 17
  • 30
0
votes
1 answer

Adding controls to an ItemsControl that is placed into a UserControl when we use UserControl?

I need to make a Usercontrol and add it's Controls in the Window that i use it,so i've defined an ItemsControl inside it as shown below:
mahboub_mo
  • 2,908
  • 6
  • 32
  • 72
0
votes
0 answers

Setting DataGridTemplateColumn CellTemplate programmatically

This question is similar to others that have been posted, but none seem to offer the solution that works here. Problem: Trying to create a DataGridTemplateColumn at runtime with a particular DataTemplate. Just want a CheckBox in the…
edtheprogrammerguy
  • 5,957
  • 6
  • 28
  • 47
0
votes
2 answers

Insert hyphen automatically after every 4 characters in a TextBox

I want to implement some thing that when a user enters 4 characters then a hyphen should be added to the text and then again user enter 4 characters and then again hypen should added automatically in WPF. Note "I want to implement this behavior…
Yogesh
  • 3,044
  • 8
  • 33
  • 60
0
votes
1 answer

Create a TabControl programmatically in WPF(C#)

I am a newbie to C# and WPF in particular and I'm wondering how to create a TabControl programatically(not via xaml). I have the following code: private void Button_Click_3(object sender, RoutedEventArgs e) { TabControl c = new TabControl() …
E Shindler
  • 425
  • 7
  • 27
0
votes
2 answers

ListBoxItem selection color disabled, but content is too

In relation to a previous question, I have the following code which disables the blue background: