WPF WebBrowser custom scrollbar?
I know this is an old question, but I still want to know, is these any way to re-style WebBrowser scrollbar in new version .Net Framework?I don't want to use invoke js or css to hidden scrollbar in...
View ArticleDispatcherTimer throw an exception in the designer?
Hi,I want to make real-time reporting in my app. I want to use DispatcherTimer to execute method with query and get data for ObservableCollection. Dim MetricsTimer As New...
View ArticleRunning WPF Browser Application
It opens the browser but my application does not run. Not an issue with breakpoints not getting hit since my messagebox.show commands don't get hit either. The xabp web page is empty as Debug -...
View ArticleHow to set alignment for window title
Hi,I am using a WPF window with 'Report' title but I want that title to be left aligned always. but it is showing different behavior in 2010(Win 7 system) and 2013(Win 8 system) word application. in...
View Articledefault value (mvvm specific) for a new row in a datagrid
I have a DataGrid with a binding in the ItemsSource to an ObservableCollection property.The underlying class of the ObservableCollection has a default constructor public PosInLocation() { }that...
View ArticleCrystal report page size
Dear Experts, I'm using Crystal report 13.0.7 with wpf application and I want to control page length by vb.net code and printer independent, i have write some logic but not fount result as i...
View ArticleLazy Parent Data Binding!
Hi Everyone,I have a UserControl (extended as MyControl) which displays a list of views (UserControls).The child controls expanders and I want to control them from the parent window.(More on the code...
View ArticleComboBox
Hi,I have a combobox that has the ItemsSource bound to an observablecollection of Priority objects. Priority objects have and ID and a Description.My combobox is in a DataTemplate for a listBoxItem...
View ArticleDataTemplate for class defined in another assembly not loading
A little background, I am working on a client server application using MVVM.I have a common assembly that contains the models.In my client solution I have a WPF Controls library that defines a data...
View ArticleWhen windows narrator reads the application window then only child windows...
There is an application whose child windows are not initially visible but when i open window's narrator and when narrator reads the specific application window then only the child windows are show. Why...
View ArticleWPF COMException When Changing Monitor Layout
On a WPF application we've been developing, we are getting a COMException (below) in the Media.Composition.DUCE.Channel class when we have the application open and then undock the laptop it is running...
View ArticleNull reference exception in designer page when using static resource in wpf
I have used my xaml code like below:<SolidColorBrush x:Key="ScrollBarBackground" Color="White" /><Style x:Key="MetroScrollBarStyle" TargetType="{x:Type...
View ArticleHow to draw the points at a Arc in wpf?
I have a arc with Maximum = 8, Minimum = 0 and steps = 0, 2, 4, 6, 8. How to drawing the points at arc like picture: currently, i only drawing the arc : xaml:<Style TargetType="{x:Type...
View ArticleWPF Generic.xaml with Visual Studio 2015
I just wanted to migrate our Project to the new Visual Studio 2015. Unfortunately I got a problem with the Generic.xaml. I have a user control in a separate assembly and put all styling stuff in a...
View ArticleSorting WeekDay stored in datatable wtih WPF chart toolkit
Hello Everyone,I am working with WPF Chart toolkit.I have to x values as DayofWeek . I have bind the values DataTable Columns.It is working fine, but it is not displaying in order. Please find the...
View ArticleDefault Application "does not contain a static 'Main' method suitable for an...
Hi,When I create a brand new WPF application project in Visual Studio 2010 and immediately try to run it, I get the error WpfApplication1.exe does not contain a static 'Main' method suitable for an...
View ArticleCanvas WPF: Zoom on pointer and Pan (again)
Hi,after two days lost by attempting to resolve this problem, I think that i need help to solve it... ;)I've made a simple application with a Canvas into the main window. For testing, this Canvas is...
View ArticleHow to avoid memory leak in code of Win 7 - Onscreen keyboard while clicking...
Hi Team, I am developing WPF - Web browser control based kiosk application. I have implemented the feature like when somebody clicks on any textbox inside the web page rendered in wpf web browser...
View Articlehow to load DataGridComboBoxColumn with MVVM
I implemented a datagrid using mvvm and here is how my viewmodel and view looks like as below. my problem is that when i load the products, they will be loaded fast but since each product has a...
View Article