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

RichTextBox - Underlining all text after the caret

Hello everyone,In my application, I have formatting features such as bolding, underlining, italics, and strikethrough. In order to make these features accessible to the user, I have buttons that the...

View Article


Converting a barcode scanner and msr to pure USB HID

I bought a Motorola Image scanner (LS2208) and a Magtek MSR (21040101) from ebay. I am reading the Professional's Guide to POS for .Net book and I need to configure the devices as pure USB HID...

View Article


Error on Enabling device with TestApp.exe

I wrote the following Xml for the device, Sample Scanner:<PointOfServiceConfig Version="1.0"> <ServiceObject Type="Scanner" Name="Example Scanner"> <HardwareId...

View Article

UI update problem

Hi, everyone!I have a to fill heavy data form. It's take a while and I decide to speedup this process by separating in different threads. They start simultaneously and I have to wait till all of them...

View Article

Attached Property with custom class list. Bind Class Property to TextBox?

Hello,i have an Attached Property with a list of a custom class. A Property of the custom class is bound to a textbox text. I want to get an update or any function called when i enter text in the...

View Article


How to add point on Cubric Bezier Curve?

In photoshop we can create bezier curve with pen tool,when we editing the completed curve,we can add point on the curve, in blend the same. Now I have create a bezier path with wpf,how can I add point...

View Article

Raise Events from AddIns

Hi,I am Using Managed AddIn Framework. Every thing is fine for all the calls from Host to AddIn. But i am not able to raise an event from AddIn to Host. Please help me in providing a solution for...

View Article

Data biding from checkbox for displaying and hiding tooltip doesn't get updated

WPF Code<Button Name="btnCancel" Content="Cancel" ToolTipService.IsEnabled="{Binding GeneralDisplayTooltipsForPreferencesAndSearchOptions, UpdateSourceTrigger=PropertyChanged}" ToolTip="Discard...

View Article


AsyncObservableCollection Clear() method not working

I have the following method in one of my services:public async Task SelectTransmission(Transmission transmission) { await Task.Run(() => webService.UseTransmission(transmission)) .ContinueWith(task...

View Article


How to access to an object inside TemplateSelector

Hi,maybe this is a trivial question for many of you... in the following code what I need to do is:to have access to my Tab class inside the TemplateSelector.My app has a TabControl defined...

View Article

Freezable Warning in Debug output window

 I have started getting this message in the Debug output window, but the app seems to work fine. System.Windows.Freezable Warning: 4 : CanFreeze is returning false because at least one...

View Article

Generate file Generic.xaml on having generated the project

Good morning, I take time trying to divide the file Generic.xaml, so that it is possible to work better on, since there comes a moment in which it is very difficult to work on this one, by what I would...

View Article

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


comment / uncomment menu button in VS2012

Hi All.I just install VS2012 and I didn't see comment/uncomment button in menu bar. Is it possible to install them in menu bar?Thanks.

View Article

Failing to style ComboBoxColumn for validation errors

I'm using Visual Studio 2010, and am attempting to display validation errors to the user for a ComboBoxColumn in a Datagrid.  ValidationStep=UpdatedValue.  Here's the column...

View Article


Visio Import Image throw error

Hi! I have a VisioDravingControl in WPF over WindowsFormsHost. When i try to import any image to Page (ActivePage, etc), Visio throwing exception:{System.Runtime.InteropServices.COMException...

View Article

WPF Datagrid TemplateColumn unable to get textbox to update database

I am binding this to a datatable in code using   dataGrid1.ItemsSource = dTable.DefaultView and have a button that saves the changes using the SqlDataAdapter update method dAdapter.Update(dTable) The...

View Article


Struggling with Name Space to get a Value Converter to Work

Would appreciate help to get this code to work.  I'm using VisualStudio 2012, using WPF with VB.NET.  I have a namespace named MyNameSpace. It's defined at the solution level  It has a number of...

View Article

Automatic resizing of User Control after adding content programmatically

I have a user control (UC) that is placed on a Canvas at runtime. The XAMl looks like this:<UserControl x:Class="GVWpfRenderingEngineStandard.RadioButtonsUC"...

View Article

How to calculate out the to control points of a cubic bezier Curve?

The curve's start point and endpoint is known,all the points on the curve is known,but the control points is unknown ,How can I calculate the control points ?please help me ..

View Article
Browsing all 18858 articles
Browse latest View live


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