scale animation issue
Hi, I do simple animation for custom tree item element. Problem is in a part of scale animation. Here the code describing style.<Style.Triggers><EventTrigger...
View ArticleHow can I automatically position & size two windows?
After loading a file I would like the long skinny window to be displayed on the far right of the monitor and the main window to fill up the remaining available desktop space. I have manually sized the...
View ArticleInput "\" to name property of control wpf.
Hi everyone,I must investigate a client's wpf application.And I used UISpy to identify and research about the kind of wpf controls in that application.As you can see in above image, the name property...
View ArticleHow to binding data to dynamic control in wpf with mvvm model?
Hi Everybody,In my project, I want to load data from file and then I add column to datagrid base on the content of file.I added dynamic column successfully follow below...
View ArticleHow to create and add few Radio Buttons dynamically in WPF while using MVVM...
I am having a StackPanel under which I have to create and add few RadioButtons based on some dynamic data. I don't want to create RadioButton objects in my .cs file which violates the MVVM...
View ArticleCustom window drop shadow without AllowsTransparency in wpf
Hi I'm working on a program that will have a window with custom drop shadow (custom color and custom blur radius) like Visual Studio 2012 (Has Violet drop shadow and blur radius) I have seen a lot of...
View ArticleHow can increase quality integrated video card in WPF XBAP ?
Hi All !---------------------------------------------------------------------------------------------------- Hardware:Intel DG965RY / Pentium(R) D CPU 2.80GHz / 4GB RAM / int graphics (IGD) GMA X3000...
View ArticleHow to draw circle on Inkcanvas
Dear all,I have an InkCanvas on which I need to draw a circle with finger or mouse. I have read that I need to create a class the inherit from Stroke in order to draw custom shape as stroke but do not...
View ArticleVariable that Cintains RTF-Text into the RichTextBox Control (Net 4 an Net 4.5)
I have a Problem with the RTF-WPF-Control (RichTextBox) in .Net 4.5: I don't know how i can Fill a Variable, that contains RTF-Text into the Control. I have tried with The Class FlowDocument, but when...
View ArticleDirect2D D3DImage and remote desktop with .net 4.5
In .Net 4.0 there was a warning for the D3DImage class saying that it would not render when in a remote desktop sessions. With .net 4.5 this warning has been removed. Does this mean the D3DImage...
View ArticleHow to display PDF in web browser control instead of open a Acrobat Reader
i am using Acrobat Reader 11.0.2and follow http://stackoverflow.com/questions/16228365/wpf-webbrowser-opens-pdf-file-in-adobe-reader-windowstill have error after trying two methodsNavigation to the...
View ArticleBug: Dispatcher and WriteableBitmap
I think I found a bug. It is a little complicated to set up, but here goes. Have tested on Windows 8 and 7.Create new WPF project. Insert an Image control and name it "ImageControl". Insert following...
View ArticleHow to show Acrobat Reader's control in Web Browser Control
How to show Acrobat Reader's control in Web Browser Control such as page number control, previous and next buttonwhen opening a pdfDesigner
View ArticleAccesing Elements from a Data Template to code
I am facing problem in Extracting the elements which are present in the Datatemplate from code.<DataTemplate x:Name="PickerItemTemplate"><StackPanel Orientation="Horizontal"><Rectangle...
View ArticleRibbonRadioButton anti-aliasing
Hi thereI have a RibbonRadioButton that is using a 32x32 large image. It looks like the anti-aliasing around the edge of the button image is not working properly. The image is set to 96dpi so I don't...
View ArticleChange values in restyled usercontrol
Hi, I have a UserControl ("RecordNavigationControl") that I have added to a restyled DataGrid (i.e. the UserControl is part of the DataGrid.)The DataGrid style is stored in a ResourceDictionary...
View ArticleTextBlock dynamic binding
I have a WPF TextBlock bound to a string using Dynamic resourse. If that string is null, I want the TextBlock to display binding value.<TextBlock Text="{DynamicResource keyState}" >if...
View ArticleHow to close Tab of IE running XBAP Application, not the whole browser?
Hi All,Using the following code, the entire IE browser gets closed and if any other tabs are open, it asks for confirmation. privatevoid button1_Click(object sender, RoutedEventArgs e) {...
View ArticleProblem with Datagrid BeginEdit MVVM
Hi AllI have a Datagrid in a user control (changeable) that is hosted in a main window, I also have an "Add" buttun in the main window that adds a new row to the Datagrid of the current user control...
View ArticleGood practices in MVVM on ViewModel
Hello everybody,Somebody tell me if it's a good practice to create a general ViewModel or create a ViewModel for a View?Is it possible to have a sample of a general ViewModel?ThanxMCTS : Web...
View Article