Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.

learn more… | top users | synonyms

0
votes
0answers
9 views

WPF stop click event on MainWindow if backgroundworker on page1 is true

WPF vb.net desktop app. I have a simple layout for testing. A MainWindow, btnMain, frame1, page1 and btnPage1. If btnPage1 click event is busy with a background worker (which is downloading ...
1
vote
2answers
17 views

How are you meant to declare a Dependency Property?

I was reading a tutorial on how to make a parametrized style (here). In it, it uses some dependency properties. It declares them as such: public static Brush GetTickBrush(DependencyObject obj) { ...
0
votes
0answers
5 views

How to send selected value from datepicker in resource dictionary to dependency property in a WPF?

I have a resource dictionary which has dependency property like that: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...
1
vote
1answer
16 views

Windows Within An App

My C# WPF application has multiple windows, which may be open at once. One of these windows is for Notifications, and must remain Topmost (or like), until it is acknowledged. The problem I am having ...
0
votes
1answer
13 views

How to overlay white text on a white background in WPF so that it is viewable

My WPF VS 2008 application is working with many different images that are assembled and displayed at runtime. I would like to display some white text on top of those images. My problem is that some ...
0
votes
1answer
37 views

WPF CanExecute Constantly Requerying

I have a property IEnumerable<MyObject> MyObjects in a ViewModel. I want a certain command in a second view model (that references the first) to be executable when MyObjects is populated with ...
1
vote
1answer
23 views

In WPF I can't see whats wrong with my C# Storyboard and DoubleAnimation

Im attempting to create a storyboard in C# not XAML to control scaling of an image, so i can easily alter the ScaleTransform.ScaleX and ScaleTransform.ScaleY values in a DoubleAnimation. So far I ...
0
votes
0answers
9 views

WPF - SQLite - Datagrid - Datatable syncronization

I am attempting to get an understanding of the best methods to combine a SQLite DB, and a WPF DataGrid bound to a DataTable. I am able to get the grid bound to the table but I am not clear about how I ...
2
votes
0answers
10 views

How is the DataContext of a ControlTemplate set?

I am setting the ControlTemplate in a Tile control (in the Telerik TileList). It looks something like this: <ControlTemplate TargetType="{x:Type telerik:Tile}"> <Border> ...
1
vote
1answer
18 views

WPF RichTextBox change font color inline

I've searched for a while for this solution, so now I'm posting here. Right now I am able to change the foreground color of the whole RichTextBox: yourRichTextBox.Foreground = Brushes.Red; I'm ...
0
votes
0answers
13 views

Master-detail in XAML with - managing ListView selection through binding/commands whilst allowing cancellation

I'm attempting to build a WPF application for demonstration that follows the best possible MVVM practices, and I've found quickly that I'm not sure what the best practices are! :) I have a specific ...
0
votes
1answer
26 views

Delivering SQLServer based app on client System

how can i manage connection string of an ADO.net Object model dynamically? i have connected my application to database using Entity Framework and connection string is automatically added to ...
-1
votes
0answers
13 views

pass values from one wpf page to another

I have a three wpf pages 1) home screen page - this page calls email page 2) the email page has a address book button which in turn opens the address book page. I want to pass some email address from ...
1
vote
1answer
22 views

C# WPF - Build issues between Windows 7 & 8

Has anyone else found issues when building a .net4 C# WPF application in Windows 7 and then Windows 8 using VS2010? For example, I have XAML TextBlocks bound to a DataContext, and when building the ...
0
votes
0answers
15 views

VisualBrush size and stretch problems

I would like to export a grid (whit all his children) to a PNG. The problem is that some of these children are outside of the grid. Here is my code: VisualBrush sourceBrush = new VisualBrush(MyGrid); ...

1 2 3 4 5 4391
15 30 50 per page