Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

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 Article


Change 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 Article

Dependency 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 Article

Image may be NSFW.
Clik here to view.

TabItems 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 Article


XAML - 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 Article

Is 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 Article

Navigate 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 Article


Resizing 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 Article


your 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 Article

TabControl 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 Article

WPF 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 Article

DependencyProperty - 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 Article


want 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 Article

Font 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 Article


DataTemplate 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 Article

Image may be NSFW.
Clik here to view.

TableCell 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 Article


Treeview: 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 Article

Expand/ Collapse WPF TreeView control in C#

Hi Experts,Is there any way to Expand/Collapse WPF tree view control using c# ?

View Article

Windows 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
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>