Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

Click once won't deploy sound files

HI guys,I am using visual studio 2012 to create a simple app that has sound files. When I publish the app with click-once and after I try and test the app by launching the setup file, the sound does...

View Article


ItemContainerGenerator Recycling Problem

Hi,I am trying to use Recycling within my custom virtualizing panel.Here is my code:protected override Size MeasureOverride(Size constraint) { ... // computatons of firstVisibleItemIndex...

View Article


Auto Insert Closing tags is not working...

...In the Options->TextEditor->XAML->Miscellaneous page I have "Closing tags" checked in the "Auto Insert" group, but it is not working. This is a brand new install of Visual Studio 2008. Here...

View Article

Displaying Value in ComboBox

I have a UserControl that displays a ListBox of items whose data is bound to a List in a ViewModel.  When one item is selected, its data is displayed in a  ComboBox within a ContentControl to show a...

View Article

xbap error: 'Faulting application name: PresentationHost.exe' .

I have an xbap app embedded in IE as an iframe. occasionally the bellow error occurs. It seems to occur when refreshing the web page, but its hard to tell what is causing it. Any ideas what might be...

View Article


Windows Presentation Host crashes loading XBAP application IE 8

We are using IE8 and loading a XBAP application. It works majority of times but sometimes we see this "Windows Presentation Foundation Host has encountered a problem and needs to close" at the time of...

View Article

XpsDocument does not writing visual elements alignment properly with shadow...

I can't get any online solution for this specific issue. Please suggest any solution to generate xps of the Textblock with shadow effectI am creating XPS file.I have created a canvas from CreateCanvas...

View Article

Gridsplitter bug

I have a Grid with GridSplitter<Grid ><Grid.RowDefinitions><RowDefinition Height="*" MinHeight="100" Name="p1" /><RowDefinition Height="20" /><RowDefinition Height="*"...

View Article


DataTrigger not firing in ListView

I have the below ListView, and the DataTrigger is not firing to change the color when it encounters a null value. The default text I specify from TargetNullValue is returned, but the color is not being...

View Article


Datagrid busyindicator not showing up

I have added  a datagrid in a tabitem in my xaml file.Already there are grids in other tabitems of the same xaml.When I doubleclick an item from other grids the busyindicator /hour glass shows up.But...

View Article

Making an ellipse follow a circular path on a canvas

I am having a problem trying to get my ellipse to follow a perfect circular path on my canvas. I had success using curves but not arcs.<Canvas Name="WaitingCanvas"><Ellipse...

View Article

WPF Localization using Database

Hi I have an existing WPF application using a back end SQL Server database.  I want to use database localization in order to provide the functionality to change the (label) conversions within the...

View Article

Image may be NSFW.
Clik here to view.

How to select multiple items in a combobox@WPF

Hi allI am working on WPF with mvvm pattern. Now, i need to select multiple items from combobox. Once I select the multiple items from combobox and if I click on search button, then I should get...

View Article


Problem in expander toggle button in wpf

Hi,      I want to put toggle button in right hand side but expender header in left hand side..i used flow direction but expander header also viewed in right side... please help me..My...

View Article

Speed up loading WPF pages in Frame control

I have a few pages which are very big (11 000 XAML code lines) and it gets nearly 1.5-2 seconds to completely load and display the page. So, my question is: how to speed up loading of such pages? Maybe...

View Article


WPF ListBox size don't changed after unwrap

 have ListBox and dynamic DataTempletes Items. When TextBlock text wrapping, ListBox size is adding and size changing when unwrapping doesn't return to old value and remains un-changed. I don't...

View Article

Documentviewer : Custom styling lost when clicking on internal link in XPS...

I have a UserControl which implements a Documentviewer using a custom controltemplate for its appearance. I used this control in a win forms application and it works fine, but it did not respond to...

View Article


Show WPF UserControl in WinForms tab control?

Hi,I have a WinForms application which currently shows multiple forms within a tab control.  It does this by creating a tab page and passing it to the new form, then each control on that form can have...

View Article

WPF Button Disabling and Text Input Validation

I have a dialog box that a user enters some input and then it adds that value to another listbox.  In doing so, I am trying to use Validation and have the "Add" button disabled until the user enters...

View Article

Changing background of Tab Control header

Hi,I have a TabControl wrapped which uses DataTemplate as ItemTemplate wrapped within another DataTemplate.  The design is based on Josh Smith's example and I would like to extent a bit and add some...

View Article
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>