Speech recognition in wpf
I am trying to develop speech recognition project but it's speech recognition not working properly. When i speech world 'Hello' it give me wrong output against my speech. Here is what i am doing.using...
View ArticleLoading dynamic HTML from WPF browser control
I am using WPF webbrowser in my project and I am trying to catch the HTML of the page. Here is the code for the sameprivatevoidWindow_Loaded(object sender,RoutedEventArgs e){...
View ArticleLogging button click events
We are going to implement logging for our WPF client application for each and every button click event. Is there anyway to to catch hold the event to a centralized location irrespective of button event...
View ArticleHighlighted Text does not scroll correctly
I have a RichTextBox that I am searching. When the search result is selected the text is then highlighted correctly. However, once the RichTextBox is scrolled, the highlight does not follow the text...
View Article[U8.1] WPF WebView High DPI Scaling Issue
Hi all,We have an issue on our app, it uses a WebView to display custom generated html from the filesystem. The app is written in WPF and so the native UI components scale automatically depending on...
View ArticleSystem.Windows.Controls.TabItem and InactiveBackgroundColor
Hello,at least some Windows.Forms.Controls have an item "InactiveBackgroundColor".Can something similiar be achived for System.Windows.Controls.TabItem ?tia Hendrik Schmieder
View ArticleMultiple UI Threads in the same window
I have a WPF application that hosts different usercontrols in tabs. Since every usercontrol is independent i would want to run each one in a separate UI thread (similar to how Google Chrome runs each...
View ArticleCoverflow like animating grids or contentcontrol
Hi, That's really frustrating, some days ago I felt on a tutorial page on how to animate grids (or contentcontrol...I don't remember). ...and now that I need this page I can't find it again ;-) There...
View ArticleI want to take backup multiple database of the sql server database on schdule...
I want to take backup multiple database of the SQL server database on schedule based in C# WPF. A. Schedule may be a.Daily basis b.Weekly basis. c.Hourly basis. d.All of these.vkp
View ArticleAccess the ViewModel from code behind class
MVVM pattern. I have a main View with nested child Views. I have a main VM that holds instances of the child VMs. In one of child View, I have to set up the bool property from code...
View ArticleHow to attach a simple small size database to wpf mvvm project
I have a developed a tool which is generic and can be used by any team within our organization. This tool requires the back end to store their data. I was coding for EF 6.X with SQL Server as the...
View ArticleWPF Reset User Control via Binding/Viewmodel without CodeBehind
Hey guys, i'm new to WPF and need some help. I have a simple user control that has a couple of Properties.I also have a Main.xaml that shows more than 20 of these user controls and a viewmodel that is...
View ArticleTab control creates multiple copies of views when binding tabs to an...
Hi,Simply put, when I bind the ItemsSource of the TabControl to an ObservableCollection of view models, more than one view is created, despite there being only one view model in the...
View Articlefilter datagrid in user control based on parent combobox
Hi,I need assistance with the following: WPF Window has a combobox which is inked to a customer table - working fine. The customer can have multiple sites and the sites table has a foreign key.The...
View ArticleWhich WPF control (DataGrid, ListView, … etc) is the most suitable to use...
the table should be able to:handle multi-line texthandle nested columns (to divide between Shares and Group number in each cell)display small pop-ups as the user hover/click each cell (see last...
View ArticleHow to host a Direct3D surface in a WPF window
Hi, I think this question has been answered but after many hours, I can't find an answer. Some backgroud: I have to write a simple 3d app, that renders a stereolithography file (its a simple file...
View ArticleHandling touch events disabled panning in scrollviewer
Hi,If I use the below code snippet I am unable to pan the scroll viewer content in touch mode.private void ItemsControl_TouchDown(object sender, TouchEventArgs e) { e.Handled=true; }Is Handling the...
View ArticleUse an event from a FrameworkElement when the type of this one is unknowed
Hello,I have created a Custom Control which is used as Content of a ContentControl.I want to use an Event from his parent like this:public class IconText : Control { public override void...
View ArticleDevelop application in wpf using google speech api
I am trying to develop voice recognition application in wpf. I want to use google speech api for speech recognition. Scenario is when i ask any question to application application reply accordingly to...
View ArticleEncrypting Connection Strings in Config File Used on Multiple Machines C# WPF
At the moment I am storing my connection strings in my app.config file in plain text. Bad practice, I know, and I am trying to encrypt them instead. I've referred to...
View Article