How to forbid datagrid change the position of scrollbar automatically when...
Hi all,Please see the below picture. How to forbid datagrid change the position of scrollbar automatically when click cell?thanks.
View ArticleReceiving a COM Error
Hi,I am using some VB6 Components in my WPF Code in order to interact with the methods in VB6.In case of ContextSharing I am receiving the following Automation Error:.This comes in the CurrentInfo...
View ArticleMove Focus to next control when the datepicker calendar is opened
Hello,I am using behavior class for controlling datepicker behavior.There are lot of different events i have implemented to achieve different required functionality.Now what i want to do is that when...
View ArticleResourceId for DefaultIcon
HiIn order to register my program as handler for different protocols, I need to create a bunch of registry entries. Amongst them is the DefaultIcon entry, where I have to specify a program path and...
View ArticleIs it possible to avoid that the multi value converter runs when a property...
I have a multi value converter, that use two properties of the view model that is used on the control in which is used the multi value converter.However, I only to avoid that the converter will be...
View ArticleHow to Serialize and DeSerialize List Lines?
[Serializable()] public class ObjectToSerialize : ISerializable { private List<Line> xLines; private List<Line> yLines; public List<Line> XLines { get { return this.xLines; } set {...
View ArticleChange Ribbon Height
Hello,How can I change the height of a ribbon control?If I change the height, the Alignment will be wrong(Controls are cutted off).
View ArticleComboBox Text
Hi! in a editable ComboBox that is binding to a Database, i want to check if text exist in ComboBox items.<ComboBox DataContext="{StaticResource vehiclesViewSource}" DisplayMemberPath="vehicle"...
View ArticleWhen an exception is thrown during runtime, how to enable editing automatically?
Each time an exception occur during debugging, I have to press on enable editing button in order to make changes to my code. How can I set VS so that I wouldn't have to press on enable editing button...
View ArticleDoubts about using usercontrol in the datagrid
Hi Guys,I'd like to know if there is anybody that already used a usercontrol in the datagrid, because this is my scenario. So, There is a view and its view model, inside the view there is declared a...
View ArticleWPF Toolkit and Publishing WPF application
HiI am having problems publishing a WPF application that references WPFToolkit library. When I publish the app using ClickOnce and run the app on a remote machine, it is giving errors "Cannot start...
View ArticlePrintDialog Settings
Hey everyone!Somehow I've got a problem setting the PrintRange of my printDialog.I'm using this code snippet:PrintDialog pd=new PrintDialog(); pd.UserPageRangeEnabled=true;...
View ArticleMost surprising problem!
Hi everyone,I have been around WPF for enough time now to know that its full of surprises :) But today I am dumbstruck with what I am seeing.I have a TextBlock in xaml like this:<TextBlock...
View ArticleWPF "I have in visual Studio"WPF"
Hello everyonei will would like to add RFID for the barcode. i tried so hard to find the code for it but i oculdnt fine.if anyone know how to do it thats will be so helpful. Wish the Bestabdo Alrajih
View ArticleRibbonWindow doesn't show title bar's minimize, maximize and close button...
Using VS2013 and WPF (Target framework 4.5.1) Replacing a Window with a RibbonWindow shows weird title bar where the mentioned buttons are (almost) missing, a few pixels are shown as below.Please also...
View ArticleDifficulty Printing to Canon PIXMA Printer
Whats up Guys,Having difficulty printing WPF Visual from my app.My code works fine with the Aficio printer on the job, but with the Canon it always give the same exception as...
View ArticleCustom Combo Box ScrollViewer Issue
HI,I am creating a Custom control derived from combo box. I need to add few controls above the normal combo items list in the Popup.I have done it. But whenever I focus on the combo box items using...
View ArticleCreate Print Template On User Choice
Hi,I have created a print template in my application. Now i want to develop my application as on user choice means user has to design his required print template as a report rather than static...
View ArticleComponent for dynamic print template designing
Hi,In my application i have print templates, one in which have Invoice Number, Product Details, M.R.P, Unit Price, QTY, Discount, VAT, Gross Amount, Net Amount, Product details are the fields. What i...
View ArticleMVVM pattern inventor
Hi,I'm searching the web for an offical statement who invented the MVVM pattern and a full description like those from the Gang of Four (Gamma...)Josh Smith said in an article of the msdn magazine,...
View Article