import 3d obj model and control rotate,traslate,scale.... from buttons
hi, i'm new at WPFi searched all over the internet for some example that demonstrate how to move some 3d Model with the regularevents.i'll explain what i mean:i'm using Visual studio 2012 and opened...
View ArticleHow to make nice looking editable ListView?
I want to create a ListView which contains a bullet list like the following:<grey>Enter a SubjectName</grey><-- Should be editable onClickafter enter:MyEnteredSubjectName <-- Should...
View ArticleC# XAML - Removing the icon strip from the ContextMenu
Hello, I need to build a context menu with black background without and icon space for the menu items (on the lefthand side). I am doing this in XAML as follows:<ContextMenu Style="{StaticResource...
View ArticleUsing an Usercontrol as item in a WPF listBox
Hi,In a WPF application I try to display a usercontrol as List item in a Listbox.The usercontrol, I call KalenderDag, represent a day in a date range. So the listbox contains a KalenderDag-UserControl...
View ArticleWPF Datagrid Checkbox select row and button event
Hello everyoneI have a datagrid that shows values from a table (Customer_information) in a SQL database. I have added a Checkbox column to the datagrid. The idea is when the user checkmarks a row (or...
View ArticleUnable install wpf application on client pc
* [12/3/2015 6:17:01 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype) - Downloading http://gautam/WpfApplication1/WorkRepo.application did not succeed. - Source:...
View ArticleBasedOn MultipleStyles
I have the following, the problem is I need the TextBox to be based on the ControlStyle as well as the TextBoxStyle which is needed due to the theme being applied (both declared in a...
View ArticleWPF datagrid changing text color based on some criteria
Hi All, I have design a C# datagrid using wPF. I can now add my data into the datagrid well. Below is my xaml settings for my datagrid. My only challenge is that if any of the column values is...
View ArticleWPF - How to update textbox from another class
Hi, I'm new to WPF & C#.I would like to accomplish the following but the textbox doesn't get updated:1) In Main Window, when user click a button, this button will call/run Class22) Class2 will...
View Article[WPF] How to bind 1 custom non visual property to another one in XAML?
Situation: I have 2 properties of the 'int' type: num1, num2.Goal: To bind num1 to num2 in XAML.Problem: num1 and num2 are not visual elements.Question: Is it possible in a normal/easy way? If yes,...
View ArticleListBox could not update use ItemsSource binding ICollectionView
I try to use binding the database to the ListBox's ItemsSource, but the ListBox could not be updated on the UI.This is the code:private ObservableCollection<string> infoAreas; public...
View ArticleGrid doesnt have style Property?
Hi,I would like to style my grid using ResourceDictionary but it wont allow me as it doesnt have propery. How can i do that?<Grid x:Name="myGrid" Style="{StaticResource...
View ArticleBuild treeview with 2 objects with no relationship
I Have a Treeview that will use 2 tables from WCF Data Services.For many reasons the table have no relationship.The first Tables is Called Projects with the following...
View Articlewpf c# I want to change the font color i have code to change the background...
private void colorList_SelectionChanged(object sender, SelectionChangedEventArgs e) { Brush selectedColor = (Brush)(e.AddedItems[0] as PropertyInfo).GetValue(null, null); rtlfill.Fill = selectedColor;...
View ArticleC# WPF Add Reportviewer
Hi All, I have been doing some googling on this. Based on it first I added a new wpf and next I read you must added host. Below is how my xaml looks like. I have report to be selected based on...
View ArticleHow to write file in universal app
Hi,I have a universal blank app, and then I want to write some thing to "D:\\text.txt", and the code as following: public MainPage() { this.InitializeComponent(); this.CreateOrWriteFile(); } private...
View Article3D wireframe support in WPF?
I need to draw 3D lines (e.g., a line from point (x1,y1,z1) to some other point (x2,y2,z2) in WPF for a wireframe-modeling application. This should be fully integrated with my WPF app, so I can use...
View ArticleWho will be crowned the last WPF Guru of 2015!!
Here it is folks!THE FINAL CHALLENGE OF 2015!!Step up all known Gurus currently active!Let us see the year out in style, with some final thoughts and knowledge from everyone we love and follow in the...
View ArticleConfiguration Transform of ResourceDirectory
I would like to use the configuration transform on the Styles.xaml ResourceDirectory. I want to be able to change the appearance based on the configuration. If it is deploy, one set of fonts and colors...
View Article