wpf comboboxes - setting them up as desired
I find setting up comboboxes very difficult in WPF. I can never sure of the XAML and how to get them to look like what I want. First of all, I'd like the combobox to look like a combobox, with the...
View ArticleHow to create WPF Chart
Hi,I am having problem in creating a line chart. Here is what I want. A User has two type of hours. Working hours and learning hours. User has milestones to complete his education which are called...
View ArticleHow to select elements dynamically using linq query?
Hello,After Success of my Asynchronous call, I am doing the following operations: void proxy_GetListItemsCompleted(object sender, GetListItemsCompletedEventArgs e) {...
View ArticleHelp with the Tab Item
I have tried to add a image to the background of the tab item and i have added and now the problem is when we click on the tab item (i.e Home tab) it goes all white the logo disspears and again when i...
View ArticleWindow Background Transperent
HI,I have a textbox. if click on textbox popup will appear with close button. After clicking textbox the window background should be transperent except the textbox and popup. if close the popup the...
View ArticleQuestion about MVVM and data storage
I have a quite simple question, but I am not able to connect the two. I have been studying MVVM and understand it pretty good for the most part. The one thing that I am still having a disconnect is...
View ArticleTextBlock ignores style - why?
Check the following project: https://skydrive.live.com/redir?resid=8B169EF451FFD9FE!932&authkey=!AMGIZf2Ou78Vr6k&ithint=file%2c.zip TL;DR there's a TextBlock placed in a Popup through a...
View ArticleWPF: When the content of two TabItems are identical, the content of one...
Hello! I have a Window with two tabs, as follows:<TabControl Padding="0" ><TabItem Header="Products" x:Name="TabItem1" ><Grid> <Grid.RowDefinitions>...
View Articlefacing difficulty in binding xml to a datagrid in wpf through mvvm.
hi,this is my xml<?xml version="1.0" encoding="utf-8"?><ECGDescription...
View ArticleBinding any visual element from image
I am sure that there's a simple way to bind any visual element (like a textbox) and show it in a image source (maybe using canvas?)Tried with this<TextBox...
View ArticleIf I place CommandBindings in a parent container control, my command ceases...
Hi there:I implemented ICommandSource on a Slider, which I named CommandedSlider:public class CommandedSlider : Slider, ICommandSource { // This is the implementation of ICommandSource public static...
View ArticleInclude PDF File in project and execute it from clicking ListViewItem
I want to create a ListView that displays different ListViewItems. When these ListViewItems are clicked, I want them to launch a specified PDF file in their default PDF viewer (Adobe, etc). For the PDF...
View ArticleVisualbrush Tile mode consuming high CPU portion for bigger canvas in XP SP3
Hello,I am creating a canvas with larger size of 10000 x 10000 and using Visualbrush for background effect with tilemode= tile. But in XP SP3 Pc I am getting high CPU consumption while loading this...
View Article.NET 4.5 RibbonControl: Empty bar on top of Ribbon when not using RibbonWindow?
Hi!my team and I are currently working on an application that is supposed to use a Ribbon as a menu. As we are trying to override the default style of the window we noticed that the Ribbon has some...
View Articlehow to call a method whose name is stored in string?(xaml ,vs 2013)
string methodName = cmbbox.SelectionBoxItem.ToString(); object methodOwner = jsonObject.rates; object value = typeof(JsonObject).GetMethod(methodName).Invoke(methodOwner, new Type[0];);...
View Articleinsert XML snippet to XAML file.
Hi All.I created XML snippet and would like to insert to XAML file. But when I try:1.) To insert snippets using the IntelliSense menu. In select Edit menu, point to IntelliSense,and then try to select...
View ArticleWebBrowser script error when using google maps
Can't find anything related to this, so there is my entry on this.Until a few weeks my app would work perfectly with webbrowser control and google maps(With this i mean, my app would show the route...
View ArticleWPF How to make CONVERTER in a DataGrid with DataGridTextColumn created in code
I create datagridtextcolumn by code dynamicly. But in these way, the converter cannot work correctly.<Window x:Class="MethodConfiguration.ShowTable"...
View ArticleHow to add string values to LinearAxis chart wpf c# ?
I have strings which format is "12:30:23.8" and I can't add them to LinearAxis.Is there any way to do that?
View Article