When mouse is moved over WPF ComboBox drop list, it creates a temporary...
Background:My application contains multiple top level windows; each top level window is divided into multiple panes (say Pane_1, Pane_2, ...) which are UserControls (user defined type: MyControlPane)....
View ArticleWPF Datagrid Manually change values Update issue
Hello guys,Can't find a solution on the below issue.I have a datagrid in WPF. When the user changes manually the values of the columns "Units" and "Unit Price" I want an automatic calculation for the...
View ArticleSVG file manipulation in WPF
I have a .svg image file and i need to read and maniplulate the this image dynamically (need to edit the image every 2 seconds). Iam using WPF application and i need to bind this to image control in...
View ArticleWhy does ListBox require a DataTemplate to display item names correctly?
I have a WPF ListBox bound to an ObservableCollection of IProducts. If I specifyDisplayMemberPath="{Binding Path=IProductName}"As part of the ListBox definition in XAML, I get a list of items that...
View ArticleSetting a property of a usercontrol to a static resource...
I have some functionality in my project that, in the interest of speed, I just cut and pasted to the places I needed it. It's a bit of XAML and code that manages a document list. Now that I have a bit...
View ArticleIs it possible modify the code that creates the Calendar control?
I know how to edit the calendar style to add new elements to the control. But by the moment I only know how to add new elements or delete elements, but I would like to modify an existing element.My...
View ArticleCustom Button using triggers and updateable image
So I have a custom button with an image and MouseOver trigger defined in XMAL. It looks fine, but I would like to be able to change the image when I place my custom button on my window control. Not...
View ArticleWhy do I get the error the visualtree can be only set once?
I add a custom control in my project and in the axml I have this code:<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View ArticleSelection by custom caret
I have made a custom usercontrol which consists of a textbox and a canvas which acts like the caret. The XAML code for the control looks like:<UserControl x:Class="MadminToolbox.MInputbox"...
View ArticleHow to switch database from another class?
Good day,- I have created a DataGrid table when I read data from database - Database.xaml (+ Database.cs)- This " data reading " I have in another class ... ... using O = System.Data.OleDb; namespace...
View ArticleMVVM WPF service not able to serialize Windows.Form.Menu
I have a WPF MVVM application I'm trying to return a complex data class thru a web service but unable to update the service when I have this complex data class in one of the methods. The data class is...
View ArticleDate is changed in DataGrid when selected entity is passed to another window...
Hello, everyone.I have the following situation. There's a DataGrid in main window with flights bound to it. I have button which sends selected flight into helper window to edit this flight. Here's the...
View ArticleDatagrid
hello ... i have a problem with datagrid how do i loop inside of the datagrid and insert to my database .. some of the syntax are errors .if you have a any idea i will appreciate that and test if...
View ArticleGridSplitter with fixed background
I have a grid with 3 columns and a GridSplitter between each columns (in the column with horizontal alignment left). What I am trying to do is that the background of each column will stay in a fixed...
View ArticleNeed direction payroll c# app I'm building
I really not sure exactly what I need, so I'll just explain and hope for the best.I'm developing a program to grab data from our accounting database and calculated payroll for truck drivers based on...
View ArticleHow to Insert DataGrid Record from another User Control
I want to insert some record into DataGrid grid1 which is in Child1 User Control and i want to fill this data Grid record From another User Control Child2My code on click as Below,...
View ArticleBetter way to edit and image in every two seconnds wpf
I need to edit an image(.png is the base image) dynamically for every two seconds. Iam using wpf for building the application. Which is the better way to edit and show the image with high performance.
View Articleconvert image to image in c#
hi everybodyI read image with extension .bitmap , then I put the result image in picture box ,I need to convert the resulting image in picture box to image<Gray,float> to use it in another...
View ArticleHow to set a property of a custom control in the main window?
I have a custom cotrol and I have this property in my customControl.cs file.My property is this:public static readonly DependencyProperty ColorRecuadroExternoProperty =...
View Article