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 ArticleHow 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 ArticleProgrammatically 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 ArticleAdd 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 ArticleMVVM. 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 ArticleDatagrid 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 ArticleWPF 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 ArticleFonts, 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 Articlelabel movements
i am learning WPF......... i want to move a label into a stack panel on click of a button........... please help me.........
View ArticlePass 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 ArticleAsync 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 ArticleHow 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 ArticleWebBrowser 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 ArticleBest 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 ArticleDisable 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 ArticleTable 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 ArticleProblem 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 Articlewpf 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 ArticleWPF 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