Wpf contexmenu sub-items
hey guys, i made a template of a wpf context menu... now there's a problem which i do not know how to fix, but u guys will. my normal context menu can have submenus inside it, with those arrows,...
View Article[WPF] Control Not Updating with Bound Value Change
I've been developing in Silverlight for years, but I've had to switch to WPF for a simple sample app that connects to our WCF services. I've coded it up just like I would in Silverlight, but for some...
View ArticleHow to add circles at the end of the list box
How to add the circles at the end of the list box and next line of the list box ? Thank you. MainWindow.xaml<ListBox x:Name="lb" BorderThickness="0" Grid.IsSharedSizeScope="True"...
View ArticleConvert XAML image to SVG
Hi, I have xaml image and i need to convert xaml string tosvg string. Is it possible to convert ? Is there are any free api's available to do the same. If at all i have to convert to one to one can...
View ArticleComoBox SelectionChanged event firing when we changing value of combobox WPF
why ComoboBox SelectionChanged event firing when we changed value of combobox in WPF?<telerik:RadComboBox Name="onClockComboBox" Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" Width="200"...
View ArticleBackgroundWorker and WriteableBitmap - Working with Freezable Objects
For the most part I have my BackgroundWorker working, however I ran into the dreaded: "The calling thread cannot access this object because a different thread owns it." privatevoid...
View ArticleDifference between various culture settings in WPF
I am a bit confused about the CultureInfo properties which we can set at multiple places and how they affect.1. Language property - This we typically set in Window tag.2. ConverterCulture - We use it...
View ArticleHorizontal scrollbar in TreeView
Hello. I want to have only a horizontal scroll bar in TreeView which shows additional items not on the bottom but on the right side of TreeView(additional column of items). Is it feasible?
View ArticleWPD: Copy images from Android using RunAsyncAction
Hi All:I have a function to copy the images from Android devices & its working. But i have some issueissues:1. I want to display a 'Progressbar" while copying the images. But the prgress bar is...
View ArticleUsing a binding for a static resource
I want to bind the border background to a property - which will relate to a static resource. I currently get a XAML exception saying it cant' find resource Windows.Binding. So if I set the property...
View ArticleLanguage property and its uses
I know FrameworkElement.Language property affectsCurrency-Symbol, AM/PM.Apart from that what are the uses of Language property ? Anjum S Khan Admin/Analyst Blog.TrackNifty.com
View ArticleThe anti-aliasing feature has a bad side effect with grids
Hi allHow can I prevent semi-transparent lines inside a grid?We use wrapped ViewModels to visualize Images.One use case is, to have an Image in the background. (In my sample Project represented as a...
View ArticleMessages dialog fired the ViewModel through the DialogCoordinator using...
Good night folks! I came across a problem working on a WPF project where I use "MVVM Light Toolkit" and "MahApps.Metro". I'm trying to enjoy the feature "DialogCoordinator" provided by "MahApps.Metro"...
View ArticleWhy does linq not work directly against UIElementCollection?
Trying to use LINQ against the Children property of a Canvas. Get error "could not find implementation of query pattern ... " var ellipseList2 = from a in Canvas1.Children where a is Ellipse select a...
View ArticleWPF print FixedPage, how to set the margin of FixedPage
I create a Grid programmatically. The Grid exceeds one page of A4. I set the margin of FixedPage, but only first page work. The second page and below second page will become blank(full page). How do I...
View ArticleError in VS (2015 SP1) designer for a 4.5.2 project when *not* running...
I got this annoying error in my designer after upgrading a project to .Net 4.5.2:Error:The property "SelectionFiltersEffective" is not a DependencyProperty. To be used in markup, non-attached...
View ArticleTreeViewNodeSorter in WPF
Hi i am new to WPF and i have to do this:this.treeView.TreeViewNodeSorter = new TreeViewComparer();but there is no TreeViewNodeSorter...or i can't find it.So how can i do that?
View Articlecreating user control
HaiI want to create an user control with datagrid.I this this code<UserControl x:Class="MyGridC.UserControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View ArticleProgrammatic Change of DataGrid Row Leaves Mouse Clicked Row Highlighted
I have a DataGrid that is readonly and I want to prevent some rows from being selected. In the SelectionChanged event of the data grid I am checking if an invalid row was selected and then I am setting...
View ArticleWPF DataGrid add rows problem?
Hi guysIn windows form I have used this code to add rows in datagridviewPrivate Sub fill_plan() dgMonth.Rows.Clear() Try Dim i As Integer = 0 Dim query As String = "SELECT MonID,Unitname,Personel,Mdate...
View Article