Allow only one Popup Control instance at a time.
I have a ListView and each item holds a button, in this case a Toggle Button. If the user clicks a button, a Popup control instance opens with data that is bound to and loaded from a ViewModel.If the...
View ArticleRadioButtonSpace_Checked function throws null exception for...
Hi all,I have four radio buttons (space, comma, tab, other) on my window to select a delimeter. The "other" radiobutton has a textbox next to it that I make visible inside RadioButtonOther_Checked when...
View ArticleGetting multiple selected values from listbox using binding?
Hi,i want to get the list of multiple selected values (Selction mode=extended) in listbox. through binding.I saw some exampls using dependency property.But i am interested to know how it can be done...
View ArticleTwo view models into one grid using View WPF
How to show two viewmodels of two different Item source in a Grid using ListView WPF?I have an Itemsource of ItemViewModel and i have an other items source of ItemArchiveViewModel.I want to combine...
View ArticleEnable textbox when combobox's specific item is selected in MVVM
Hi everyone, i have view with combobox and textbox, i want the textbox enabled only when combobox's spesific item is selected.Combobox's item source is binded to a string list and all i want to do is...
View Articlecan i add months to datepicker using an xctk:singleupdown
I'm trying to use a singleupdown control to change the date of a datepickers months and years.my singleupdown has a maximum set to 24, everytime it increases by 1 I want the datepicker month to...
View ArticleRequest for some guidance to follow various Mvvm patterns for WPF
I have been reading several articles and books on the Mvvm pattern for WPF programming. The articles and books are fairly consistent with the conepts/content. But I have also been working with...
View ArticleWPF ScrollViewer scroll bar disappeared after upgrading to 4.5
Hi,After we installed .NET Framework 4.5, all WPF ScrollViewer scroll bars in our app disappeared.We downgraded back to 4.0 and they appeared again.Any idea how to get scrollbars back with...
View ArticleUpadate TreeView From Class .cs (WPF/C#)
Good morning for all; I have a TreeView in my Window WPF, I use DataBinding to cover my TreeView. Now I have another Class MyDesign.cs , and I want to upade the itms of my TreeView from this Class....
View ArticleTypeface.TryGetGlyphTypeface doesn't return the correct font
Hi,I'm trying to retrieve the file (name) of the font by its name, style, weight and stretch using the Typeface.TryGetGlyphTypeface method:Typeface t = new Typeface(new FontFamily("Arial Narrow"),...
View ArticleHow can i remove the title and customize ribbon toolbar from Fluent Ribbon...
How to remove upper down arrow icon and title form fluent ribbon.This is the screen shot i want to remove (Red circled)Dileepa S. Rajapaksa ---------------------------------Trainee Developer Microsoft,...
View ArticleWPF objects not identified with CodedUI
Hi All,I am working on WPF application.after launching the app, i am able to identify a text field which is under few objects.1-Main window2- Tab list3- Tab page4- Text fieldWhen I enter some value in...
View ArticleDatabase Initialiser does not create azure sql database
I have a WPF application In the OnStartup in the app.cs I set the Database initializer and forced the context the initialise my database:Debug.WriteLine("Setting...
View ArticleBind Multiple Checkboxes to Specific cells of a Database
Hi all, I have an application that has many Checkboxes (> 100). I also have a datatable that has 2 columns (1 of type string and 1 of type bool). Is there any simply way that I enable two...
View ArticleRenderTargetBitmap.Render() throws OutOfMemoryException when rendering large...
I am trying to render a very large Canvas (7000x7000 or larger) to a Bitmap file. I attempt to do this by creating a RenderTargetBitmap, calling its Render() method and afterwards, save that bitmap to...
View ArticleC# WPF Mediaelement BufferingProgress and DownloadProgress always 1
Hello,i've got an problem with the MediaElement properties listed in the Title. This is my Code:private void MediaElement_BufferingStarted(object sender, RoutedEventArgs e) {...
View ArticleRenderToBitmap trouble in WPF
Actually, I have to print the view from a Viewport3D, obviously, I use aRenderTargetBitmap. The problem is that if the resolution of the rendered image got high, some triangles of my scene don't appear...
View ArticleBusy/Please Wait - How too XAML?
Hi AllThis question may have been asked many times before but I haven't been able to find a solution, easy enough to insert into my project.Can someone please help in implementing a "Please Wait" type...
View ArticleError scrolling ScrollViewer with touch event
Hi, I'm Esneyder, and i hope get help from you :) I'm have not experience programming WPF Apps. I'm making a program who have a rectangle and in it, a scrollviewer. It's a touch app, so I can resize,...
View ArticleWinformsHost Airspace/Overlap issue still present in 4.5?
Hi all,I have a question in regards to using WindowsFormHost element with overlapping controls.I know that in the past this was indeed an issue and I was wondering if it is still present.According to...
View Article