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
4 answers

How to make WPF failover to WinForms

I'm writing an application that will run with either WPF or WinForm. The idea is that if Windows Presentation Foundation isn't on a system (say an older server for example) I want WPF to failover to Winform. I'm not looking to "combine" them so much…
mlw4428
  • 510
  • 1
  • 6
  • 21
0
votes
1 answer

On Button Click validation in WPF

I am working on the WPF application. In my application there are different forms which save the data. I want to validation the data on button click or while lost focus from control. I want WPF validations work likes ASP.Net validation. I do not know…
jellysaini
  • 158
  • 5
  • 15
0
votes
1 answer

Childwindow WPF extended toolkit not opening

This is my code to open childwindow: ImageLocation location = new ImageLocation(); location.WindowStartupLocation = Xceed.Wpf.Toolkit.WindowStartupLocation.Center; location.Show(); But the childwindow doesn't…
Jack
  • 7,433
  • 22
  • 63
  • 107
0
votes
1 answer

How to get Run's text inside a Hyperlink?

This is my XAML markup: C#: private void InstrumentFile_Click(object sender, RoutedEventArgs e) { Hyperlink…
Jack
  • 7,433
  • 22
  • 63
  • 107
0
votes
1 answer

XamGrid doesn't allow to select empty text

I am using Infrgistics XamGrid [InfragisticsWPF4.Controls.Grids.XamGrid.v12.1.dll (12.1.20121.1010)]. I have a situation where user cannot filter to select only empty text. Filter works fine in cases where non empty text are selected, but any…
RockWorld
  • 1,278
  • 2
  • 11
  • 24
0
votes
3 answers

Darken the full screen when open popup

I have a window with a button. When you click the button popup appears. How can I darken the full screen when open popup?
sribin
  • 1,736
  • 1
  • 13
  • 21
0
votes
1 answer

WPF: ListItem does not receive focus when you press the button located on this ListItem

I have a ListBox with a DataTemplate. The template has a Button on it. Each item in the list shows the entity.
sribin
  • 1,736
  • 1
  • 13
  • 21
0
votes
3 answers

Want to run Progess-Bar continuously in UI till we receive the service response

I want to assign a new thread to a continuous Progress-bar in WPF application, so that it will run continuously after clicking on UI button till I receive the service response. I did a code like below, but progress-bar…
Indranil Sarkar
  • 1,220
  • 1
  • 14
  • 22
0
votes
0 answers

WPF: How to define a Xaml resource (locally) if it has not already been defined elsewhere?

I am writing Style Setters for custom WPF controls and would like to set values to resources (such as Brushes) that would ideally (read "hopefully") be defined at an application-level (so that app-wide theming is enabled). One example would look…
Jason Frank
  • 3,842
  • 31
  • 35
0
votes
1 answer

Composite Model Binding Performance with INotifyPropertyChanged

I'm currently working on a solution that has a set of composite ViewModels that are mapped from domain models coming back from a set of data access services. So far I've had a good amount of success with implementing INotifyPropertyChanged on the…
Philter
  • 535
  • 1
  • 9
  • 24
0
votes
1 answer

WPF listbox groupping by substrings

My object has property that stores more strings separated by separator. I want to display list of such objects in WPF listbox with grouping enabled. What I need is to have groups according to substrings. Object1: Property =…
Dusan Kocurek
  • 445
  • 3
  • 8
  • 22
0
votes
1 answer

The application requires that assembly Microsoft.HTMLTrans.Interface version be installed first in the global assembly cache

I have created a WPF application. I have used the microsoft.sharepoint dll to get some data from lists. I created a deployment package . When i run the setup i get the following error unable to install or run the application. The application…
Jayant Rao
  • 191
  • 1
  • 5
  • 15
0
votes
1 answer

WPF web browser control takes to long to load

Hi I am developing a WPF application. The web browser control takes a long time to load the page. Is there a way to display some text before the page loads . The .Documenttext is not available is not available in WPF . 1) Is there a way to make…
Jayant Rao
  • 191
  • 1
  • 5
  • 15
0
votes
1 answer

Fully duplicate mouse movement into touch event

I recently bought an Acer Iconia W510. All the touch events work fine, 1-finger click, double click etc. I have a windows application (WPF 4) that runs on a touch table (running windows 7, developed with pixelsense 2.0). I understand that there is…
Tom F
  • 3
  • 4
0
votes
1 answer

Wpf controls size is coming small/blurry in wpf ViewBox

I have an usercontrol in wpf window. In usercontrol, I have put all the controls inside the viewbox so that if the user resize the window it does not effect the scaling of the usercontrol.
Tarun
  • 393
  • 1
  • 6
  • 22