Listview doesnt use unused space when expander is closed
Hello,I got in a window a listview and an expander parallel. The expander got also some controls in it.When I remove the expander the listview fills the content of the window. But when the expander is...
View Article"unable to cast objects of type "system.boolean" to type of "system.string",
every time I open my pc "windows 7" I get this message "unable to cast objects of type "system.boolean" to type of "system.string", what sshould I do to fix this problem so this message doesnot appear...
View ArticleChange method that TreeView uses to load data.
I have a treeview which has some leafs that have a lot of items. It is also a multilevel treeview. When I open a leaf I noticed that all next level treeview items go to get the data for the leafs...
View ArticleDependency Property binding in a custom control
I need help binding to custom control specified in DataTemplate which is part of a custom control based on ItemsControl. The xaml for the custom control looks like:<Style x:Key="{x:Type...
View ArticleTabItems not filling up TabControl in my XAML layout
Hi I have the following grid layout for my app and which is a simple grid with 2 cols and 3 rows defined as follows in a stripped down manner. Anways no matter how large I make row 3 with the Grid...
View ArticleXAML - its purpose
I'm not sure if I understand what XAML is. Is it supposed to be used for creating UI, like Windows Forms? If so, is its purpose to replace Windows Forms altogether? What else can XAML be used for?
View ArticleIs the XAML graphical editor included in all editions of MSVS-2010? How about...
The answer is supposed to be here:http://www.microsoft.com/visualstudio/eng/products/compareBut I can't find it....Thanks for your help.
View ArticleNavigate to another page from ICommand's Execute() method in WPF
Hi guys,We use this.NavigationService.Navigate(typeof(HomePage));to navigate to another page from the actual page. But, when using the ICommand's method, this will not work (not set to...
View ArticleResizing and moving at runtime WPF
I'm trying to figure out how to resize and move things during run-time, specifically Rectangles, Ellipses and Lines. I have figured out how to move a rectangle but don't know how to move an ellipse...
View Articleyour current security settings does not allow this file to be download
I am using a windows application to preview files like images,pdf files etc. Im doing it with the help of a web browser.It was working perfectly. But after installed on another machine and tried to...
View ArticleTabControl and GroupStyle
Hi my friends!I have looked for this and not found any way to do it:I need a TabControl to render grouped items (from a CollectionViewSource). The desired behavior is, each group is a TabItem in the...
View ArticleWPF app does not build after changes
I have an app which has been fine up until recently now it won't build on F5 it will build when I right click and rebuildThe resulting exe runs OK any ideas where I should be lookingjnc
View ArticleDependencyProperty - Expected class, delegate, enum, interface or struct
I am walking through a Windows Workflow from http://msdn.microsoft.com/en-us/library/windows/desktop/ff859524(v=vs.100).aspx = Walkthrough: Create a Logging Custom Activity and Deploy it to the FIM...
View Articlewant message loop in worker thread
I want a message loop in a worker thread to accomodate some 3rd-party software. The software raises events and, when run in the UI thread, blocks the UI for longer than it should.Something...
View ArticleFont rendering in .net4
my font has lost weight after the move from .Net 3 to 4 i want it to be as in .Net 3 the font is ms gothic (there was a disscution about it but not with the same problem)is there a way for it to work...
View ArticleDataTemplate Question
I have a treeview that will eventually drill down to about 30 different datatypes. What I want to do is have a panel on the right side that shows a representation of the object that was selected in...
View ArticleTableCell split after page break : remainder split part looses original cell...
I have an issue regarding TableCell splitting strategy on WPF FlowDocument Table. Here is a simple code allowing to reproduce the issue :MainWindow.xaml/// <summary>/// Interaction logic for...
View ArticleTreeview: Change arrows to plus signs
Hello, I have the following problem. I cannot figure out, how to change the arrows in Treeview to plus signs. Is there a special function like treeView.ShowPlusMinus() or do I have to write a new...
View ArticleExpand/ Collapse WPF TreeView control in C#
Hi Experts,Is there any way to Expand/Collapse WPF tree view control using c# ?
View ArticleWindows Phone tile menu in WPF
I'm writing a tile menu just like phone 7/8 in WPF: a grid of tiles. The menu is hierarchical: when you click a tile, the current tilegrid disappears, and a new grid with subtiles appears using the...
View Article