How to get date from datepicker in WPF
Hi Everybody, I'm new to WPF. I want to do these things. 1. I want store date from datepicker in database. 2. Get date from datagrid to form...
View ArticleSet Foreground of ContentControl's Content
I'd like to set the foreground color of the content of my ContentControl to a specific color. The code below shows my attempts to set the color for the text 'Test' but it stays black.What am I...
View ArticleUI Hangs after adding control to main window dynamically
Please find the code here added in Window_Loaded event to create a label in Grid control dynamically from different task thread. once the task is completed I am able to see the label added from this...
View Article.Net Framework 4.0 vs 4.5 for the WPF based business Application
Dear All,I am supposed to work on a .New business Application and I am planning to use WPF. Which Framework I should use, 4.0 or 4.5 ?What advantages 4.5 offers for a WFP Applications ? I am also...
View ArticleOffice 2013 Like DropShadow in custom window
Hi,I want to drop a shadow like in Office 2013 around a border less window without enabling Transparency, as it causes significant performance issues.I tried using DWM api calls for the job:- using...
View ArticleI am new for WPF application
hi, i wanted to create in WPF . so, kindly give some suggestion like which version i should use.like do i have to use .NET 4.5 and vs 2012 or do i have to use .NET 4.0 and vs2010. somebody said that it...
View ArticleMissing some PresentationFramework assemblies!?
Hi,I developed a WPF Application with NET 4.0. It works finde on my maschine, but after deploying it to other maschine some Buttons are not displayed correct (or totally not rendered) or Styles are not...
View ArticleListivew with binding not updating
I've got a listview with binding and it's not updating. Can somebody find the bug? Wish I had some money, because I would offer a reward.In this screen cap, the window on the right (Active Dinosaur...
View ArticleAn entity object cannot be referenced by multiple instances of...
After reading many threads on this issue (including in this formum) I am still perplexed. I have a WPF application uing Code First EF (5.0).The dbcontext is defined in a viewmodel class that is...
View ArticleAdd Tooltip - ListView
Hi,I have to create GridViewColumn dynamically from the code behind. In addition to displaying value, each cell should display the value in tooltip (tooltip helps when the value is too long). I have...
View ArticleHow can i temporary disable autoplay from a wpf application C#
I am connecting to the internal memory of a device and reading files. When i connect the autoplay dialog pops up because it appears to be a mounted drive. I want to mount the drive but suppress the...
View ArticleVerticalScrollBarVisibility isn't work?
Hi<Border Grid.Column="1" Grid.Row="1" CornerRadius="2" BorderBrush="LightGray" BorderThickness="1"><Border.Resources><Style TargetType="{x:Type ListBox}"><Setter...
View Article"Object was not found" exception thrown when calling...
Hi,I'm running a WPF service on Windows Server 2008 SP2 with IIS 7.5 and when I try to call the CNGKey.Create API I am getting the following exception...
View ArticleWPF keyup is not triggering for unicode keyboard driver
i am developing wpf based application that support unicode character as input.right know i am using NHM writer as the keyboard driver.i am using textbox keyup event is my project.keyup is not...
View Articledatagrid row count in wpf
Hi, I have problem to getting datagrid row count in UserControl loaded in wpf...My coding..private void UserControl_Loaded(object sender, RoutedEventArgs e) { viewprojectdetails();...
View ArticleProblem in display string value in richtextbox in WPF
Hi Everybody, I'm using richtextbox in my project. I'm getting it's content by: string rtbText = new TextRange(rbItem.Document.ContentStart,...
View ArticleListbox deselected on drag start
When I start dragging all items get deselected. Do you have a suggestion how can I do this?<ListBox x:Name="FileListBox" ... SelectionMode="Extended" PreviewMouseMove="List_MouseMove" >private...
View ArticleWPF Loading and Saving Image to SQL Database
Hi,I'm trying to save a picture into a sql database as byte/image. I think I got the loading of the picture but I can't seem to get the saving to work. I'm using WPF binding with Entity...
View Articleprism, interaction request: why is binding set to Notification.Content?
I am reading chapter 6, Advanced MVVM Scenarios of the Prism 4.0 documentation. On page 77, the sample XAML binds theTextBlock to the Notification.Content property: <TextBlock...
View ArticleCan i run Wpf base application in any Tablet?
Hi AllHow can i run WPF Application (Xbap) in any tableti need your suggestions for type of tablets, type technologies Thanks & Regards Manoj Patel
View Article