Couldn't select ListBox item programmatically
Hi Guys,I'm trying to select the ListBox item pro-grammatically. I'm selecting a particular image from Parent window and sending that image to the child window So i'm sending the `ImageFileViewModel`...
View ArticleImpossible to display MAF AddIn Ui in my Application
Hi,I'm trying to load a user control from a addIn using MAF. The AddIn loads well, i can make calls to its Methods and read its properties. The problem is that it's impossible to Display its UI in my...
View ArticleReport Functionality.
Hello,I need to generate report to print. please guide me what will be the best solution.
View ArticleNeed to create barcode report.
Hello,My requirement is i want to generate a barcode report so that i can print and paste it to on product.Is there any Barcode 39 or 128 code available . Please guide me.
View ArticleEnable/Disable DataGridTemplate Column in WPF DataGrid
In my datagrid I have a DataGridTemplateColumn "TaxColumn"which should be enabled disabled accroding to the value of the field "POType". I am using the DataTrigger as follows. But it is not working...
View ArticleJumbled graphics output in WPF application
I am experiencing problems in a WPF client application on one of several Windows 7 machines.The output of Dialogs and Popups appear to be jumbled at times (not always). I assume a problem with the...
View Articlewpf, SerialPort not recognized.
I''m converting Windows Form code to WPF. WPF does not like this descriptor: private SerialPort gSysSerialPort;Not sure why.cte677
View ArticleHow to set the background for ComBox in WPF
Hi All,I want to know how to set the background property for ComBox in WPF. I set the property as below,<ComboBox Background="Yellow"><ComboBoxItem Content="2"/></ComboBox>But it did...
View ArticleBind Parent dialog to a Command
Hello all,I need help on the following matter :My View contains a simple tree and a button. The user selects a node in the tree and clicks the button.The call is forwarded to the ViewModel class via a...
View ArticleCustom Window Control in Visual Studio Design View
I've created a custom control that inherits from the standard Window control. The control works great when the application is run, but does not display correctly in the Visual Studio design window....
View ArticleParsing XML with C# on WPF
Hi everyone,I am trying to parse the fallowing XML file in C#:<?xml version="1.0"...
View ArticleReg detect mouse clicked element on canvas
Hello,UIElement.IsMouseOver to check whether mouse is over any particular element. We can use this in Mouse mouse event.I need similar ones to check when mouse is clicked, I want to check in...
View ArticleParse All DateTime Format
Hi I 'm still with my difficulties as beginner in C # . I am currently builfing a reader Rss Feed . When the user enters RSS URL, the RSS data are saved in a database . (DATE , HEADLINES ,...
View ArticleBamlLocalizer.Update throws XamlParseException: Cannot find type
We have a wpf control that extends the DateTimeUpDown from Xceed Extended WPF Toolkit. We have a resource dictionary for the styling of the new control.The library that contains the new control needs...
View Articlecontent in TabControl doesn't fire ContextMenuClosing when Tab SelectionChanged
<Grid x:Name="LayoutRoot"><TabControl Name="iii" SelectionChanged="iii_SelectionChanged"><TabItem Header="asdsad"><TabItem.Content><Button Width="60" Height="30" Name="aaa"...
View ArticleWPF and Windows Compact Framework
Hello,I've seen a lot of discussion on this topic but nothing newer than a couple years old. So I'm re-asking the question, when if ever will MS support WPF on the Compact framework? I ask because I am...
View ArticleShow Dialog from 'PreviewMouseLeftButtonDown' event handler in 'DataGridCell'...
Hi,I have to display a pop-up custom keyboard when user touches on a datagrid cell. It works fine when I click on it using mouse but when i use Touch, first touch is neglected. I checked at touch...
View ArticleWPF App and Windows task bar
Hi !I have an application bar which can be positioned on the bottom of the screen. I got a transparent Rectangle (height = 3) which allow the user to show the application bar when mouse is over it.My...
View ArticleHow to make event in Xaml works, after load back the Xaml?
<RichTextBox IsDocumentEnabled="True" x:Name="first" HorizontalAlignment="Left" Height="174" Margin="21,119,0,0" VerticalAlignment="Top" Width="254"><FlowDocument><Paragraph><Run...
View ArticleTriangulate List of 3D Points To Make Face, Please Help!
Hi there, I have a group of 3d planes, each plane is passed in as a vector list. each vector in the list is a position that makes up the face of the plane. The plane can be made up of 3 to 7 different...
View Article