How to make sure that my main window's vertical dimension never surpases the...
My main window contains a DataGrid, and I am implementing my own myWindow.SizeToContent = WidthAndHeight; feature BEFORE the data is fed into my underlying data structure. The value of the vertical...
View ArticleHow to show day & night in WPF on a sphere (Earth)?
Experts,I'm starting WPF, and have this requirement for a software interface...A sphere, with earth on it, but show day & night views. Night views like this:...
View ArticleInclude Code-Behind Object Property in MultiBinding
Hi, need help with MultiBinding. My project opens a COMM port but only allows opening if all comm parameters have been chosen. Each comm parameter has its own pre-loaded ComboBox, with item 0 meaning...
View ArticleAutocompleteBox - DropDownHeight when Window is small?
I have an AutoCompletebox on a Window that is very narrow. The Window Height=60.This means that the PopUp/ListBox drops down outside the window. As you can see in the image if I make the Height of...
View ArticleWPF Datepicker Control
I have a datepicker, but it is allowing me to enter any text. I want to disable user from entering text. User should be allowed to select date from the calendar. <Window...
View ArticleIs WPF dead or going to be
I read this article and not sure if its worth learning WPF in case its not used in future - anyone got any thoughts?http://www.theregister.co.uk/2010/09/09/microsoft_html_5/
View ArticlePerformance hit on WPF when it calls Jscript code which calls GarbageCollect()
Hi There,I have function written in c#, Here are the pseudo codeDoEvaluate(){JScript.Evaluate();}Inside JScrit Evaluate(){CollectGarbage();// this is to release file pointer}I call this DoEvaluation()...
View ArticleMVVM : Model and ViewModel
Can someone please enlighten me with MVVM My initial understanding was I create a list of model objects but now I find out that I have to create an object of the viewmodel that i will bind to...
View ArticleClickOnce Security Zone Local Intranet
This is a basic question as I try to learn about security. I am using VS 2012 on Windows 8, C# WPF.On the project's property page / security tab / ClickOnce / Partial Trust, I have been successful in...
View ArticleUser Control's child event in Window?
Hi I don't know if this is an appropriate question to ask, but am new to WPF so a lot of things are still confusing.I have an user control, say CustomSliderCtrl. Within that user control I have a...
View ArticleHow to access a child control of an Application.Resource parent control?
<Application.Resources><tb:TaskbarIcon x:Key="mnuMainTaskbarIcon" ToolTipText="hello world" Visibility="Collapsed"><tb:TaskbarIcon.TrayPopup><Border x:Name="borderTest"...
View ArticleRemove line between tabcontrol and tabitem
Been trying to imitate outlook design and I've attached is my result for the tabcontrol, what I just want to do now is to remove the line between the header and the container as can be seen in the...
View ArticleWPF Datagrid
Hi, I am using a data grid and collection view as item source. Added 2-3 records to itemsource. Apply grouping, swaps the columns & add new row.Datagrid shows all records.Now remove grouping. Add...
View ArticleEmbed control within another control
Is it possible to embed a control such as listbox into a subitem of a listview?
View ArticleImitate the gradient style of outlook 2007
Anyone here who has the style of the Outlook 2007 'gradient' like in the following screenshot (the container where the 'Deleted Items' is placed'):
View ArticleCriticize my UI design
Designing the UI is not my strongest skill so I am not sure if my UI looks professional or childish so I wish to get your criticisms on attached screenshot.
View ArticleWPF: Binding to IEnumerator?
I have two buttons, (next button and previous button) that moves to the next or previous record, I am using IEnumerator for this and added the MovePrevious method. Upon moving records, I am manually...
View ArticleNavigation between view using MVVM in WPF
Im new to WPF and MVVM. Im trying to create Login window using MVVM and i succeeded to create. here is the Login.xmal code.<Button x:Name="btnLogin" Content="Login" HorizontalAlignment="Left"...
View ArticleExpression from Vs didnt display Design View for my Project created with VS
Hey,if i create i Project in VS 2012 with Net 4.5 Blend wont Display the designview and is useless.Maybe its a bug which i can fix??
View ArticleHow to pan child and parent controls in sync ?
Hi, I have a high resolution image which the user can view by panning and zooming which is inside a canvas. I have few other controls like text boxes and buttons which i want to place at different...
View Article