WPF xamlparserException was unhandled
When I use a WPF application (.NET framework 4.0) for a long time (three or four hours) the following exception occursxamlparserException was unhandledDetails {Function evaluation disabled because a...
View Articlemy control(panel) is hidden on windowsFormsHost
i have host panel on windowsFormsHost and panel is hidden how can i show my panel on windowsFormsHosthere is code i have used System.Windows.Forms.Panel _pnlSched = new...
View ArticleDataGrid column sorts on lookup value not the displayed value when using a...
Hi, Does anyone know how to get a WPF datagrid to sort using the content it is actually displaying and not its lookup values??I have a master / detail type database and have written some converters to...
View ArticleCreating a login page using WPF and EF
I'm creating a login page to enable a user to use a WPF MVVM application. So far I'm using Entity Framework model, connected to a SQL database. I have one table that contains some user details such as...
View ArticleSerializing FixedDocument (not to XPS)
Hello,I'm writing an application that should look like for example a very simple version of CorelDraw. It should allow user to edit a single page document and put some elements (lines, images, text...
View ArticleSetup for VSTO Excel Add-in
Hi All,I have developed an VSTO Excel Add-In and now I want to develop setup for it along with Key Generation and Verification and also trials as well. Thanks,AttiqeAttiqe Ur Rehman
View ArticleHow to resize controls with its container Dynamically
Hi,I have a Combobox as UserControl,In combobox,we have one textbox,2 buttons.While resizing combobox it gets resize but its contents resized when wechenge combobox size and after clicking on control.I...
View ArticleCustom Auto Tooltip in slider
Does anyone know how to modify what is shown in the AutoTooltip on the Slider control? I am using double values and Maximum and Minimum for the Slider, but I would like to show a date string in the...
View ArticleWPF Application compiled in VS2008 32bit can't run correctly if the same...
Hi all,I have a WPF application compiled in VS2008 as 32bit app with .net 3.5 as target framework.In the meanwhile the same application has been migrated to be compiled in VS2010 as 64bit app with the...
View ArticleXAML vs CAML vs BAML vs C# (Performance)
I am in the midst of profiling a WPF-based application to find areas where performance (particularly loading) can be improved. We've achieved some improvements thus far in doing some code optimization...
View ArticleHow to change Listbox Selected Item Background in Windows 8
<Style.Resources><SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="DarkRed"/><SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}" Color="Red"...
View ArticleSetting a datagrid column's ReadOnly property to a binding
Hi everyone I binded my ID to a datagrid. And what I want is for it to not be editable but when adding a new row for the user to be able to write it in.So what I did was create a bool parameter...
View Articlehow to show MessageBox for Validation in MVVM in WPF
Hi EveryOne,I need to show a custom Message Window in my Application which iam using MVVM Pattern. In ValidationIDataErrorInfo class iam using to validate textbox as NullorEmpty. It invokes on Loaded...
View ArticleHow to change background color of a combobox in disabled mode ?
Hi all.I'm quite new to WPF,now struggling with trying to change the background of a combobox when disabled.It should be transparent and not white.I went over all the examples here and nothing solved...
View ArticleUISpy not identifying controls that are part of a visual tree
Hi,Our application has a control template. And the controls that are inside a control template are part of a visual tree. UISpy is highlighting the entire control template as a single unit. Not able to...
View ArticleWpf Close popup when ListboxItem is selected
Hi,I have listbox inside popup. How would I close popup right after I select item from list box; here is code:<Popupx:Name="ColorPopup"AllowsTransparency="True"IsOpen="{Binding...
View ArticleChange Tree node style or type to Label
I want to create a treeview whose node types are of type label like the following linked tree in WPF.http://www.codeproject.com/Articles/14544/A-TreeView-Control-with-ComboBox-Dropdown-NodesHow to...
View ArticleNeed help with Attached Command (Behavior) that is not working...
I've googled, read and re-googled and re-read and I'm sorry but I'm starting to see cross-eyed on this particular issue... I've tried about everything I can find/see on the net and nothing seems to...
View ArticleNeed help for proper control nesting of a scrollable image in a canvas
Trying to write an application that will use WPF to annotate a graphical image. Yes Im a newbie on WPFI'm thinking the best container to do the drawing on is a canvas inside a scrollable windowI keep...
View ArticleNested Accordion Performance in WPF 3.5
My customzied nested Accordion becomes very slow when loading more then 50 Entries.When i start using WPF our Customer wants the WPFToolkit Accordion, but there start the Story of Problems. Because it...
View Article