151 Topics

Member Avatar for
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make grid transition in visual studio using the language visual basic. Please help...

Member Avatar for joshl_1995
0
265
Member Avatar for joshl_1995

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. …

Member Avatar for joshl_1995
0
337
Member Avatar for getnit

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)) …

Member Avatar for Sahil89
0
617
Member Avatar for melanushka

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 …

Member Avatar for nmaillet
0
2K
Member Avatar for DarkT

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. …

Member Avatar for robert.s.junior.98
0
239
Member Avatar for LMat619

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 …

0
198
Member Avatar for KushMishra

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 …

Member Avatar for akhildwivedi
1
208
Member Avatar for KushMishra

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.

Member Avatar for pkumarSinha.399
1
2K
Member Avatar for KushMishra

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, …

Member Avatar for KushMishra
1
2K
Member Avatar for game4tress

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 = …

0
170
Member Avatar for KushMishra

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 …

Member Avatar for Sahil89
1
179
Member Avatar for oldSoftDev

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 …

0
71
Member Avatar for Begginnerdev

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

Member Avatar for Begginnerdev
0
173
Member Avatar for Sahil89

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?

Member Avatar for Sahil89
0
114
Member Avatar for game4tress

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 …

Member Avatar for nmaillet
0
294
Member Avatar for hmortensen

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 …

Member Avatar for hmortensen
0
207
Member Avatar for mt1

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 …

Member Avatar for pritesh2010
0
117
Member Avatar for mt1

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 …

Member Avatar for lxXTaCoXxl
0
135
Member Avatar for Sravanthi Ch

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

0
62
Member Avatar for mfas

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 …

Member Avatar for mfas
0
2K
Member Avatar for albana

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 …

0
63
Member Avatar for anaisthitos2

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; …

0
96
Member Avatar for dhanlak

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 …

0
105
Member Avatar for Sravanthi Ch

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

0
101
Member Avatar for danielgr

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 …

Member Avatar for danielgr
0
1K
Member Avatar for arunkumars

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 …

Member Avatar for Antenka
0
204
Member Avatar for toadzky

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 …

0
85
Member Avatar for arya6000

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; …

0
86
Member Avatar for lee.j.baxter

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 …

Member Avatar for Ketsuekiame
0
148
Member Avatar for hmortensen

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" …

Member Avatar for hmortensen
0
2K

The End.