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

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


Binding problem when different ViewModels are used

Dear Reader,I am facing problem when binding a static data for a ComboBox ItemSource and then binding a SelectedItem to the actual viewModel. The code looks as follows<ComboBox ItemsSource="{Binding...

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

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

How can to change listview particular rown and column color?

I am using WPF and binding the data up.How can I change the Jointcolor = "Red"that row and column to the color RED? Thanks !! listViewLegend.Items.Add(new { JointName = "Head", JointColor = "red" });...

View Article


How to create a program like the pen tool in ps or blend?

I need to achieve the feature that  can choose the special area in an image.like the pen tool in ps or in blend .

View Article

wpf windows grid

I have created a project where I use a datagrid and IValueContverters which has poor rendering issues of minutes.I am wondering if I can create a grid dynamically and add the values to a cell row...

View Article

WPF Browser application ?

hi all,   I want to create a WPF browser app that allows users to save information into the browser. For instance, there will be several text boxes asking a user to enter their Name, Address,etc. Then...

View Article


Specifying Duration for a multi-part animation

In WPF using C#, I want to specify the Duration for each part of a multi-part animation of an object. If I use multiple figures, I cannot specify Duration for each figure because a Figure does not...

View Article


WPF Button Disabling and Text Input Validation

I have a dialog box that a user enters some input and then it adds that value to another listbox.  In doing so, I am trying to use Validation and have the "Add" button disabled until the user enters...

View Article

How to change color of an image,but keep the texture of the image .

Now, I am developing a color change software, User choose a color  and choose an area in the image ,then the choosed area's color change to the new color , but  when changing color ,how to keep the...

View Article

Retrieve View info from DataTemplateSelector

Hi,maybe this is a trivial question for many of you...My app has a TabControl defined as:<TabControl ItemsSource="{Binding Tabs}" SelectedItem="{Binding SelectedTab}"><!--Bind the...

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


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

Set design size for WPF ControlTemplate in Blend

I've been looking for a way to set the "design size" for ControlTemplates in Blend, similar to the way you can set DesignWidth and DesignHeight for Windows and Pages. I have a custom control I'd like...

View Article


Keyboard access to wpf menus bypasses Control Box menu.

When I press F10 and the ARROW buttons to navigate my wpf menus, only the left-aligned menu items are accessible. The right-aligned menu item is not. Neither is the standard Control Box menu on the...

View Article

Binding and Run Question / Problem (would this be a framework version issue?)

New to WPF (using VS2008).  I was lucky enough to get some code samples from a responder to a previous wpf question I asked.   Most of the samples worked, but I ran into a problem with the following...

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

Collapse all Expander Groups in a grouped Datagrid with Virtualization

Hello guys!In my app i have datagrid that can group data by columns. I want to make a button to collapse all Expanders groups and other to expand all expanders groups.This is my datagrid group...

View Article

Performance issue on DataGrid

Hi,I searched similar threads here before submitting mine, but the difference I am experiencing with the rest is that I only have 15 rows and Not 5000.  I have user controls displaying as tabs on main...

View Article
Browsing all 18858 articles
Browse latest View live


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