C# Starting on a certain page when using CreateDocument ()
Hello. I'm having a problem with my report concerning the CreateDocument() command. My code is as follows: private void lbShowHide_PreviewClick(object sender, PreviewMouseEventArgs e) { // Obtain the...
View ArticleXBAP IE 9 issue
We have been successfully using XBAP in our application and using BrowserInteropHelper.HostScript to allow me to talk back to the javascript on the host page. I am running the XBAP in an iframe. It is...
View ArticleIs there an SDKSample download?
the SDKSample namespace referenced in this Data Template Overview article: http://msdn.microsoft.com/en-us/library/ms742521.aspx , is there an MSDN download somewhere for that?
View ArticleHow do you reference a system theme ResourceDictionary resource in generic.xaml?
I "think" I've merged the ResourceDictionary properly:<ResourceDictionary.MergedDictionaries><ResourceDictionary Source="/PresentationFramework.Aero2;component/themes/aero2.normalcolor.xaml"...
View ArticleHow I can check net.pipe and net.tcp adap working or not in windows machine
How I can check net.pipe and net.tcp adap working or not in windows machine
View Articlehow to change listbox item font color when selected ?
Dear all,I have the following style for my list box. When items gets selected, the background border cames white, but I want to change also the font colors of items to be blue.Could not reach that...
View ArticleProgram 'xxx.exe' does not contain a static 'Main' method suitable for an...
In a WPF program I am getting an error "Program 'xxx.exe' does not contain a static 'Main' method suitable for an entry point". Others in my team compile the same code sucessfully. The App.xaml file...
View ArticleHow to open a viewwindow on a button click event of another viewwindow in wpf...
Hi,How to open a viewwindow on a button click event of another viewwindow in wpf using mvvm.Thanks
View ArticleWPF application has failing components in Windows XP alone!
I have a small WPF application which is running across the enterprise. Most of the computers are Windows 7 and only a handful of them are running Windows XP. Windows 7 editions are fine whereas in...
View ArticleHow to re-render Window layout at run-time after collapsing a child UI element
Hi, I want to collapse or hide a child element that is in a StackPanel on Main WPF window at run-time on a particular condition. When I collapse after the Window is initialized, the element is not...
View ArticleMultiple Outlook Emails to Datagridview in vb.net ?
Hi,I would like to show selected outlook emails in to datagridview ( winforms ) using vb.net..I dont know how to do. Is there any sample project or links,So then please provide to me.Thanks for any help
View ArticleHow to implement Visual State manager in WPF ?
Hi all, How to implement Visual State manager in WPF . ThanksAniruddha AcharyaA.Acharya Feedback to us Develop and promote your apps in Windows Store Please remember to mark the...
View ArticleListboxitem mouseover problem
Hi,I have Listboxitem template as below, in that template i have button which is not visible, this button i wanted to make visible on mouse over of Listboxitem, i could do that but the problem is the...
View ArticleCan I group an item that belongs to more than one group?
Hi there,Let's say a person has two nationalities(Canada and US), I can put the information together with comma seperated. And use PropertyGroupDescription.Converter.I need group information based on...
View ArticleDialogresult work if button click but not on keydown
Hi, Have a problem with dialogresult in a WPF form. The form is started from main method (static void Main). Show dialog window start:new WindowStart().ShowDialog(); In window start, this works:private...
View ArticleAutoCompletebox SelectedValue and SelectedItem properties using Grid
How to get grid selected row coloum value in txtAccount control...? please guide us... <my1:AutoCompleteBox Name="txtAccount" SelectedItem="{Binding AccountView}" ItemsSource="{Binding AccountView}"...
View ArticleNot able to get index of items in gridview
xaml code<GridView x:Name="GetImages"SelectionChanged="GetImages" ItemsSource="{Binding}" HorizontalAlignment="Center"...
View ArticleShould I, or should I not use TreeViewItem as a base class?
Hello all,I have a TreeView in WPF, I want to customize it's appearance. So to that end, I have created a class (without a base class) to represent an item in the TreeView, and customized it's...
View ArticleFluidMoveBehavior in Toolbar
We tried to have a FluidMoveBehaviour in a Toolbar. But it does not work. This is how it looks like:<ToolBar DataContext="{Binding MostRecentlyUsed}" HeaderTemplate="{StaticResource...
View ArticleEnter key navigation in c# WPF using MVVM
Hi,How can I implement Enter Key Navigation in a main window which consists of number of text boxes in c# wpf using MVVM.Thanks
View Article