Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.
0
votes
0answers
3 views
Is it possible to test for an interface implementation using EnvDTE.ClassInfo objects
All,
I have a T4 template that generates boiler-plate code that handles my property-changed notification and automatically registers dependancyproperties for me based on attributes I have assigned to ...
0
votes
0answers
8 views
Modify a pixel of an Image Source and reset the Image Source
I am trying to write a genetic algorithm which involves having individuals modify the canvas they are moving around on (all individuals are moving around on the same surface). How can I get the image ...
0
votes
0answers
4 views
How to query a database using CollectionView's own filtering support?
I'm learning WPF for one of our projects. The software we are writing generally connects to databases with thousands of records. Let's say I am using a ListView for showing these records, but I don't ...
0
votes
1answer
22 views
Add Printing feature in a class dynamically
I am developing an Invoice Application.
I am using MEF to have a modular approach.
I have created a module (PlugIn) for Printing which Prints document to Printer.
Now, my question is
There is a ...
0
votes
2answers
22 views
Updating two view UI Elements within the same event handler produces erratic results
I have a small program that is not much more than a stop-watch that runs and updates a view. Every 8 seconds the stop watch will increment a counter also on that view. So at 0, 8, 16, 24 seconds ...
1
vote
1answer
34 views
How to set Trigger from parent property to set child property
I keep going around in circles on this data trigger so it is not working...
I have a button that has a border for a default dropshadow. However, I want to create a dep property to be used to toggle ...
0
votes
0answers
11 views
Change image inside CheckBox for null value
I have a DataGrid, of which 1 column is a bool and I display that as a DataGridCheckBoxColumn. I would like use a different image than the default for null values (grey checkmark in Windows Server; ...
0
votes
0answers
8 views
Add JumpList customized category with check box
Basically, I want to add a JumpTask into the Jump List context menu that allows the user to toggle the TopMost property.
Essentially I just want an entry that has a check box to turn the TopMost ...
0
votes
1answer
12 views
How do I make a WPF Image control to have same dimensions as its (BitmapImage) Source?
I am designing a View in XAML, and somewhere in the layout there is an Image element, which will be put inside some combination of ViewBox, ScrollViewer and Inkcanvas (not sure about the order yet). ...
0
votes
0answers
7 views
wpf slider drag -raising property updates frequenlty
i have a item template with
datacontext=viewmodel
Xaml part
<slider value="{binding currentvalue"} />
<textbox value="{binding currentvalue"} />
the objective is to allow ...
0
votes
5answers
65 views
WPF UI is not updating
I have developed a simple wpf application using MVVM model and code as below.I debug the code and found that collection is updating but UI is not updating even I don't see any record in listbox.
EDIT
...
0
votes
1answer
15 views
Wait till Windows Media player ends?
I'm so close to complete my program but I have a question.
Is there anyway that I can pause the loop till All files in Windows Media Player has been played.
like in process example:
...
0
votes
0answers
24 views
Wpf lines not displaying properly
I am trying to display multiple UserControls that i designed in wpf but their lines are not showing correctly
theres an image to describe the problem:
heres the xaml code i used for drawing the ...
1
vote
1answer
13 views
WPF, Active Directory and Custom Role Provider
I have a WPF client/server application using WCF on the server side. It is presently unsecured and I'm wishing to secure it for a userbase on my Active Directory. The application should host it's own ...
0
votes
0answers
7 views
How concat multiple TextRange object to RichTextBox?
I have multiple object, of TextRange type. Something like this:
Change color and font for some part of text in WPF C#
But I can't concat them....I need concat to assign to the DataContext ...