Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

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 Article


Responsiveness 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 Article


How 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 Article

Bind 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 Article

MVVM 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 Article


HowTo 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 Article

Why 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 Article

Binding 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 Article


How 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 Article


How 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 Article

pc 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 Article

Need 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 Article

XAML 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 Article


Find 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 Article

Capturing 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 Article


Image may be NSFW.
Clik here to view.

Update 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 Article

Binding 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 Article


HowTo 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 Article

How 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 Article

Computer 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
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>