151 Topics
|
|
Hello Community, I was wondering if there is a way to make grid transition in visual studio using the language visual basic. Please help... |
|
Hello Community, I was making my own custom window and i need help with making it in wpf, i am new to wpf so i don't know much XAML so i was wondering if you can help?, this is what i wan't. In the example i'm using the minimize button. … |
|
Hello, I am trying to have a numeric box in WPF toolbox, I have the following code which is giving me the control in the tool box, but I am unable make it accept only the numeric input. protected override void OnKeyDown(KeyEventArgs e) { short val; if (!Int16.TryParse(e.key.ToString(), out val)) … |
|
I'm trying to create dynamically text box in WPF. It is very essential that I will have the flexibility to determine where the text box will be - in pixel level. I have found many answers which use stackpanel to create "run-time" text box - but couldn't find how to … |
|
Hi everyone. I'm used to programming in C/C++ and I've created some dialog based windows apps. Recently, I've got an assignment at work to learn C# + WPF and its capabilities showing video. My company works with cameras and my job is to create an app to show their feed. … |
|
Hey everyone. I am making an application where a user can draw shapes with their mouse. All the other shapes are implemented, but I am having difficulty with drawing arcs correctly. I got the program to draw arcs, but I am having some bugs in the code. Basically it's supposed … |
|
Hello all, I have an application in which I have put a datagrid with update and delete buttons. What I want is when I change the contents of the columns and click on update button, it should update that particular cell value into the database. My xaml code is as … |
|
Hi all, I want to know the way of maintaining sessions in a WPF application. I did the same in ASP.Net but that was a web application. I'm not sure how to do the same task in WPF. Any help is appreciated. Thanks. |
|
Hello everyone, I am developing a WPF application in which there is a **header (user control)** with some buttons as "Home", "Upload", "Log Off" etc. What I want is to add this header user control in a page and when I **click the "Upload" button** of this header user control, … |
|
Hi, I'm trying to print a document in landscape, but i'm only being able to print it in portrait. I've searched for the problem but i haven't found a solution to the problem. Can you, please help? Here's the source code: public void btnImprimir_Click() { try { PrintDialog pDialog = … |
|
Hi all, I have recently designed a WPF application with some user controls and I want to code behind a user control to redirect to another window or invoke another user control however I am unable to do the same. The problems I am facing presently are as follows:- 1.When … |
|
Hey guys, I am trying to use TextInputPanel for passwordbox but since its part of WPF it does not allow us to use TextInputPanel. I followed the following link http://interactiveasp.net/blogs/natesstuff/archive/2008/10/01/ink-in-wpf-using-textinputpanel-for-text-input.aspx this works fine with the textbox but not with passwordbox, I modified the class to accept password boxes but when … |
|
Hello my fellow DaniWebbers, I have a discussion topic for everyone. Winforms VS. WPF ITT: Your opinion on the two Your reason for coming to that discision Your approval/disapproval of Microsoft abandoning WinForms How this impacts your vb.net skills |
|
Hi guys, does anybody know about render issue in WPF while using windows 7? I am facing render issues when I use effects like shadow or blur. Most controls do not appear or keeps blinking. Is there any solution to fix this problem? |
|
I've an application build with C# and WPF, that is being developed by 3 developers, including me. On a certain stage of the application, an error came up that we can't determine how it happened and how to solve it, so we ask for your help. Although everything works well … |
|
Hi all, Hopefulle someone outthere can help me identify whay i'm doing wrong. I'm sure it's something simple I have overlooked. I have the following templates in my xaml. [CODE] <Window.Resources> <DataTemplate x:Key="ModuleTemplate" > <StackPanel Orientation="Vertical"> <TextBlock Text="{Binding Path=fileName}"/> <TextBlock Text="{Binding Path=baseAddress}"/> <TextBlock Text="{Binding Path=entryPointAddress}"/> </StackPanel> </DataTemplate> <HierarchicalDataTemplate x:Key="ProcessTemplate" ItemsSource="{Binding … |
|
I have a MainWindow which has a button that triggers a transition to the next UserControl: [CODE]private void Button_Click(object sender, RoutedEventArgs e) { NewPage newPage = new NewPage(); pageTransitionControl.ShowPage(newPage); } [/CODE] On this UserControl (NewPage), it has a back button which should transition the current UserControl away, so it goes … |
|
Hi all, I've recently started developing a WPF application with Kinect, and I'm looking for a menu system. I came across this: [url]http://www.codeproject.com/Articles/197132/Simple-WPF-Page-Transitions[/url] Which I have edited slightly but it's not quite what I want. The problem is that if I have a button on UserControl1 which when pressed triggers … |
|
Hi, I have a ListView control in WPF. I need to resize the columns of listview according to window size. Can you please let me know how to approach this. Thanks in advance for help. Regards, Sravanthi Chepooru |
|
Hi all, I have been messing around with datagrid styling for a couple of days now, and I am having one issue left which I can not seem to solve. I want to highligt the text of the row on which I hover with the mouse. Well this seems like … |
|
need some help with this, i'm new in WPF, im working in a address book application, i have implemented MVVM ,in the main window i have a list box and three text boxes, also i have and a button which one makes possible to add new items,now i want to … |
|
Is there a way to call a visiblox chart that created with c# code in wpf? Let's say that i have created a chart like : [CODE]private Chart CreateNewChart(int num_chart, string chartName) { Chart newChart = new Chart(); newChart.Name = "Chart_"+num_chart; newChart.Title = chartName; newChart.Width = 600; newChart.Height = 120; … |
|
Hi, I am trying to bind a datagrid with a datatable in WPF. This is my first project in WPF. The datatable has a single column. The datatable is bound with a table that has a varbinary image column in database. In database, this is the table structure table tblPicture … |
|
Hi, Is there any alternative way to reset the scrollbar postion when datacontext chaged with out using the datagrid datacontext changed event..? Thanks in advance for help. Sravanthi Chepooru |
|
I have started the familiarize myself with WPF and have gotten stuck with the ListView I've read a lot of documentation about binding and I can't seem to find how to populate a ListView programmatically. It seems like a lot of work to create the binding and classes, etc, just … |
|
Hi, I have a usercontrol that is dynamically created on the canvas of my application. after a good amount of time over the net, i couldnt get the answer for the below. how do I align the usercontrol to the canvas left, center, top, bottom and right alignments on the … |
|
I am building a 2-3-4 tree animator as a favor for one of my teachers. I want to use animations to have the newest value traverse the tree to find where it goes and then insert the value into the node. The problem comes when I have more than 1 … |
|
Hello I have the following code for a WPF application here is the code Code from MainWindow.xaml.cs [CODE] public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } private void button1_Click(object sender, RoutedEventArgs e) { Thread[] threads = new Thread[3]; for (int i = 0; i < 3; … |
|
Hi everyone, I'm developing a WPF application for work in C# (.NET 4.0), and I've got a skins manager kind-of working. The only thing is, styles defined in my .xaml files are only applied to elements with the same classname, and don't cascade down to derived elements. Is there any … |
|
Hi All, I'm trying to bind a textbox to a listbox's selected.Content properties. The listbox displays the items as designed in the datatemplate. But I can't get a textbox to display one/any of the selectedItems properties. [B]DataTemplate[/B] [CODE] <DataTemplate x:Key="dt_Afloeser" > <Border BorderBrush="Black" BorderThickness="0.5" CornerRadius="2" Margin="2,2,2,2"> <DockPanel HorizontalAlignment="Center"> <TextBlock Name="navn" … |
The End.