How identify all possible combination keys in condition?
I have a string property in settings.setting named "ShortcutKey" which binded to a textbox to get shortcut from user. Also I defined a global hotkey with keyboard hook that every time user press the...
View ArticleWPF Cusom Window Bug
I wrote custom window. That already handle wm_getminmaxinfo to prevent taskbar dissapearing. But on tablet after screen rotate to portrait there issue with invalid size. Something...
View ArticleA WPF app we wrote is now telling us there's a security problem. Could it be...
We've got a WPF app we wrote a few years ago. Today I went to add a Shared Project to it, so that we can reduce some of the duplicate code we've got going. (You know, eliminating some of that DRY.)...
View ArticleRecommendations for a browser-like tab control
Hello!I'm wanting a tab control that allows the user to reorder the tabs and drag them outside of the control to create a new window where other tabs can be dragged to and from.Does WPF already have...
View ArticleAdding a WPF UI Element to the Winform Grid Control Panel throw...
Hi,We have a CRM VSTO Add-in for Microsoft Outlook, which displays a custom task pane which has a WinForm control inside a WPF form/control as one of its functionalities. But, since after Version 1812...
View ArticleAdding a WPF UI Element to the Winform Grid Control Panel throw...
We have a CRM VSTO Add-in for Microsoft Outlook, which displays a custom task pane which has a WinForm control inside a WPF form/control as one of its functionalities. But, since after Version 1812 and...
View ArticleHow can I set the value of the StaticResource to a DynamicResource?
I am coding a custom control and I want to make an animation to set the width of the control to the {DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}} However, WPF threw an...
View ArticleListViewItem background color change based on color picked from color dialog
I am dealing with a ListView. The ListViewItems are different Log Items. I have an option in which I can change the background of the certain items of similar log type in the listview based on color...
View ArticleSwipe Up Down WFP
Created WPF Application? and dont know how make swipe event on one page. But I need Keep it all in Frid and Scroll ViewerXMAL<UserControl x:Class="MyHandLib.Pages.Dir_Content"...
View ArticleHow to enable/disable comboBox items for different comboBoxes in wpf by click...
Hello. I create a project using MVVM pattern. I create a wpf form with comboBoxes. In ViewModel I create ObservableCollection for ItemsSource for comboBoxes with string values:public...
View ArticleDataGrid bug with cell style and removing selected item
I have DataGrid with ItemsSource bound to ObservableCollection in ViewModel. DataGrid allows multiple rows to be selected. ViewModel subscribes to an event (from some service) and handling that event...
View ArticleWPF TOOLKIT CHARTS
Hi. I have a question about wpf toolkit charts. In the left side on Y axis I want do display my own enum type values and not double values. I want also to remove the right side where is written the...
View ArticleBinding to DataContext not Working
I have a wpf window that displays tasks. The user clicks on a task in a TreeView control then other controls (TextBox, ComboBox, etc.) shows the various properties of the selected task. I have...
View ArticleHow to vertically scroll text withing a portion of a window
I'm brand new to WPF so forgive me if this is something trivial...I want to be able to scroll text vertically within a window but only have it visible when it passes through a defined Grid Row.I've...
View ArticleMVVM ComboBox Text binds fine but ID does not
=================================================== xaml =================================================== <Window.Resources><local:Database2 x:Key="db2" /><local:Server x:Key="sv"...
View ArticleHow to resize Datagrid binding a Datatable (WPF) to show more columns instead...
I have a simple WPF window showing a button, TextBox and DataGrid . The DataGrid is filled from a multi column DataTable (reading an Excel sheet) with databinding : dg.DataContext:=dt.DefaultView. I do...
View ArticleBinding to Content's property!
I have a control in which the content is loaded at run time.It looks like this: <Style TargetType="{x:Type local:myControl}"> <Setter Property="Template">...
View ArticleC#, Mvvm light, WPF , INavigationService Implementation and using
Hello, I'm using Mvvm light in order to develop a WPF application. I wont to navigate between different pages using InavigationService bu don't know how to implement it. actually i have a cmbobox in...
View ArticleHow to capture the content of the main window on a bitmap. WPF
The program below displays some pictures and has some buttons to manipulate the visibility of that pictures. Wat i want is to capture only the content of the main window of the program on a bitmap (not...
View ArticleHow can I update the treeview items as I possibly remove some of them?
I'm trying to implement to implement a treeview winforms-like with the dotted lines connecting the nodes, but I'm having to problems. The first is that when I add a node with that parent node expanded...
View Article