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

New WPF Videos

I just noticed a couple of new videos about recent improvements to Visual Studio and XAML editing that WPF developers could be interested in.You may well be aware of all of these, but you never...

View Article


Image may be NSFW.
Clik here to view.

button with rounded corners

i don't want to learn templates and don't want my buttons to be glossary , i just want the corners of my simple button to be rounded.thousands of examples , not one SIMPLE example of button with...

View Article


WPF line spacing code for richtextbox

using System.Windows.Media.Imaging; using System.Printing; using System.Windows.Xps; using System.Xml; using System.Windows.Markup; using System.Diagnostics; using System.Collections.Generic; using...

View Article

WPF Ribbon theme customization

Hello everybody! Is it possibile to customize the builtin wpf ribbon themes? Thank you very much!

View Article

Ribbon Themes

Does the official WPF Ribbon contain any themes we can use, such as Office2007Blue? I tried using the Office one and it appears it is not available.

View Article


Free WPF Ribbon

How do I get a free WPF ribbon control from Microsoft ??Thanks in advance

View Article

how do I do xxx with the new WPF ribbon

First, let me say a big YAY to the recent release of the update WPF ribbon.  Just started looking through the samples, and it looks pretty good.  Now, I have a couple of questions about things that I...

View Article

MS Ribbon for WPF - How can I change the skin ?

Hello, I'm using the latest version of MS Ribbon for WPF (3.5.40729.1) with Visual Basic 2010 Express and will change the skin of the ribbon. The solution by MSDN (see below) doesn't work, and in the...

View Article


[WPF] How to start a storyboard defined in a style?

XAML:<Window.Resources><Style x:Key="GridStyle1" TargetType="{x:Type Grid}"><Style.Resources><Storyboard x:Key="Storyboard1"><ColorAnimationUsingKeyFrames...

View Article


wpf how do you in a richtextbox highlight a line of text and show the size of...

how do you in a rich textbox highlight a line of text and show the size of the font in a message box

View Article

Image may be NSFW.
Clik here to view.

How to get updated page information through C# WebBrowser when updatePanel...

   I am automating a scenario in WPF using WebBrowser control. Code snippet is as followsstring id = paginationControlProcessing[1].PageCtrl.id;    webDoc.GetElementById(id).GotFocus += new...

View Article

Adding child to node.

Hi, i have a treeview in silverlight.I can add the root with child nodes by doing like this Thing st = new Thing(); st.StatusBrush = new SolidColorBrush(Colors.Purple); st.Name =...

View Article

WPF MVVM monitor directory

I have a WPF MVVM application that has a couple of forms, one that creates files on local disk. When the application starts I need to start Timer that will monitor a folder and send those text files to...

View Article


Image may be NSFW.
Clik here to view.

Modify TreeViewItems - Does not change visually

Hi.I have this treeview, programatically created (adding the nodes)When each child nodes OPC-Tag changes, (it comes with 1 or 0). The OPC-Tag comes in just nicely.And each time the tags updates i call...

View Article

Data binding does not work in XPS

Hi,I'm generating XPS reports in a non-WPF application. Sometimes, the bound data is not rendered in the report and I cannot understand why.The GUI is correctly rendered, but XPS is not. I have...

View Article


Opening new Wpf window from Wpf userControl Hosted in Winform

I have an existing winforms application which we are migrating towards wpf. I have a Winform that loads a Wpf user control, showing a list of items. In that list, there is an edit button that I need to...

View Article

Image may be NSFW.
Clik here to view.

Adding textbox to panel in code

I'm unable to add a textbox to a stackpanel in code.  The label adds OK, just not the textbox.  I would use a Windows control for the label but the "Content" property is not available to me.  I'm...

View Article


WPF datagrid update when click button

Hello. I have a small problem. I have a datagrid with 4 columns (description, date, id and a button for each row). Datagrid is not read_only, so I can modify description cell value.This datagrid is...

View Article

Profiling in a multi threaded application

Hi,We are using a multi threaded C# WPF Application.For the development I am using VS 2013 Express Desktop version.To understand how much time being taken by a piece of code can I use StopWatch Class...

View Article

How to use ViewModelLocator in PRISM 6 (Unity) modules?

We have a small application setup with PRISM 6 and Unity bootstrapper. I want to use the ViewModelLocator to bind a ViewModel to my view. This works in the "base module" (the one with Shell and...

View Article
Browsing all 18858 articles
Browse latest View live


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