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

Get value of the DataGridComboBoxColumn

Hi. I want to get the value of the DataGridComboBoxColumn... i have tries many methods and finally got this one working...ComboBox assessmentBox =...

View Article


How to handle with fast typing within a WPF RichTextBox

Hi,I have a question how to handle with fast typing within a WPF RichTextBox. Usually I use the RichTextBox event SelectionChanged to update all the formating informations, i.e. bold, italic, underline...

View Article


set effect in xaml

HiIm new to wpf programming, and would like to knowhow can I set the effect of form or control in xamlI would also like to know the different effects that I can useThanks Nameless77

View Article

WPF Performance question

To measure performance I made an application with a timer which changes 54 Boolean values (as for the test), the values are bound from a wpf (xaml) window and shown as simple textblocks, this works...

View Article

Getting Combo box Value

Good Day, Please can anyone help me on how to display a value selected from a combobox when it has gotten data from the database; this is the code i have so far i get the data from the database into...

View Article


ListBox not updating after binding has ben notified of a change..... what am...

Hello,I have a ListBox defined like:<ListBox ItemsSource="{Binding Path=IngestGroups}" />"IngestGroups" is a List<IngestGroup> object.  All is well when the form loads and all the items are...

View Article

XBAP IE 9 issue

We have been successfully using XBAP in our application and using BrowserInteropHelper.HostScript to allow me to talk back to the javascript on the host page. I am running the XBAP in an iframe. It is...

View Article

Need Easy Thread Safe Control Binding Method (XML not working for me)

I'm still fairly new to WPF, but learning.  I have a new application which needs to display values of many data items, potentially hundreds.  Since each item is of a particular type (integer, boolean,...

View Article


XML-Bound Controls not Refreshing

I have a WPF application with various controls, both native and UserControls, bound to an XML object.  Here is a snippet of the XAML.<Window.Resources><XmlDataProvider x:Name="MyData"...

View Article


Effects of Windows Patches on WPF runtime

We have a bunch of Windows Updates (280798628092892814124which seems to be interfering with WPF runtime because before deployment of the same the app worked fine? Is there a way to confirm if these...

View Article

How to re-render Window layout at run-time after collapsing a child UI element

Hi, I want to collapse or hide a child element that is in a StackPanel on Main WPF window at run-time on a particular condition.  When I collapse after the Window is initialized, the element is not...

View Article

Metro Style App

I want to create a Windows 8 Store App style of application (Metro UI) but my development platform is Windows 7.  I don't need the Windows Store integration I just want the application UI to be based...

View Article

How to add context menu item to existing windows form control/ActiveX...

I have  WPF application which will use some windows form control (ReportViewer) and ActiveX control (PivotTable from OWC), so naturally I am hosting those controls in a WindowsFormsHost element in WPF....

View Article


WPF loads slowly on logon and switch user when launched from custom...

Hi there,I have a custom credential provider that spawns a WPF window in order to do custom authentication.  When I run the WPF application from Visual Studio 2010 or standalone, it opens in 2-3...

View Article

.net html ui alternative to xaml

Will Microsoft provide an alternative .NET UI abstraction layer for HTML rather than just XAML? Objects - first class citizens: identity, public interfaces and the authority for their own behaviour and...

View Article


How to bind commands to text box events in WPF using MVVM Pattern.

Hi,How can I bind commands to text box events in WPF using MVVM Pattern.Please provide some examples.Thanks.

View Article

Getting Control Property Values in XAML using XamlReader or XamlXmlReader

Hello friends,How do I get the property values of each control in an XAML file using a reader?For example, I'd like to search for [Name = "myCustomControl"] and get its ControlID custom property....

View Article


PageFunction in WPF

I'm using Visual Studio 2012 and trying to use a PageFunction. But in design view (xaml) I'm getting the error - PageFunction not supported in Windows Presentation Foundation. Any solution to this?

View Article

How do I get WPF DataGrid and AutoCompleteBox's Selected Item

I've used the AutoCompleteBox on a WPF form. Now I would like to do the thing inside a WPF DataGrid. Almost everything works except the SelectedItem was not work.In the XAML below I have added a code...

View Article

WPF Cut Functionality Issue

Hi,I have to override existing windows CUT functionality in my application because I have to update something before I CUT data from TextObject. So I used belo code to achieve that.       protected...

View Article
Browsing all 18858 articles
Browse latest View live


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