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

WPF Apps stop responding to touches while mouse continues to work

WPF applications stop responding to the touchscreen (we are using simple button click events) after some period of time (not consistent) but WILL respond to mouse clicks and the non-WPF applications...

View Article


MVVM Model based on unknown data

I am investigating the development of a business application to replace our current database system.I have been doing some research into WPF and MVVM and am a little confused. I get the basics of MVVM...

View Article


WPF in Windows Embedded Software

I m trying to run a WPF application developed on Windows 7 in Windows Embedded Software.The Application has no problem except one.-> The UI elements are not refreshed. I used InvalidateVisual() that...

View Article

ComboBox SelectionChanged event not firing

Hi,I'm trying th get combobox fire on SelectionChanged event but nothing happens. Can someone show me please what I'm doing wrong?Xaml:<UserControl.Resources><DataTemplate DataType="{x:Type...

View Article

Dynamic Menus and context menus

I have a WPF application. In it I have multiple object types. I want to provide a consistent feel to the end user with my menus and context menus. For example. one of my object is a "Group" in it I...

View Article


database disconnection

i love c#,xaml and other microsoft languages and am keen in learning them.I have been developing a wpf application and am through with it but when i run it my database automatically closes its...

View Article

Strange Selector Issue in DataGrid

We have a DataGrid that contains a variety of template columns. What we're finding is that clicking on a cell in a different row from the currently selected row exhibits inconsistent behavior with...

View Article

How to control the position of a GridSplitter programmatically?

I have looked all over the Internet, but have not found a good answer.My application has 2 panels, bound to the same data.    •A DataGrid on top    •A TreeList on the bottom.There is a GridSplitter...

View Article


Read MainWindow Dependency Property value from a class file

In MainWindow class I have defined DependencyProperty MyDepObjProperty (MyDepObj is int type).In another class file ClassA.cs under the same namespace I want to read the above MyDepObj value.ClassA is...

View Article


How can change shape of button in wpf

When i click - sign in form it is minimizing but the sign has to change to a box shape which will make it to come into a original form (with two panels),so from two panels it should go to single panel...

View Article

Tooltip on Mouse Overing for custom class.

HiI have one line chart control.This is the sample example code. <local:LineChartControl Height="300" Width="300" HorizontalAlignment="Left"...

View Article

Image may be NSFW.
Clik here to view.

Strange application crashes when printing WPF elements

Hi allI have a WPF application that displays some diagramms. These diagramms are build of hundrets of WPF dlements. When the user wants to print out the diagrams they are build again in memory and are...

View Article

Custom Control Parent Page

Hi.I have a frame on my window which can display 1 of many different pages.Some of the pages will have a custom control on it which will need to access the parent page.The custom control will have a...

View Article


Toolkit AutoCompleteBox tooltip issue for each listboxitem

Hi all,I using AutoCompleteBox of Toolkit, with listbox inside a popup control.Now, i binding a list to listbox. all good.. i using listbox.itemtemplate as:<DataTemplate DataType="{x:Type...

View Article

WPF input box

I have a WPF application written in C#. Here is my input box:string temp = Microsoft.VisualBasic.Interaction.InputBox(prompt, title, "0");What I am missing is a Cancel button. Do I need to create a new...

View Article


Change in appllication exe icon at runtime not getting reflected after...

Hi Team,In  my previous thread,http://social.msdn.microsoft.com/Forums/en-US/c4788a6d-b7ca-4852-ba8e-5469892bfb81/change-application-exe-icon-at-runtime-programatically-in-wpf?forum=wpfI asked a...

View Article

How to add items in wpf code using loop in list box

   List<UserControlLibrary.View> chartPanelItems = new List<UserControlLibrary.View>();            chartPanelItems1.Add(new UserControlLibrary.View() { Name = SummaryView, IsSelected =...

View Article


Question about binding data in WPF C#

Hi guys,Just want to select a row inside a datagrid and display one rtf format field content inside a richtexbox.First I did:<RichTextBox x:Name="richTextBox1" HorizontalAlignment="Left"...

View Article

WPF SWITCH VIEWS FROM A SINGLE BUTTON COMMAND ON A CONTENTPRESENTER

Hello guys, I have a big-simple problem and I do not know how to solve it. I want to change simple the "View" content from a "TabItem" with a Command. First of all I will post a link to my project, I...

View Article

CheckBox multibinding issue - Unable to bind to both

Hello,I have this line of code:<CheckBox Content="Show Tool Tips" x:Name="bToolTips" IsChecked="{Binding (local2:ToolTipBehavior.IsToolTipEnabled), ElementName=MWDCommandWindow}" Hint="Show All Tool...

View Article
Browsing all 18858 articles
Browse latest View live


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