WPF Resource Dictionary with code behind file can’t be found by using a...
Hello,I have the assembly "WpfStyle.dll" where I put all my WPF styles for my main app and It works as expected, but as soon as I add a code behind file to the XAML of the ResourceDictionary, the...
View ArticleProblem Accessing Property from different class... UI is not Updating [MVVM]
Problem Accessing Property from different class...UI is not Updating [MVVM]1. I am Trying to Access IsEnabled Property from Different Class. (MVVM)public class FirstScreeenViewModel :...
View ArticleAlign Right Stacked Horizontally
I feel like I shouldn't be struggling with this but I am new to WPF and appear to be having issues aligning to the right within a horizontal stackpanel or a wrappanel. I'm not sure what exactly I could...
View ArticleHow do I handle the error, "There is already a factory registered for ......
I'm working on a new WPF app that's a proof of concept type app. I wanted a better way of navigating through the app then the one that we're using in our WPF apps. I'm also using MVVM Light, because...
View ArticleWPF performance via Remote Desktop - increased performance after installing...
Hi,We have developed a WPF application which we want to host on Remote Desktop (Windows Server 2012 R2) for several of our clients. While testing performance we found that it was very poor in...
View ArticleHow to prevent TabControl from doing multi rows?
Unfortunately the TabControl displays a second line for TabItems which do not fit inthe first row. Is there an easy way to prevent the TabControl from doing multirows, toenable a TabControl look like...
View ArticleMemoryLeak with converter
Hi All,While using converter as static resource in custom control Memory leak occurs even when the window is closed. Sample attached and please find the screenshot below. Can you please suggest any...
View ArticleUser Control Edges Gets Pixelate
I have a user control with an image control. Generally, it looks good but when we rotate it, the edges of the user control gets pixelate. Currently, I am using RenderOptions with the below attached...
View ArticleWPF taskbar notifier not working on some other system.
I have implement wpf taskbar notifier for showing notification popup.I have test it in my system and one of my colleague system it works fine.But it is not working some other window 10 PC.
View ArticleDisplaying font styles in localized name
Hi,I have a requirement to show Font Styles for the selected Font Family in localized name.Font Family is in one combo Box and Font styles are in another combo box.I have tried by using...
View ArticleDatePicker crash when changed syles dynamically
Hi,I have a custom calendar style and custom DatePicker.whenever i change the style of custom DatePicker to default DatePicker and select the date , WPF application is crashing.Thanks,Madhusudhan...
View ArticleHow to create a IList Dep property in DataGridTextColumn custom control and bind
HaiI want create a Dependency property of IList in my custom control of datagrid .My code is public class DataGridListBoxColumn : DataGridTextColumn { public IList<Student> ListItems { get {...
View ArticleWPF Grid previous/old Tool tips issue
Hi, We are facing issue with WPF grid tooltips. when we are performing sorting and filtering on the grid then it displays old row tooltips instead off current rows. after did lots of googling not found...
View ArticleWPF Multithreaded App crashed while calling API...
While loading multithreaded WPF application, I get intermitted exception and application gets crashed.Scenario : Trying to load same XAML in different threads.This exception occurs with different...
View ArticleWPF Applikation - Right way for icon and size of icon
Hello, The goal. I want to have an icon in the Exe file and on top left of the menu bar. An icon can have several sizes, which is taken or can I select that?32x32 8 Bit 16x16 8 Bit 32x32 24 Bit 16x16...
View ArticleChild Window Splash Screen Close
I want to be able to do the following in MVVM:App Startup Opens the MainWindow which in turn opens a child modal window. The child Window will load some setting and setup database connections and...
View ArticleWPF - DataGrid inside Expander is not showing vertical scroll bar
Hi,I hope someone can give me some advices on this scroll bar problem. I have a have a DataGrid control inside a Expander control. The DataGrid itemsoure is bound to a DataTable. When the application...
View ArticleHyperlinks from DocumentPaginator.GetPage() override in WPF not working
I'm wondering whether the issue related to hyperlinks not working in XPS documents created from flow documents (raised in the WPF Forum in 2009) has ever been solved. Almost 10 years later I still...
View ArticleCulture dependant formatig of digit grouping issue
Dear all,I have an application which is culkture dependant for which I shold be able to display value based on current cultureFor that I have a snipet of a single binding as below :Data="{Binding...
View ArticleStyling a List Views which uses ListViewItem and a GridViewColumn
I am designing styles for WPF ListView. I am facing some issues while using ListViewItem and GridViewColumn inside ListView. Please refer the code mentioned below of ListViewItem style:<Style...
View Article