Ribbon : System.Windows.Controls.Ribbon update?
Hi,I would like to replace the Fluent Ribbon which I have been using so far, by the Microsoft Ribbon available in .Net 4.5. My only problem is that the .Net 4.5 ribbon is still in a 2010 flavor,...
View ArticleResponsiveness in WPF UI
I have made an application in WPF, in which in a window i have implemented Login method on click of login button. I want that the UI dont freezes when i click on button , as the login method uses WCF...
View ArticleHow to save ObservableCollection to EntityFramework Model string using...
Hi Guys,Within my application, I have a ComboBox that a user could select multiple items from thatComboBox.So far, I have been following this link and it is exactly the sort of thing that I needed....
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 ArticleMVVM Light and EF 6
After a few years of experiencewith the EntityFramework, the time has come tostart studyingMVVM usingMVVM Light. I developeda small application thatwill perform the classicCRUD operations,and throughEF...
View ArticleHowTo Get Rendered Image from WPF Image Control
Each WPF Image Control has RenderTransform Property that setsScale, Skew, Rotate and many more Transformation to Images. After CallingRenderTransform Property, How to get Rendered Image into the...
View ArticleWhy is the MainWindow of my mvvm project instanced twice on startup?
I created an mvvm wpf project (called DemoApp) which is a basic customer list/add a customer type demo project. The project actually runs as expected except that on startup that MainWindow.xaml is...
View ArticleBinding Textbox in MVVM Light
Through the oldWinForm I realizeda small andsimple application that usesthe Entity Framework6.There are 3Textbox: ID, Name, Surnameand a Button.Model:[Table("Customer")] public partial class Customer {...
View ArticleHow to make custom MessageBox in silverlight
I am silverlight beginner and i am in a situation that i have to pop up a message box containing three buttons (Yes/No/Ok).Please do not give me the following suggestion(I already tried and tired) :(1)...
View ArticleHow to prevent the width of the main window from changing.
Hello,I've been struggling with this problem all morning. How to set Window.MinWith = Window.MaxWidth without hardcoding any values, thus preventing the user from resizing the window's width. In XAML...
View Articlepc block access to my pictures I was downloadin from my camera, says to check...
I was downloading some pictures to my pc. It says "We can not get to this file, because this pc has blocked access to it. Check with this pc for more info. How do I do this???
View ArticleNeed MultiSelectComboBox
I got a MultiSelectComboBox from http://www.codeproject.com/Articles/563862/Multi-Select-ComboBox-in-WPF?msg=4864068#xx4864068xx , but I have problems with it.Are there other good sources of controls...
View ArticleXAML Style: Custom Textbox background Color Not Working
Hi all, I have a fairly simple style setup for a textbox so that when the Textbox is enabled, the background color is blue and when a textbox is disabled, the background color is blue. For some...
View ArticleFind Parent node of child in treeview using c#
I am working on treeview in c#. When i drag and drop parent node to child node but i want to find child node parent. If i want to drag and drop parent node to child then it is stop the drag and drop...
View ArticleCapturing Mouse Events inside DataTemplate
Hi,I want to handle the mouse left button down event inside the datatemplate of the listbox.This is my code:<ListBox ItemsSource="{Binding Key}"> <ListBox.ItemTemplate>...
View ArticleUpdate Class Position Dynamically
Hi,Aim:I want to connect the item in the left side with the right side.But when i move the scroll bar(in any side) i want to move the line accordingly.(For ex: "A" is connected to "Fog". When i move...
View ArticleBinding ListView with two sources
Hi everybody,I'm encoutering a problem with my C# app. My example is simplified to be easier to explain...I have two ObservableCollection of a custom class that I call MyCustomClass:public class...
View ArticleHowTo determine the Anchor Point of the System.Windows.Media.DrawingContext?
How to determine the Anchor Point of the System.Windows.Media.DrawingContext?exactly likeRenderTransformOrigin in Image WPF Control.Dim InImage As New BitmapImage(New Uri("Image Path")) Dim...
View ArticleHow To Find The Center Of A Canvas
Greetings:I know this is probably a simple question, but I am a simple person, so it fits. How do you draw a line in the center of a canvas, like the X and Y axis of a graph? I figured out how to...
View ArticleComputer is stuck after hours of running a WPF application
Hi,My WPF application "stuck" some of the PC's it's running on.Changing the screen resolution to a basic resolution + increasing memory to 4GB solved the problem.Here's the DxDiag.txt of the PC it...
View Article