Return Value from WPF App
Recently I have had to deal with things breaking in a VBA program. It is not in Excel or anything Office but in another environment. To strengthen security Microsoft keeps breaking commonly used...
View ArticleTextBlock Run background highlighting with hyphens
While trying to figure out strange visual behavior coming from a company's control library, I was led to this SO...
View ArticleBinding Checkbox based on data value
Hi, I am trying to bind the check box based on data value in MVVM, basically, if the data returns null, it should be unchecked, otherwise, checked. how can I do it in viewmodel.
View ArticleNeed a way of making one window aware of a change on a child window
We're working with VS 2015 and using MVVM Light. This is the first time we've really used MVVM Light, so I kind of doubt we're going strictly by the book. I say that up front so that you'll know this...
View ArticleHow to add a series of new nodes to a TreeView
I have a heavily modified TreeView called OOB that looks like this: I get the node that was right-clicked on like this:XmlNode selectedNode; TreeViewItem treeViewItem =...
View ArticleHow to disable one of items in a combo box which is collection of strings in...
How to disable one of items in a combo box which is collection of strings in wpf
View ArticleDisable ComboBox Item
Hello All,I have a combobox with 7 items and I want to disable 2 items out of 7 items. I tried using IsHitTestVisible butCan someone please help me?I'm using Prisim. Thanks in advance.
View ArticleWPF: Can we make the customized DatePicker as Customized Control to reuse?
Our WPF application targets medical device. Medical device requests that date format as "yyyy/MM/dd".We have implemented following block code to make the DatePicker Editable Field to always show as...
View ArticleWPF/C#: How to period notice GUI thread during Task with async call ?
In our WPF application, we have used wait cursor to indicate long process. Inside wait cursor block, we use Task with async call to query data from database to avoid to tie to the UI thread.public...
View ArticleHow can i generate PDF document in WPF application
Hi i need to know how to generate PDF in WPF application.Dileepa S. Rajapaksa ---------------------------------Trainee Developer Microsoft, Sri Lanka ---------------- Twitter : @dsrajapaksa Blog :...
View ArticleCreate New Row in WPF DataGrid?
Hello, How to create New Row programatically each and every row? here i am setting canuserAddNewRow=false in XAML... which event fires when creating New Row?sivakanth trichy
View ArticleHow to save Datagrid changes to database using entity framework and MVVM
i have an ObservableCollection that bind to a Datagrid. something likepublic ObservableCollection<User> Users { get => _users; set { if (value != _users) { _users = value;...
View ArticleHow to display a borner as an attcahed behaviour
Dear all,I have the following border which is used to display processing information at certain stage of my application.I need to reuse that border in any windows or component where I need to display...
View Articlewpf - How to get image source from resource i created
i created a resource file in the resource folder of my project named Class1...in my window i have only a image (inside a grid) i want to change its source through c# code.what i have...
View ArticleProblem memory release with WPF MainViewport component
Hello, I have a problem of freeing the memory with the WPF MainViewport component. When I make MainViewport.Children.Clear () the 3D elements disappear well on the screen but the memory is not...
View ArticleBinding issue with NaN as a value
Dear all,I have a control which have a property bind as below :TagValue="{Binding Trig,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged, FallbackValue=0}" The issue I have is that time to time the...
View Articlecsv to datagrid
hey all,So my problem is that i currently have a csv file with unknown amount of rows and columns and i only know its a big file with lots of double values that need to go into a 2-dimenional array....
View ArticleWhy does my Bluetooth LE Device stop responding after a disconnect?
Hi, I have Jabra sports+ Bluetooth device, I am able to connect first time without issue but after disconnect I am not able to reconnect the same and getting status "AuthenticationNotAllowed". After...
View ArticleXamarin Forms Update
Hi All,Is there Xamarin Forms update Available now?Kindly guide me. Thanks in Advance.Prashant S
View Article