Is there any way to hide message from microsoft powerpoint slideshow either...
I am playing powerpoint slideshow in my window. i am getting message from powerpoint ( either to keep or discard annotaion) when i close powerpoint. How can i hide this message ? I want to use...
View ArticleListBox does not update after XmlDataProvider.Refresh() call
I have a DataTemplate binded to an XmlDataProvider. Inside the it I have some TextBoxes and two ListBoxes.<XmlDataProvider...
View ArticleIs it possible to marshal DrawingContext to native code
I have some custom control with some trivial OnRender method: protected override void OnRender(DrawingContext dc) { base.OnRender(dc); SolidColorBrush mySolidColorBrush = new SolidColorBrush();...
View ArticleIs it possible to modify ItemsPanelTemplate in code?
I have ListView with Grid as ItemsPanel:<ListView Name="listView" Width="21cm" Height="29.7cm"><ListView.Template><ControlTemplate><ItemsPresenter...
View ArticleExit from Current Project
Hi,I am having application in VB.NET. in this application i have two projects. once my aoolication starts project1 will open later on i am opening projects2. i want to close only project2. i am using...
View ArticleWPF RichTextBox TextChanged gets called when Page initialises
I have a WPF RichTextBox and when the user types something into it I want to detect this and call a function. The function checks all the other controls on my Page to see if they are all selected and...
View ArticleHow to draw an circle with different color filled in 4 quaters
I want to draw an circle and fill 4 different colors into evenly divided area. But do not know how...
View ArticleWhy do I get an error when I input a bool-type parameter?
I would like to know why this error shows when I input a bool-type parameter on MainWindow. Basically, I have two MainWindow and on one of them I want to remove the "BackinectCircleButton". Below I...
View ArticleHow to close and dispose of any external applications that were called within...
We have created a WPF application which calls Excel to create a spreadsheet with some graphs and raw data for the client. At the moment during testing and debugging, ( I know this is the exception )...
View ArticleWpf binding nested enitities
hellow all, I have to bind an entity to wpf controls, also to bind it's nested object properties. it works fin until I try to create new object . then the nested object is not binded . I am using mvvm...
View ArticleTriggers Button IsFocused
Hello please i need your help I have a TextBlock ==> Collapsed, button ==> Visible and other controls ==> Visible in a WPF application. . When I click the button, the TextBlock must be...
View ArticleWord in my application
hello everyone,I would like to integrate Word in my WPF application, writting with c#.don't open a word document in read mode with browser or open a word document in other window !just (!) have Word as...
View ArticleThe time has come! Step up WPF Gurus! Your community needs heroes like you!
TechNet Gurus... we salute you!You're awesome, and we know it!Your knowledge uploads and nifty info nuggets are our life blood at TechNet Wiki.Every awesome article that gets an award is just the...
View ArticleRadio Buttons on different tabs grouping
I have a TabViewModel and pass in a Tabview then I add this to a TabControl with different data on each tab. With in the TabView I have a group of Radio Buttons to change navigation in the content...
View ArticleSystem.AccessViolationException thrown intermitently when closing secondary...
I am currently working with a Windows form application that opens a new window on a button click . I am intemittently getting access violation exception when I close the second window which in turns...
View ArticleLoad Image To Memory and remove temp file
I use TempFile class.using(var tempFile = new TempFile("tempPath")){CreateTempFile(tempFile.Path);}When CreateTempFile calling temp file at "tempPath" creating.When Dispose of TempFile called - it...
View ArticleMVVM pattern: How can viewmdoel detect ComboBox selection change and take...
In MVVM pattern, we bind a ComboBox with a List<string> in viewmodel class. We see some examples in MVVM pattern, when combobox selection change, how the listview control reflects change in the...
View Articlehow to get the label content from a list box
i have a label in a listbox,there are many datatemplates in the listbox,and each template has a label,i am unable to retrieve the content of label from code behind in .cs file,the data template is...
View Articlehow to pass the validated error data and display in xaml ui validations template
this is My back end C# code where I have implemented INotifyDataErrorInfo public class InputModel : INotifyDataErrorInfo { private const string PATH_ERROR = "Value cannot be Empty."; private const...
View ArticleIf I target .net 4.0 but run on a machine that has .net 4.5 will .net 4.0 WPF...
I am interested in installing the Visual Studio 11 Beta (and the actual release when it comes out).But I am one of the unlucky that has to support Windows XP installs for 2 more years. We run an N Tier...
View Article