InlineUIContainer Copy, Paste and Do Undo Issue
Hi,I am using InlineUIContainer in wpf richtextbox to display some text to make that block of text uneditable, now when i try copy and paste the InlineUIContainer a empty space is inserted i could not...
View ArticleStrange source binding error
When I display one of my windows, the debugger Output window is showing the messages at the bottom that repeat MANY times. I have no idea why this is happening though. System.Windows.Data Error: 4 :...
View ArticleWPF skill assessment
Hi guys!I am trying to hire a developer for a small WPF application + Windows service project. I have hired another developer (consultant) to help me interview the candidates as I have no development...
View Article[WPF][C#] Window not maximized when running on Administrator?
I have WPF application with a child window (Test) and it should be run on Administrator mode. So run your Visual Studio as administrator. And the child window will be triggered using the below...
View ArticleMaximise main window issue
Dear all,I have a wpf windows application in which I have apply a common style to main window define as below :<ControlTemplate x:Key="WindowControlTemplate1" TargetType="{x:Type...
View ArticleWPF: How to make TextBox only allow enter certain range of numbers?
In our WPF application, we need to restrict a TextBox to only allow to enter number from 5 to 9999.In WPF, we could implement the following to only allow the number inputin XAML, define TextBox's...
View ArticleHow to use Windows Forms Control of C# in C++?
Hi All, I have an existing application in C++ and this is mainly WTL based application, where my existing UI is WTL's CFrameWindowImpl based;For the new UI development, I was thinking of using Windows...
View ArticleWhere can I find the original WPF Aero.NormalColor.xaml source code?
I had the original source Aero.NormalColor.xaml on my old development machine, but I've lost it since moving to another laptop. This is a useful file to have around if you want to see what a current...
View ArticleIssue with datagrid updates
Hello,I've the following code in my C#/WPF application. On clicking of Refresh button, I invoke GetData method on the Viewmodel and try to reset the observable collection. But data in grid is not...
View ArticleHow to access WPF XAML GUI elements from a C# ValidationRule?
I have a WPF GUI with two fields named "one" and "two" respectively.The value of "one" must be less than the value of "two". This is tested by the ValidationRule called ValidateOne.The value of "two"...
View ArticleDataTrigger.ExitActions not working.
Hi All.I am working having a panel fade in when visibility is set to true, and fade out when false.<Style.Triggers><DataTrigger Binding="{Binding RelativeSource={x:Static RelativeSource.Self},...
View ArticleUndoing changes done by StoryBoard
Like the values set during a trigger via the Setter are automatically undone, when the trigger event is over, is there a simple way to undo the property values changed during animation or is usually...
View ArticleHello I want to create a tree menu that receives information from the...
http://uupload.ir/files/267g_232.jpg
View ArticleStrange source binding error
When I display one of my windows, the debugger Output window is showing the messages at the bottom that repeat MANY times. I have no idea why this is happening though. System.Windows.Data Error: 4 :...
View ArticleInactive user timeout - recommended way ?
Is there a recommended way in WPF of detecting user inactivity ? i.e. no keyboard/mouse input for a specified time, and timing out the application ? Searching the forums and google suggest a heap of...
View ArticleCannot find governing FrameworkElement or FrameworkContentElement for target...
HiI'm having a problem with the following control template<Style TargetType="{x:Type local:SymbolFeature}" > <Setter Property="Template"> <Setter.Value>...
View ArticleHow to move a grid spliter from code
Dear all,I have a grid of 2 rows which are separated by a grid spliter. The Height of row 1 container is fully control by the Height of row 0 , so based on that contro, inside row0 and 1 does not have...
View ArticleHow to close all Presentations that are running in the Background - WPF...
Hey,i have 5 Views/Pages. In each one of it there is a Webbrowser Control that opens a different PowerPoint file via Navigate(path) Method. After i Switch the page i want to close the last PowerPoint...
View ArticleHyperlinks in XPS documents created from a flow document do not work
I have created a report class that allows a developer to easily create a wpf/xps report based on a flow document. The flow document is converted to a fixed document where the page headers/footers are...
View Article