Using OpenGL in WPF/Winforms
Hi,Is there a way to use OpenGL in WPF/Winform?Regards,Ramakrishna
View ArticleRenderTargetBitmap Image Sliding
I'm having a problem with RenderTargetBitmap whenever I render canvas and clear its children and set the rendered bitmap as background of canvas it slide toward bottom right.Here is my...
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 ArticleAdding a WPF UI Element to the Winform Grid Control Panel throw...
Hi,We have a CRM Add-in for Microsoft Outlook, which displays a WinForm control inside a WPF form/control as one of its functionalities. But, since after Version 1812 and the latest update to Office...
View ArticleWPF/MVVM/Unity app with first a login and then the real shell - how?
I'm creating a Prism 7 WPF/MVVM/Unity desktop application that first displays a Login View and then, when the user enters in the proper credentials and clicks the Login button, closes the Login View...
View ArticleApplication Error
hello application was Faulted when it startup, what's it cause?following content:Faulting application name: xxxx.exe, version: 0.0.10.0, time stamp: 0x5caef22d Faulting module name:...
View ArticleDetecting if a TextBox has invalid data
Basically, I have some TextBoxes on the screen and a button that executes a command. Each TextBox is bound to a particular property that varies in type. For example, one TextBox is bound to a Double...
View ArticleChange opacity of button background image on hover
Hello, I'm fairly new to WPF and at the moment I'm trying to create a image button with hover effect. I made a button with an image as background and now I would like to change the opacity of the image...
View ArticleWPF datagrids not flowing onto second page with PrintDocument DocumentPaginator
I have a window containing a number of textboxes and two WPF datagrids. When printing using a FixedDocument print method and DocumentPaginator, the datagrid rows are not flowing into the second page...
View ArticleNow that I've created a Shared Project, how to I use it?
We've had a practice of duplicating a lot of code in some of our WPF apps (I suspect MVC apps as well). I recently learned about Shared Projects, so I proposed to my manager that we utilize a Shared...
View ArticleHow do I use large bitmaps in .NET
HiI am developing gallery application for windows when am trying to load an image with dimensions 59999x1419 and PixelFormat.Format24bppRgb am getting “Out of memory.” exceptions and while converting...
View ArticleHow to set GridViewColumn Width to Auto in code?
The following causes exception: Code SnippetGridViewColumn column = newGridViewColumn();column.Width = System.Windows.GridLength.Auto; so clearly there is some other way to do it since corresponding...
View ArticleWPF Border Background Animation
Hi Everyone,first time posting here so tell me to go away if I'm asking too much.I've been trying to get a certain animation to happen when a user hovers over a border. I want an effect similar to what...
View ArticleVisual Studio 17, C#, Using button to load csv into 2 listboxes with comma...
Thank you for your time and patience in helping me anyone and everyone.I am using Visual Studio 17, C#. Pretty new user designing an interface for an engineering project.I would like to be able to have...
View ArticleGetting type or namespace name 'Assets' does not exist in the namespace...
When I build a WPF app, I am now getting the, "The type or namespace name 'Assets' does not exist in the namespace 'LRAT'" error. This is in the file SetManagerView.g.cs. I've deleted that file and...
View ArticleIs there some good reason why a MultiTrigger segment should be in a resource...
I'm trying to debug a lot of errors in a WPF app I'm working on, which we wrote two years ago. While investigating the errors I came across this code in a resource...
View ArticleHow to Display ComboBox for all Columns of a DataGrid for a Specific Row
Hello AllI need some help on Displaying ComboBox for all the columns in a specific row of a DataGrid. Regards,Srinivas
View ArticleHow to Displaying ComboBox for all the columns in a specific row of a DataGrid
Hello All I need some help on Displaying ComboBox for all the columns in a specific row of a DataGrid and in another row the cell type should be a textbox and should show a button on focus to the...
View ArticleWhy the virtualizing no works in the custom control?
I wrote a custom control which inherits `ComboBox` like this: <Style TargetType="{x:Type local:SComboBox}"> <Setter Property="MinHeight" Value="30"></Setter>...
View ArticleVisual Studio 17, C# Carry all items from a listbox in parent form to listbox...
Thank you to everyone who has been helping me through my project, almost all of the answers have been right on. It is nearing completion but I have another question. I have a parent form where after a...
View Article