Wpf Window width showing wrong values
After minimize and maximize the WPF window, the maximized width is visually filled in the Display monitor. The same time Width property of that window showing wrong values. (Visual monitor width is...
View ArticleDataContext not working after clearing Datatable .
I have been trying to use Datatable as DataContext for my XAML UI which has various textbox controls with Binding to various fields of DataTable.My code snippet while intial loading look like...
View ArticleWPF PropertyGrid with DropDown
Hi,I'm new to WPF and I want to dispaly my Person Object in the PropertyGrid control, my problem is how to use a dropdown to edit a specefic property. I searched over the internet, but could not find...
View Articlehow to bind style element property to style property?
hi.this is my code:<Style x:Key="imageColorStyle" TargetType="Image"><Setter Property="Tag"><Setter.Value><SolidColorBrush...
View ArticleRibbonButton pixelating
Hi thereI'm quite new to WPF and have run into a problem with a RibbonButton that I hope you guys can help me with.The code is as follows:<ribbon:RibbonButton...
View ArticleCalling unmanage code from WPF 4.5 cause problems
Hi all of you,I'm using this code in order to remove close button in one Window object.Imports System.Runtime.InteropServices Imports System.Windows.Interop Partial Public Class Rendimientos Inherits...
View Article3DTools reset transform
Hi, I'm new here to the ms forums. I've been having fun experimenting with the 3DTool http://www.codeplex.com/3DTools which is quite a useful addition to Viewport3D! At this point I can animate a globe...
View ArticleWPF Ribbon Application Menu Question
Hi All,I would like to kindly ask you for advice. I'm trying to make a ApplicationMenu which will be visible or not, depends which page is loaded to the form.<ribbon:Ribbon...
View ArticleChanging styles results in: name cannot be found in the name scope of...
I am creating a textbox style that extends the Custom Picker Demo in order to implement validation. If a user were to to enter an invalid date, an error icon pops up that provides tooltip...
View ArticleWPF DataGrid collapse all expander groups
Hello Guys!I have a problem with collapsing the expanders from a grouped data in a WPF datagrid.I followed the solution here, but it only collapses the expanders that are visible in the datagrid.I have...
View ArticleOpenFileDialog hangs when clicking an item in Tree View(ie: pictures,music..)
Hi,I'm developing a WPF application and I need to use the Openfiledialog class. OpenFileDialog launches fine and I can navigate through any file without any issue except for the Libraries option under...
View ArticleWPF adding control with using code behind
I have wpf control like this as Singleton control public class ImageController : GraphicController { public ImageController() : base() { // some code // }...
View ArticleListbox.selectedItems only contains items that have been displayed on screen
Dear AllI would like to ask for is listbox.selectedItems only contains items that have been displayed on screen?In details, I modified listbox with my own template binding Text to code and IsSelected...
View ArticleHow to get the relative path of a file--WPF
I am trying to display fixed documents in a WPF application. I was able to do this with both DocumentViewer and WebBrowser controls. But I had to use the absolute file path to get each to...
View ArticleWhen Drag-n-Drop file (FileDrop), the indicator doesn't change [VS 2013 Preview]
I do drag-and-drop operation for Excel files, so I wrote the following handler for DragEnter (Window): Private Sub OnExcelFileDragEnter(sender As Object, e As DragEventArgs) Handles Me.DragEnter...
View ArticleOpen New Tab control in MVVM
Hi,I am working on a new WPF application in MVVM pattern. I am using Josh Smith's for all my interactivity with RelayCommand.I can add as many commands/buttons as I would like on a MainWindow.xaml...
View ArticleWhat does the error "The AssertApplicationRequirements method either did not...
Hello,I have a XBAP application developed using Microsoft .NET Framework 3.5. On several computers where the application functioned up until today, ClickOnce displays the following error when new users...
View ArticleNavigator inside WPF
Hi all of you,One the customer's requirements consist in show a navigator window in the same main XAML page. Is it possible?I'm developing WPF desktop appThanks in advance,Primary platform is Windows 7...
View ArticleFaster way: Watermark on textboxes (WPF)
hello fellas,I'd like to use Watermark on TextBoxes such the ones that I used to use in SilverLight.Thanks in advance,Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF and...
View ArticleWPF 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