How to completely close down the window (without surfing through all the...
I tried the following: private void MainWindowMy_Loaded(object sender, RoutedEventArgs e) { e.Handled = true; UserInfoW uiW = new UserInfoW(); uiW.ShowDialog(); if (uiW.DialogResult == true) { } else {...
View ArticleValidating Extended TextBox on LostFocus causes the validation infinite loop...
Hi, I am writting an extended TextBox (class) to handle all validations like Numeric, AlphaNumeric, allow special chars...and I am going to use this in all my .xaml files through ot my application.In...
View ArticleChange Label content via DoubleAnimationUsingKeyFrames in wpf
hello guysI'm trying to use the following code to change label text using animation:DoubleAnimationUsingKeyFrames Animation = new DoubleAnimationUsingKeyFrames(); SplineDoubleKeyFrame Spline = new...
View ArticleConvert XAML to BAML- Need some efficient Tools
Hi,I need to convert XAML to BAML. Please suggest me some efficient tools(Opensource).Thank you,ArunArun Aradhya
View ArticleRoll Back Emails.
Hi All,Am Developing An Application Which Sends Emails to usersMy Requirement is i need to roll back Email Which are sent from my application by mistakeex:to:user1@abc.comfrom:noreply@mycompany.comI...
View Articleis it best practice to copy reference to output directory in c#
can I know is it best practice to copy reference to output directory by setting the property "Copy Local" to true ? and if yes or no please explain why it is best practice / not best practice.
View ArticleHow to databind image file names without extention?
Hi Guys,When databind image file names (Text="{Binding XPath=Image}" ) The entire XPath shows up, for example, "Images/Cat.jpg" How to just get "Cat" only?Here is the XML file:<?xml version="1.0"...
View Articlecenter picture horizontally in menu item of menu grid
I have a grid with cells that look pretty square. And a picture with a transparent background and square shape.Using the picture on a top-level menu item. The menu control has RowSpan and ColumnSpan of...
View ArticleMap control with ItemsSource
Hello everybody,I'm looking for a C#/WPF mapping control (or WinForms...) similar to the BingMap WPF control but free or very cheap. I have a list of addresses in a C# collection with properties that...
View ArticleInternal Rendering Engine questions
For optimization purposes I'm trying to find answers to the following rendering-related questions, but I could not find them in the docs. 1) Is this the right order of rendering operations for an...
View ArticleCrash with .NET 4.6 - TextItemizer::Itemize
We develop a large 64-bit Windows desktop product that includes some WPF code. It targets .NET 4.5.2. I installed VS 2015 and .NET 4.6 yesterday. I'm getting occasional crashes in...
View ArticleDatepicker: hide "Select date" placeholder or change it
Hi, I would hide or change the placeholder "Select a date" shown in a DatePicker. It's possibile? Thanks.
View ArticleHow to reference Image Class in C++
HI all , Now I have two projects , a C++ project generate a dll for a WPF project. I want topass parameters System.Windows.Controls.Image from WPF to C++. But I can't find the class in C++ .How can...
View ArticleReport printing extra blank page
HiWhen viewing the report using report viewer , extra page is shown and when it is printed extra blank page is printed .Help me for this,Thank YouJeevan
View ArticleWpf Full Screen View using C#
in my wpf application, i want the feature like : If i click on Maximize window it should display Maximize window with windows Task bar in bottom side and when i double click anywhere on window, it...
View ArticleMessageBox modal
Why the MessageBox function is no modal ?System.Windows.Forms.MessageBox.Show(message, Assembly.GetEntryAssembly().GetName().Name, System.Windows.Forms.MessageBoxButtons.OK,...
View ArticleUpdate the ItemSource Collection from DataGridTemplateColumn.CellTemplate
I have a requirement to update the ItemSourceCollection from TextBlock present in DataGridTemplateColumn.CellTemplate.Here is the code snippet :IOViewModel.Assignment is an observablecollection of...
View Articlehow to access Main Window text box in other class in WPF
Hello everyone...I am using WPF Application in C#. I have textBox1 on MainWinow.xaml I want to access that text box value in another class included in my application. Please tell me how can I access...
View ArticleHow to avoid memory leak in code of Win 7 - Onscreen keyboard while clicking...
Hello Team,I am developing WPF - Web browser based kiosk application.I have implemented the feature like when somebody clicks on any textbox inside the page rendered in web browser control then...
View ArticleHow to ShowDialog() and access the properties in the view model?
I have got a ViewModel as follow: public EDM.Job Job { get; set; } private ObservableCollection<EDM.Job> _Jobs; public ObservableCollection<EDM.Job> Jobs { get { return _Jobs; } set { _Jobs...
View Article