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

How to design an WPF application that should look like metro interface?

Hi all friends, I want to develop an wpf app, which I could do but want to develop like an metro interface and its motion while opening forms , buttons, text box, icons which I want to look like an...

View Article


How to insert a CRLF in a XML fil to be read properly by a WPF textBox

Dear all,I have the follwing XML content snipet from a XML file that I created. Thta XML file is a configuration file where text inside gest return and dispplay through...

View Article


Programmatically add column and rows to grid and add the button control in...

HelloI am newer in WPF. I want to create the grid of M rows and n Columns. In each cell I want to add a button control and set its come of the properties. What is the easier code using either any of...

View Article

Add Items to Activity Designer ComboBox depending on selection of another...

Hello :)This is my first post here.I have an activity designer with a collapsed and expanded view. I'm using a Content Presenter to show 2 como boxes, here is a code snippet for the Expanded or...

View Article

Image may be NSFW.
Clik here to view.

MVVM. how to build and display a Menu at runtime

hi,I must build a customized menu and display on the left side of a XAML Window. The result should be the followingeach menu item information (labels, icons) is retrieved from DB; anymore, each menu...

View Article


Need code of dll wpfgfx_v0300.dll

Where can I find the code of wpfgfx_v0300.dll

View Article

Datagrid within datagrid

HelloI have 1 datagrid with a list of students (=dgStudenten).When selecting a student in the list, I would like to open another datagrid with the list of his enrollments. (=dgInschrStud)The data for...

View Article

Image may be NSFW.
Clik here to view.

WPF check image has color or not

Hi,I am using below function to find out that image is colored image or not ? But some how it's returning true for below images as well. Please help me how to find out colored images       It should...

View Article


Image may be NSFW.
Clik here to view.

Fonts, VisualBrush, and DropShadowEffect

The following code copied into a brand new WPF project should reproduce the issue. Here is a screenshot of the result. What causes this behavior? How can I get the red text to align with the black...

View Article


label movements

i am learning WPF......... i want to move a label into a stack panel on click of a button........... please help me.........

View Article

Pass data between Parent Windows with Tabs and Page

I have a parent window which contains a Ribbon Tool Bar and a Tab Control.  Within the tab control, I have several one or more tabs.  The intent is to all the user to open several tabs which will...

View Article

Async await WPF ViewModel Prism

I have a code that is currently working just fine, using Tasks to perform some work. However, I would like to changed it for use async await keywords.public class TransmissionListService :...

View Article

How to access a storyboard within an element resources from XAML?

Consider this code:<UserControl x:Class="MyApp.MyControl" ... xmlns:local="clr-namespace:MyApp" DataContext="{Binding RelativeSource={RelativeSource...

View Article


WebBrowser control has no 'DocumentCompleted' event

Hi.Im trying to do this: WebBrowser webBrowserForPrinting = new WebBrowser(); // Add an event handler that prints the document after it loads. webBrowserForPrinting.DocumentCompleted += new...

View Article

Best Layout in WPF for Redesinging Winform to WPF Form

Hi Everybody,We have application developed using Winforms with lot of panels. We are in need to converting it into WPF Forms, so i would like to know which Layout is suitable for my application since i...

View Article


Image may be NSFW.
Clik here to view.

Disable mouseover color for Grid View and Text Color change in Grid View

I want to disable the mouse over color when a mouse is over a row in my GridView (Example in the picture). I also want to disable the selected color (example also in the picture). Kind of like as if...

View Article

Table break detect end of page Flowdocument

hello,I am a beginner using flowdocument. I am trying to print but before printing I would like to check if what i'm printing will fit on the page and if not should be put to the next page and not be...

View Article


Problem with selecting buttons and textboxes in expander

Hi everyone, please help me in my part of code:) I create an expander in which I have a couple of groupboxes with textboxes and buttons inside. When I run my application and I want to select  concrete...

View Article

wpf toolkit scatter chart print

Hello,I am using wpf toolkit scatter  chart.And trying to print.To print scatter chart is rendered to bit map images.Some time few line in missing in horizontal and vertical axis's.I used...

View Article

WPF XBAP not working: Win 7 x64, VS2012, NET Framework 4.5

Hello,I've built a very simple XBAP application.  See my XAML at the end of the post.When I run in the debugger, or just open the xbap in IE9, the page appears but I cannot click the menu items.  I...

View Article
Browsing all 18858 articles
Browse latest View live