PresentationFramework Version 4.0.0.0 not found
Windows 7; 64 bitVisual Studio 2010; working ok until a Blue Screen and computer restart:Then cannot launch Visual Studio 2010; window saying "PresentationFramework Version 4.0.0.0 not found".I...
View Articlesorce code
I have a String = " my name is anurag" i want to break this string into "int length=5" 5 characters and Check that NO Blank space after 5 character and No half word is Print? suggest me the code...
View ArticleWPF And VSTO 3.5 Keyboard Focus Question.
Hi All, I am designing something like this : A simple form(in wpf), which is set to topmost to true and the form is a non modal window. This form will be called by a VSTO addin in Excel. The XAML is...
View ArticleChange View from ViewModel
Hi, I have a WPF app (MVVM), which loads a default view on Startup. I have a list box with items and based on the user selection, I need to display a different view for each selection. Something like:...
View ArticleDuplicated UserControl TabIndex
Hello everyone,I have one usercontrol, but I use it 4 times in the same form.How can i make tabindex in this case?Regards, ADAE. EDIT: And I use this usercontrol in others forms too.
View ArticleFlowDocumentReader ... ReaderScrollViewer
I have a FlowDocumentReader that displays one of those horrid dotted focus rectangles when it gets keyboard focused using tab.Not the actual control, but something within the control. I used the snoop...
View ArticleWPF HwndWrapper COM exception within WCF threads
Hello Folks,I have a curious issue that is causing me a lot of headaches. I am creating a rectangle geometry in a server (wcf) thread. I do this by using the following code:... RectangleGeometry...
View ArticleCanvas Horizontal Line Background is antialiased
Hello together,I have a Problem using a VisualBrush Tile Background on a Canvas. I want to draw horizontal and vertical helplines in black Color. But all the time, the lines are antialiased (the...
View Articleintroducir una ventana dentro de otra ventana
bueno, acabo de pasar de windows forms con c# a WPF. hasta ahora no he tenido problemas, actualmente estoy haciendo una aplicacion del tipo Windows el cual funciona bien, pero quisiera saber como...
View ArticleCustom ItemsControl: Validating the ItemsControl's ItemsPanel and ItemsSource?
Hi,I created my own custom panel and i am creating a custom itemscontrol which only can use the custom panel. How should i override the metadata for the ItemsPanelProperty to make sure that the panel...
View ArticleWhite flash on window load
Is there a way to get rid of white flash that is shown before window is loaded by window.show() method. I have a bit of calculation in Window_Loaded event ?
View ArticleRotation of whole screen in Microsoft Surface 2.0
Hello I want to rotate the whole screen of surface application such that when the user move its finger to top direction or bottom direction the whole screen should rotate in that direction accordingly.
View ArticleWPF TextBox.Text VS Variable
There is a textbox myTextBox in my WPF application.The myTextBox.Text value is used by a button function for a few times.I would like to know is there any difference in PERFORMANCE and MEMORY USAGE for...
View ArticleUsing Custom RoutedUICommand in xaml throws exception
I have followed this article and some others to create a Custom RoutedUICommand. I am using Infragistics Ribbon, but I dont think the problem comes from there.<igRibbon:XamRibbonWindow...
View ArticleAppCan (includes Prism + more) = Better apps/compositing
Announcing new Open source project on codeplex -AppCan Codeplex SiteProject Description AppCan enhances Prism by offering more of a thin application framework and compositing capability around what...
View ArticleDocumentViewer with XPS - large memory consumption on first copy operation?
We are implementing e-book reader based on documentviewer control. Each e-book is exe file with xps as embedded resource. XPS are decrypted and displayed by documentviewer control, hosted on plain C#...
View ArticleStyle set in Application level affect the host [ActiveX client written in WPF]
Hi,My application A is written in WPF, I have some global styles that I set in the Application level [App.xaml]. Example below:<Style TargetType="{x:Type ComboBox}">[change background...
View ArticleComboBoxItem with delete button not deleting an Item
Hi,I have a ComboBox, If I add a Item in a Combobox,It should get added in a Combobox as comboboxItem.As Item I am providing a Template as Textblock and a Delete Button,by clicking on Delete button in...
View Articlewpf DataGrid
if you double click the new empty row of datagrid and double click the other row of datagrid, the datagrid will auto add new empty row.is it the bug of datagrid? if not, but what is the use of it ?
View ArticleExpander out the side of window
I would like to create an expander that goes outside the current window. Kind of like a subwindow that jets out of the side. When I click it, I want it to expand to the "GRAY" portion below.
View Article