Get openned Form
Hello,I have one form (frmHome) and one page (pgNetwork).I navigate to the page with a Frame.How can i Hide button on frmHome from pgNetwork?I tried:Â var Home =...
View ArticleHow to generate WPF Forms on basis of sql columns at runtime
Hello everyone,I am making an application in which i am asked that i should provide option to let the user decide which fields are to be there on New Employee Form. The fields which he decides should...
View ArticleBinding multiple objects to a listview
Hello,I'm trying to bind some text to a textblock, but also add in some separators to divide some sections.Xaml:<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
View ArticleWPF Treeview
Hello,I have some problems with the treeview of WPF (vb2012).On the mainwindow i have a treeview called "tvMain".In the code i add the sub item to it. Public Sub MakeTreeview() Try Dim trvItem(20) As...
View ArticleSorting content in list-of-lists on UI
Hi,Hopefully I'm missing something simple. I have a collection of collections, and I'd like to display the inner collection as a sorted list. From what I've researched, the best way to do that is to...
View ArticleTable break detect end of page Flowdocument
hello,I am a beginner using flowdocument. I am trying to print but before printing I would like to check if what i'm printing will fit on the page and if not should be put to the next page and not be...
View ArticleHow to style gridsplitter as fine line
Hello,I want to style gridsplitter as fine line , following is my template , which is not very use full for this purpose <Style x:Key="GridSplitterPreviewStyle">    <Setter...
View ArticleMax Grid Size WPF?
Hi,I 'm using a wpf object in a Windows forrm application.I add the wpf object to a Panel in Windows Form Application.The wpf object is a grid with a number of viewport3d object containing an image...
View ArticleAn exception occurred while downloading the manifest. The remote server...
ERROR DETAILS   Following errors were detected during this operation.   * [4/12/2013 2:27:08 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)      - Downloading...
View ArticleSpecial textbox format control
Hi!I Need a Special textinput function that i not can find...This is what i will do:1. the TextBox text must have this Format: "##.####.###"2. the Display ist "00.0000.000"3. textinput (Keyboard...
View ArticleAn exception occurred while downloading the manifest. The remote server...
I've developed WPF Browser application and published it to the live hosting server after well testing. My client has configured proxy server for internet use for each system. When my client is visitng...
View Articlelabel value not being saved in integer variable
Using wpf for the first time.I am unable to do rotation in anticlock wise. so i used the alternate way to complete my task, but now i want the value of slider to be held in the integer and to be...
View ArticleWhy one trigger works but the other doesn't?
... or actually the trigger seems to work but the property setting seems not to.I'm a newbie in WPF and tried two examples.Any idea what's wrong here?The square works as supposed (turns red when mouse...
View ArticleSnail Trail in WPF Animations
I am moving an image over a Path (using PathGeometry and LineSegments) I want the image to leave a trail on the path as it moves over it. There must be a way to do it because I know the WPF animation...
View ArticleHow to resize controls with its container Dynamically
Hi,I have a Combobox as UserControl,In combobox,we have one textbox,2 buttons.While resizing combobox it gets resize but its contents resized when wechenge combobox size and after clicking on control.I...
View ArticleListView Performance vs Custom ListView Control
Hi,I've got a question regarding the performance of the wpf listview control. If I'm trying to fill this control with about 1000 items the initial loading/rendering of the window takes about 15...
View ArticleCustom Expander with the enter key issue.
Hi guys,I have an Expander that in the header:<Expander.Header><Canvas Height="43" Margin="0" MinWidth="400" ><Label Content="Test" Canvas.Left="0" Canvas.Top="10"/><Button...
View ArticleWhy does my WPF Control trigger twice?
Well as the topic states, I have a MouseDown function for my label in my WPF User Control and when I click the label in my application, the event is triggered twice.Here is the code for the actual WPF...
View ArticleCamera Capture WPF 4.5
I was wondering how to capture an image using a webcam in WPF 4.5I tried following the example at http://www.codeproject.com/Articles/285964/WPF-Webcam-ControlBut i think it may be a little outdated...
View ArticleInterfaces vs Abstract classes why even use contracts?
Okay, I know there are lots of posts on this. I've read several and they have all helped me get to a reasonable understanding of the differences between both; however, I still can not seem to...
View Article