Binding and Async Operations
have created a Window with a TextBlock inside. I have bound the Text property and everything works fine. BUT When I change the bounded property while inside a Task then nothing works!! Do you know...
View ArticleTextBox Text is not editable or selectable in customcontrol
Greetings,I got a custom control which displays the weight of a Vertex in a circle. I build this with a boarder which contains a stackpanel. This stackpanel keeps the textblock. The TextBlock.Text...
View ArticleError: "Value cannot be null and Parameter name: window"
A Window1.xaml file reads as follows:<Window x:Class="WpfApplication1.Window1" xmlns="as usual" xmlns:x="as usual" xmlns:rtf="clr-namespace:RTFEditor;assembly=RTFEditor" Title="Window1"...
View ArticlePopup mouse enter/leave flickering
My popup has button in it (just to test). When I move the mouse over the Panel inside the WindowsFormsHost, I show the popup. When the mouse leave that control, I close the popup. The problem is that...
View ArticleIValueConverter Issue
I am using a FileToImage converter to display a image based on the file extension.Everything works for normal extensions, but if the filename has a extension that is not in the media folder of the...
View Articlereference png images WPF project
I wanted to reference Images into my visual studio project. Images are stored in "Images" directory. Is it possible "Images" directory outside the visual project, solution etc and just add a Link of...
View ArticleItemContainerGenerator Recycling Problem
Hi,I am trying to use Recycling within my custom virtualizing panel.Here is my code:protected override Size MeasureOverride(Size constraint) { ... // computatons of firstVisibleItemIndex...
View ArticleCan't get a ListBox to work on a splash screen?...
Hi,I download this project Prism Splash Screen Module from CodePlex and I have it working for myMEF application, but I found that only the TextBlock control works. I can't get aListView, TextBox,...
View ArticleHow to handle event when any cell has been modified in data grid using MVVM...
Hello,I have a data grid. I have to handle event when any cell has been modified. I need to do it in MVVM application (so I don't want to use code-behind). How it can be done? Is it possible to use any...
View ArticleHow to init Style type property in sample data source
I have a viewmodel with Style type property and want to create sample data source to get view in designer. I use Application.Current.FindResource("CustomStyle") to define property in code behind, but...
View ArticleHow do we make read only all controls in a tab control?
We're working with VS 2012, .NET 4.5. There will be times when we've got to prevent the user from adding or editing data on the user controls that we're writing. Our user controls will all have one...
View Articlewpf multitouch slider
Hi,I'm creating a virtual midi controller to control software like ableton and cubase. The first version was in winforms and it works fine but doesn't support multitouch. So I created a new UI with...
View ArticleSaving Image(Or a video) Processed using Pixel Shader
Hii,I have created a small effect using pixel shader and applied it to a image usingWPF in c#.Everything works fine but now i am stuck with this final step.How to actually save the image ,after pixel...
View ArticleHow to follow a textbox caret??
hey,i've implemented a TextBox into a Style and so it is impossible to use any kind of mehod's. The TextBox is displayed inside alistview like inside an ordinary FileBrowser Application. You can change...
View ArticleGet automation id of selected control
Hi, I'm trying to automate wpf excel addin,Is there any way to get selected items(mouse click) automation Id and its childeren.Or please suggest any tool which get automation id of clicked item...
View Articlehow to uncheck check box of datagrid column header
I am using two datagrid.first datagrid contains items with checkbox, upon checking checkbox corresponding data will appear in second datagrid(this datagrid column header and rows contains checkbox)...
View ArticleWPF DataGrid ScrollIntoView to Top Row
In Visual Studio 2012 I have created a WPF window with a DataGrid that works great. I am trying to reposition this DataGrid to move forward to a specific row. I can select the row and use the...
View ArticleValidationEngine for attaching Validation Binding for entire WPF Application
Hi,I want to create a ValidationEngine which would bear following responsibility;1. Bind Validation Rule to entire Control in a WPF Application 2. Explicit calling for any Validation.3. Provide a...
View ArticleHow to trigger OnClick mouse and keyboard event in xaml
i have two button in window. onclick of first button i want to trigger onclick event of another button in xaml. How i can write it.I am trying to define storyboard inside eventtrigger.action. It allows...
View ArticleImages are not displaying in WinPE 4
Hi. I am having troubles displaying any images in a WPF application that is executed under WinPE 4.0 (.Net package is installed and application runs fine).App runs fine on normal Windows machines but...
View Article