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

Image may be NSFW.
Clik here to view.

Creating Transparent User Control

Hello, I am creating a User Control in WPF that shows in a WinForm of my application. The user control has one Grid be default and inside this, I have added five images and one button. When I run my...

View Article


expander with header that is vertical

is it possible to set the expander header to be vertical when we set the expander direction to the right??

View Article


Change the Background color of Rectangel area of WPF Ribbon tab

Hi,How can we change the background color of the rectangle region of WPF Ribbon Tab, its not working if we apply background color for ribbon group, only ribbon group area is getting filled leaving the...

View Article

XPS garbled when send to a phy printer

XPS garbled when a document printed to phy printer . I converter a word2003 file to xps file with xpsdrv. the xps file looks ok. But when I send to xps file to printqueue with .net 3.0,the output is...

View Article

Using canvas path drawing dashed lines in WPF

<Canvas ><Path Width="133" Height="98" Stroke="White" StrokeThickness="2" Data="M61,125 L193,28" /> </Canvas>Wanna make it as dashed line.

View Article


DataContext access to accdb

I am able to connect to an accdb (Access 2007) using WPF. I used the info at...

View Article

Binding wpf window background

HII have several windows for example Window1, Window2, Window3 for my application.  I navigate through them using a UserControl having Menu control with several MenuItems in it.  Each MenuItem when...

View Article

WPF Window call via TextBox.Text!?

Hi!I have a TextBox in that text is Standing the window that i will Show like this: // textBox1.Text = "Wpf001"; Wpf001.MainWindow MyWindow = new Wpf001.MainWindow(); Nullable<bool> dialogResult...

View Article


Font cannot be rendered in WPF

My WPF application is having a front drop-down menu that lists all available fonts, displaying the font name with the fotn itself, as is usual in many applications. In order to avoid crashes, I only...

View Article


Bluetooth Low Energy API's with WPF

Hi!My aim is to connect with a bluetooth low energy device that has a custom defined profile from a C# WPF application from "windows 8", and eventually from windows 7 as wellI would like to know1)if...

View Article

Canvas ellipse with dotes or vertical line on that line

<Canvas Width="200" Height="200" Background="Black">                        <Ellipse Height="20" Width="20" Stroke="SkyBlue" StrokeThickness="2"  Margin="90" StrokeDashArray="4...

View Article

Filling in all adjacent paths which are having same fill brush color:

HI,I want to iterate this for whole number of sectors and zones and fill colors in the adjacent path where we clicked in which fill brush color is same.I want to fill color in all adjacent paths which...

View Article

Image may be NSFW.
Clik here to view.

Fill color in adjacent paths.

HI, How can I check color with adjacent path's fill color is same or not. If it is same then it has to go next adjacent path and so on. If not same it has to be end checking and then fill all checked...

View Article


Requested registry access is not allowed when using elementhost in windows...

I'm using VS 2012 for maintaining windows forms application. Recently we upgraded to .NET 4.0 framework and started using some WPF controls. The problem is when impersonated user is logged in an error...

View Article

table of .mdf database file didn't display inserted or modified record

Hi All.I add Service-based Database ABC.MDF file and connect it to project. In database I created table and stored procedures. And base on it create table adapters in dataset and bidden form to it. The...

View Article


Why popup in wpf is indepentate from parent window ? As if i pressed alt+tab...

I have a popup window on my  window ( i used popup because i need to see on the top of my window) when i pressed alt +tab then my window is deactivated but still popup control is not. i need to do...

View Article

WPF WebBrowser control can not open a new window

how to open a link with the property target="_blank" in WPF WebBroswer control?so when I click the the link, the page will be replaced by the target page. 

View Article


How to place tab stops in a ListBox in WPF?

With <ListBox x:Name="gLBxContents" /> in an xaml, how does one place tab stops in that ListBox?bhs67

View Article

how to get the reference of a savefiledialog from its process id.

I am having a c# program downloading a file using auto login functionality from a website... I am able to get the SaveFile Dialog window handle which is hWnd...I got the process id from hWnd...how can...

View Article

Image may be NSFW.
Clik here to view.

How to properly render large bitmaps in WPF?

I did not expectRenderTargetBitmap.Render(visual) to have any side effects excerpt changing the bitmap data itself. It looks like it is not true. I am unable to repeat it more than 60 times before...

View Article
Browsing all 18858 articles
Browse latest View live


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