Quantcast
Browsing all 18858 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

TextBox 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 Article


Error: "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 Article

Popup 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 Article

IValueConverter 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 Article


reference 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 Article

ItemContainerGenerator 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 Article

Image may be NSFW.
Clik here to view.

Can'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 Article


Image may be NSFW.
Clik here to view.

How 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 Article


How 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 Article

How 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 Article

wpf 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 Article

Saving 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 Article


How 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 Article

Get 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 Article


how 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 Article

WPF 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 Article


ValidationEngine 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 Article

How 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 Article

Images 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
Browsing all 18858 articles
Browse latest View live


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