WPF Video Rendering Performance Problem
I'm making a WPF that is going to need to render multiple videos on multiple displays (12) for a video wall. Each video is 1920x1080. As a test I tried using VLC to play each one of the videos on each...
View ArticleCan I have SelectionChanged event(s) for comboboxes in headers of datagrid...
Hi all,I have a datagrid with columns generated at runtime. The datagrid has comboboxes in the column headers. You can see my previous post here:...
View ArticleHow to implement a labeled textbox?
Hi,I wish to implement a "type" (subclass Control or UserControl) that contains a Label and a TextBox. There is a lot of information on the net regarding this issue. I've taken one example and adapted...
View Articlewpf app is taking high cpu but consistant memory
Hi,I have a WPF application.While the Application is active(means not minimized) then it is taking very high CPU(avg is more than 30) but memory(private bytes) is consistant.It is not increasing.It is...
View ArticleUIElement.TranslatePoint not giving right coordinates with...
Greetings! I'm creating a small program which contains a TreeView control, and has the ability to edit the text of the TreeViewItems in the control. The TreeViewItems are set up like...
View ArticleExpander with splitter
I have two expander in tab item. Expander control1 Let say Height: 370Splitter Let say Height: 10Expander Control2 Let say Height:...
View ArticleConnection Checker WPF
Hi all,I was wondering if it's possible to create sql connection checker in my app. I'm using connection string, .Open() and .Close() each time I want to do something with the data. Is there a way to...
View ArticleDPI ZOOM / SCALE ISSUE, how get screen size of the virtual scaled screens?
i need locate my App in specific location of dual screen, extended desktop. For pikcup the screen cordinates at current resolution I use:SystemInformation.PrimaryMonitorSize...
View ArticleFlat style for wpf datagrid column header
I want to set flat style for wpf data grid column headers, the vertical & horizontal scroll bars. Looking forward for help.Regards,RamakrishnaRamakrishna
View Articlebind a button to user control in wpf
First of all, I'm fairly unexperienced in C# and WPF and I have never done anything in the way of Data Binding or DependencyProperties. So far my program has the following items and functions. I have a...
View ArticleHow to DataBind to StackPanel?
Hi AllReally need you help?I have a List of simple class objects in my code behind, which I want to data bind to a Stack Panel.Simple Classpublic class MyBook {public string Name = "Physics";public...
View ArticleMemory leak when using WriteableBitmap.AddDirtyRect()
There appears to be a memory leak with WriteableBitmaps when writing to the backbuffer directly and using the AddDirtyRect function multiple times within a single Lock/Unlock. The rectangles need to...
View ArticleIs it possible to add individual modifications to button_Click events of a...
I was recently working on a little game app, which had a number of buttons. I had created separate button_Click events for each of them. But as it turned out, most of the text for each click event were...
View Articlewpf designer loading takes for ever
Hi,in my current project, when working on my wpf views, the Designer gets slower and slower. Somtimes when switching between views, I see the message for ever:Loading designer.... You can continue...
View ArticleQuestion about MvvmLight toolkit - Problem with StartupURI
I added a 2nd view (Page2.xaml) to a default MvvmLight project. I added a 2nd ViewModel to the project. I added a reference to the 2nd viewModel (Page2ViewModel) in the ViewModelLocator file. And in...
View ArticleHow do I set content to controls on Pages (Not MainWindow) from a class?
I am looking for a solution for a project but most article or postings refers to the main Window. (Accessing main Window Controls).I need to set the text of controls on another page from a class. I...
View Articlewpf C# Draw a polygon and divide its interior into equal grids
Hi,I want to draw a polygon and divide it into equal sized grids in C# WPF winform app.I should be able to write number in these grid.Some times equal sized gridding may result in ungrided region.In...
View ArticleWIA Setting up page size does not work
Im trying to make an app that can scan documents using C# and WIA. But I have come across a problem when setting up the page size property. When I run the scanning process my app throws an error: An...
View ArticleWPF floating window
Hello,In my drawing application, i have a usercontrol which contains many child UIElements. I want to have a kind movable floating property window for each of the UIElement. This floating window will...
View ArticleDropShadowBitmapEffect on a Popup
Hey guys,It looks like the DropShadowBitmapEffect applied to a Popup doesn't seem to be working. I am using June CTP bits.Thx.. Alex
View Article