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

Drag and drop not working in WPF designer

I've started a new WPF project/solution on a network share using UNC path.  I am unable to drag-n-drop from data sources to a WPF grid; however, if i create the project/soltion on my local C: drive,...

View Article


Design DLL references Microsoft.Windows.Design.Extensibility.dll for VS2010,...

Hi, our control DLL is packaged in an assembly X.dll and we also provide the designer assembly X.design.dll (which actually just says which controls are toolbox items).X.design.dll has to reference...

View Article


Can a custom dictionary file be in "C:\Program Files"?

We've got a custom dictionary to handle many of the domain specific terms for our business. When users get into textboxes, we don't want them to be warned that terms that are common to our...

View Article

WPF UI Thread Slowdown

Hi - I've written a fairly rich graphical application for one of our company's products, and I'm encountering a very strange issue that I'm hoping someone might have some insight into.  This is a bit...

View Article

Image may be NSFW.
Clik here to view.

can a WPF view and all controls/content/text be dynamically resized by user...

Here is a basic winformcould someone show me some sample xaml code to recreate this form as a WPF view but make it so that I can dynamically rezise the label and text when I stretch the form or shrink...

View Article


Asynchronous socket begin accept callback not firing

Hi,  I am using Synchronus and asynchronous sockets together. Since large file tranfer can be done only through the asynchronous socket (as i understood through the examples i gone through), i am using...

View Article

HwndHost, DirectX 11 and WM_PAINT behaviour difference between Windows 7 and 8

I have an application that has a subclass of WPF HwndHost. This sub-class  overrides the HwndHost::BuildWindowCore method and creates a native HWND. I then create a D3D 11 swap chain using that native...

View Article

Proper way to instantiate a method in another file

This is a variation on the newbie question about, "An object reference is required for the non-static field...."I'm implementing Gustavo Franco's A* C# code (from here). I need to call his method (in...

View Article


How to access a named control inside a XAML DataTemplate (using XAML)

Hello All,I have a situation where I need to access a data template control from  parent control. following is the code snipped.Look at the Bold Sections. <TabControl Margin="5,0,0,0"...

View Article


Control Clone problem

Hi,I have a usercontrol in which i have Datagrid ,  i want to show this Usercontrol as Preview , that's why instead of making two different controls i cloned existing usercontrol to show it in preview...

View Article

When Combobox is open, Its editable TextBox selects first item automatically....

Hi, I have a custom Style of ComboBox. It is having PART_EditableTextBox.Where I am using this combobox, I make it empty initially. Whenever user types something, I am opening this ComboBox and...

View Article

Image may be NSFW.
Clik here to view.

wpf ribbon button group query

Hi All,    I am facing a  difficulty in arranging wpf buttons in a group, as we see in Microsoft Word 2007/2010.I want to place the set of buttons together, as seen above in the case of Bold, Italics...

View Article

Problem in expander toggle button in wpf

Hi,      I want to put toggle button in right hand side but expender header in left hand side..i used flow direction but expander header also viewed in right side... please help me..My...

View Article


LayoutTransform and ScaleTransform; CenterX/CenterY not working

I have an image I am scaling with a ViewBox, setting LayoutTransform to a ScaleTransform. My XAML looks like this:            <ScrollViewer                       x:Name="m_SiteImageScroller"...

View Article

My Standard DatePicker showing in Latin

Hi,I am trying to add DatePicker control to one of my UserControls using MVVM.  But for some reason it shows (I think) in Latin, definitely not English.  My Windows 7 is set to British English...

View Article


XPS printing issue in Win 8

HelloI have developed a wpf application. I have installed that application on many PCs. Everywhere it's printing functionality is working fine except one Win 8 machine (not a development machine.). On...

View Article

FileIOPermission for Partial Trust to read files in BaseDirectory

For practice, I'm writing a partial trust WPF C# application using VS 2010. The program involves some sound, so I've provided some .wav files in the program's base directory.To avoid problems at...

View Article


WPF 3D using Viewport2DVisual3D

HelloI am new to WPF & 3D so I hope I'm in the right place to ask this question,I am trying to control (the size and the location) of 2 simple buttons after placing them inside Viewport2DVisual3D.I...

View Article

How prevent SplashScreen flicker?

I've set up a splash screen without writing any code (I simply set "Build Action" property of image to "SplashScreen" in Visual Studio IDE). This is great, but there's an annoying problem -- the splash...

View Article

Import 16 bit png to .net

Is there a way to import a 16 bit greyscale png without truncating to 8 bit so user can write code to map to 255 grey levels from the original 16 bit data?

View Article
Browsing all 18858 articles
Browse latest View live


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