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

Get Row from Microsoft.Windows.Controls.DataGrid

Hi, I want to access the elements in the DataGrid.I am using following code.But I am unable to get the row of DataGrid.I am getting null value.I just want to know why I am getting null value and how to...

View Article


link label and pictures

hello i am trying to get a picture to display when the user clicks on a link label to use as a reference for what they need. don't know if its clear what i'm looking for but it would be saying "please...

View Article


Speech Synthesizer - Check if audio device disabled

I am using Microsoft Speech in .NET Framework 4.0. The 'Speak' works fine when audio device is enabled but when disabled it throws the exception:System.Speech.Internal.Synthesis.AudioException: Audio...

View Article

Why interactions DataTrigger doesn't take effect at design-time?

Assume we have a UserControl containing a DP to control some aspects in the GUI. (e.g. to change color or size of an element, etc) Which approach is the best?Using DP PropertyChangedCallback Through...

View Article

gridsplitter grid visibility

heyi have a gridsplitter but in grid1 i have two things a webpage and a ink-canvas and both are overlapping and a button with a click event which makes web-browser visibility hidden.my problem is when...

View Article


The tag XXX does not exist in XML namespace 'clr-namespace:YYY'.

 I have the following issue: In my project called "CabinControlPage" I have a WPF usercontrol where I would like to use a valueconverter implemented in a class. The class looks like this: Code...

View Article

How to Change Icon > Property > Application > Icon and Manifest from code behind

Hi All,I want to change Change Icon > Property > Application > Icon and Manifest from code behidThanksA-Ashok

View Article

how can i move the image control to specific x y Co ordination by using...

Please Help me, how to move the image control to specific x y Position by using any animation class or translateTransform class. i have tried this kind of code given below, but problem is x position is...

View Article


How to group DataGrid which ItemsSource is DataView from...

I don't know how to apply PropertyGroupDescription. And only want to group by one column.Best RegardsPrzemysław Staniszewski

View Article


Problem - How to dynamically change the size of ListBox in Expander control.

Hello all,I have a "Height" property problem and I do not know what can I do to solve it. The story is like this:I have a Window which whole right part is a Grid control. In that Grid on the top I have...

View Article

Controlling cell sizes in a Datagrid which contains expanders

Hi,I'm having a problem with a datagrid where each cell contains an expander which in turn contains an RTFControl. The problem is that the expander ignores the size of the datagrid cell it is contained...

View Article

create datagrid fist column to collection of list in WPF

basically I am doing is to collect the files from local drives and copy them all to C:\ReportFiles\. I have created two buttons. Attach and Save. Attach will browse and get the files. In dataGrid1, I...

View Article

Entity Data Model. How to check data changes

hi,is there a way to check if data in an Entity Data Model have been changed (ie: new items created, items removed or updated)? Working with DataSet I was able to write something like this: Dim...

View Article


Call MarkupExtension constructor with parameters from datacontext.

I've created a markupextenstion that will return the properties of a given type, however I don't know how to instantiate it in XAML, because I want it to use a property value rather than a static...

View Article

Is the same InputManager.Current used for multiple Windows

Hi,We have a WPF application that uses multiple windows.We are trying to implement a form of inactivity within the app and are currently using InputManager.Current.PreNotifyInput to be notified...

View Article


Persisting state when using Tab Control

 I have a page with a tabControl consisting of two TabItems : TabItem-1 and TabItem-2. In my TabItem-1 I have a TextBox control (MyTextBox), the content of which I'm TwoWay binding to a business...

View Article

double click event in the ComboBox items

Hi,I want a ComboBox which I double-click an item, the item double-click event triggers.How to get such Template? Please show me the code samples.Thanks!Knowledge will change the destiny.

View Article


'Value' property was already registered by ...

Hello,I have 2 User Control.I put this code on UserControl1://... public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(object), typeof(UserControl1),...

View Article

How to get cell value to a string for wpf datagrid

HI I am having a datagrid in my project . I filled data to my wpf datagrid. when i clicked on a specific cell of datagrid the data of the cell must have to be assigned to a string. like this string ss=...

View Article

Image may be NSFW.
Clik here to view.

treeview items not visible properly

The above pictures are combobox popup which contains treeview items.I have implemented a search functionality in the treeview to highlight the treeview items while type the starting...

View Article
Browsing all 18858 articles
Browse latest View live


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