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

Change WPF Border content visibility on MouseOver

<Border HorizontalAlignment="Left" Background="#BFC0C2" VerticalAlignment="Stretch" ><Border.Style><Style><Style.Triggers><Trigger Property="Border.IsMouseOver"...

View Article


ViewBox Resolution Problem

Hi: I´m developing a WPF application and I need that it fits to any screen resolution. I´m using the ViewBox control with Stretch property in Uniform mode. Also, the screens have several DockPanel...

View Article


XpsDocument does not writing visual elements alignment properly with shadow...

I can't get any online solution for this specific issue. Please suggest any solution to generate xps of the Textblock with shadow effectI am creating XPS file.I have created a canvas from CreateCanvas...

View Article

Drag and drop not working in WPF designer

I've started a new WPF project/solution on a network share using UNC path.  I am unable to drag-n-drop from data sources to a WPF grid; however, if i create the project/soltion on my local C: drive,...

View Article

How get sender objet when my method dont receive it?

Hy,I have this method :protected override void OnTouchDown(TouchEventArgs e) Here how i get object sender?Thankswww.Photoballot.net

View Article


WPF: DataGrid: Using CellEditEnding to Move Cursor Back to Previous Cell

I have a WPF DataGrid, and have created the CellEditEnding event handler. Not hard.For my Alpha column, I check the value when the user tabs to the Beta column. If the user enters a valid value, then...

View Article

Interactive 3d editor

Hello I have to develop an intractive (3D) application (using C#) where user can drag planes, Points, lines, traingles on a 3D Editor.My question is: are there any open surce examples for 3D engine or...

View Article

How to Show / Hide Scrollbars in new 3.5 SP1 Beta WPF WebBrowser Control

I've happily installed the latest Dot Net Framework 3.5 SP1 Beta. I'm using the new WebBrowser control, however I need to be able to hide and show the scroll bars depending on what content I show.I've...

View Article


Need to navigate from application.xaml.vb! Please help

I currently have an application built, and I added code in the application.xaml.vb file to capture a keydown event in every page. Basically, this will capture the data when a barcode scanner is used on...

View Article


Targa Image

Hello,I'm using .NET 4.5 and WPF and I need to open Targa Images (.tga). I don't found any library or example of how to open it.If anyone can help me I thanks.Best Regards, ADAE.

View Article

Image may be NSFW.
Clik here to view.

DataGrid Row Details Template left content area of DataGrid

Hallo together,as you can see in the Picture below I have a big problem with my implementation of DataGrid RowDetailsTemplate. The red line be the border of another control. I belief I'm alone, because...

View Article

WPF Interactive Map with Surface SDK & ShowMessageCommands Routed

I'm trying to create an interactive map where the user taps on a space/building/area and Scatterview Items open up. So far I have the basic functionality working, but now I want these scatterview items...

View Article

key down event in wpf textbox

i want a task in wpf textbox to accept only delete and back key and it should not accept digits and chars on keydown eventPlease Let me know the solutionEfforts may fail but don't fail to take effort...

View Article


Language folder in bin/debug

When I compile my project, it generates a few language's folders in the bin/debug. I think has something to do with a reference of Microsoft.Expression.Drawing Microsoft.Expression.Effects...

View Article

MVVM update TextBlock

I am trying to learn MVVM.In the MainWindow I have TextBlock for Customer # AND TextBlock for Customer Name.I also have a menu.and I have a datacontext for the menu...

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

WPF app does not find resources inside embedded DLL when there is a config file

Our WPF app is spread over several assemblies, which we embed in the mainApp.exe, using the recommedations from a few blog...

View Article


WPF fixed image

I'm starting in WPF and I'm developing an application that has a background (.png) applied as follow:<Border.Background>'<ImageBrush ImageSource="final.png"...

View Article

XMLDataProvider Not Updating Source

I have a WPF application which contains a ScrollBar, whose Maximum, Minimum and Value properties are bound to XML data.My partial XML is:<?xml version="1.0"?><Settings xmlns=""><Charting...

View Article

How to change a DataGrid cell's background color using a converter?

I have a DataGrid that I want to change some of the cells' background to indicate an error condition. My first attempt to do this has not been successful.In XAML, a converter has been declared plus a...

View Article
Browsing all 18858 articles
Browse latest View live


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