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

tabbing issue at the DataTemplate

I am having tabbing issue for a DataTemplate within a Grid in a WPF program.The program will automatically add a user control into a Grid. The user control has a DataTemplate, which has several textbox...

View Article


ListBox items with wrapping TextBlock are cropped when resized.

Hi,I have a list box whose elements consist primarily of a TextBlock with Wrapping enabled.Here is a minimal example:<Window x:Class="CroppedElements.MainWindow"...

View Article


ajax type of loading when button click in WPF MVVM Method.

Hi Sir,I am working WPF with mvvm project.in that project when i am click the button when need to show loading option.can you give me any example.so that it will be helpfull

View Article

Updating the UI Thread...

Hi Folks,When using WPF in MVVM mode, since almost all of the wpf controls are bound to the view model, we can always spawn a task on a separate thread and update the view model, which in turn would...

View Article

How to binding kinect depth + color in viewprt3D, rotating, zooming the content

please any body help me to rotate,zoom kinect depth+color view  in viewport 3Dkirubha

View Article


How to access all resources from Machine

Hi ,I want to see everything from my my machine like all services and IIS ,Installed program etc.,basically i want to compare 2 machine what is difference , is there way to do.was doing like...

View Article

DataGridTextColumn binding issue

I am having trouble binding to IsReadOnly on a DataGridTextColumn.<DataGridTextColumn Binding="{Binding Path=OffsetRelative}" IsReadOnly="{Binding...

View Article

wpf radiobutton IsChecked problem

Hi,I am new at WPF.I need the answer of this,I have two radio buttons and their bindings like <RadioButton Style="{DynamicResource MyCss}" IsChecked="{Binding Place.ToColour,Mode=TwoWay}"...

View Article


WPF Webbrowser Host Local HTML/Javascript

How do I do this?  I have an entire HTML/CSS/Images and I have sample code that will load the HTML into the current webbrowser or Frame control (home.html).  I have tried this in both.  The page loads,...

View Article


UserControl Binding not updating the ViewModel

Hello, i am having a difficult time understanding why a property in my view model is not updating.      ***** I have a user control named FxcmLoginView. This control has a dependency property called...

View Article

Converting to WPF

Hi,I am trying to convert an older Window Forms application to WPF, and I am stuck on this one function. It takes the image in a PictureBox control, grabs a specific section of it, and moves that...

View Article

WPF DataGrid: How do I programmatically select a ComboBox item?

The ComboBoxes in question are inside a DataGrid's column and have been defined as follows:<DataGridTemplateColumn Header=" Right Column...

View Article

WPF Charting toolkit: How to center data point

Hi, I have 3 charts that load at any given time 1 minute of data points from a database,  E.g  BETWEEN  Date time 23-07-2013 22:01:02  23-07-2013 22:02:02.  The chart then loads the data starting at...

View Article


WPF: Disable/Prevent selection of Tree-view child nodes

Hi Guys, I would like to know how can i disable tree-view child items sellection. This small piece of code let the user not select root node but I have some child nodes as well. So how can I prevent...

View Article

Get values from dynamically created controls

Hi,I have some problem to get values from the dynamic controls.(language: c#)On my screen there is dropdown control(left side, name: cmbSelect) and a blank space(right side).On selecting a value from...

View Article


CaptureElement class for WPF

HiI read your article class MediaCapture Class and on the bottom it says that the Minimum supported client - Windows 8 [Windows Store apps, desktop apps].So I just used the Example writen there and...

View Article

Need help with DataGrid and DataGridTemplateColumn

hey,the first column of my DataGrid is a DataGridTemplateColumn. My prob is, that if i select a row, the column is border with a black stroked line. But i've already chosen a custom template...

View Article


WPF Title Bar Text Hardly Readable In RibbonWindow

When using the Microsoft WPF RibbonWindow class (Oct 2010) or even third party WPF RibbonWindow controls (DevComponents RibbonWindow for WPF), the title bar text (especially with the translucent glass...

View Article

WPF & D3D interop ... (WPF Textures?)

Starting with Windows 8 there have been some ways to better use WPF & D3D together...http://blogs.msdn.com/b/windowsappdev/archive/2012/03/15/combining-xaml-and-directx.aspxI'm mostly interested in...

View Article

How to Uncheck checkboxes in TreeView programatically WPF

In the treeView, i load the Xml file using a HierarchicalDataTemplate. When the checkbox is checked i get the checkbox values and update it to a list. But i want to have a button function to uncheck...

View Article
Browsing all 18858 articles
Browse latest View live


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