Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Browsing all 18858 articles
Browse latest View live

how to create setup(.exe) file in visual studio 2010 with sql server 2008

Hi,     I have a problem to get setup file, I want to create setup(exe) file with sql server 2008 database, in that database contains Tables, Stored procedures and functions....now i dont know how to...

View Article


Combobox and checkbox with "Select All" Checkbox with binding in wpf

Hi Everybody,        I want combobox with checkbox which is bind from list in mvvm pattern.And in head of the combobox list i want a checkbox as "Select All"When i'm selecting that select all i want to...

View Article


3D Animation for card game...

Hello Ladies and Gentlemen,I've been pushing the limits of the WPF 3D capabilities and have read everything I can get my hands on from Mr. Petzold and others on the subject of 3D animation.  Here's the...

View Article

How to display text from properties.resources in WPF UI?

What I have done currently is like this. on my XAML.cs:<Label Content="{Binding MyText}" />Then in my cs file, I have thispublic string MyText { get { return properties.resources.myText; }}You...

View Article

dynamic columns in datagrid with mvvm

Hi Guys,I need to create datagrid with dynamic column, in that first row should be checkbox and remaining text rows.in MVVM design patternand also i need to change color of the cells in which checkbox...

View Article


Executing NavigationCommands.Zoom

Hi there:I'm trying to execute NavigationCommands.Zoom from a Context Menu, but I don't know what to put in the second parameter:NavigationCommands.Zoom.Execute(e.Parameter, ??);My code is...

View Article

Problem with "Assigned independent axis cannot be used. This may be due to an...

I want implement rotation and interval of axis label on x axis with LinearAxis in code behind.lineSeria = new LineSeries();                linAxis = new LinearAxis();                linAxis.Orientation...

View Article

Help 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 Article


WPF-DataGrid- Press Enter key, go to next line

I want to implement this for DataGrid in WPF, not DataGridView, such that whenever an Enter key is pressed, it would go to the next line, is it possible? I see similar solution in...

View Article


MediaElement cannot play wav audio file

<Grid x:Name="GrdMain"><Grid.RowDefinitions><RowDefinition Height="*" /><RowDefinition Height="50" /><RowDefinition Height="*"...

View Article

Image may be NSFW.
Clik here to view.

Deployment properties not opening in my setup?

Hi all,            I have wpf project with setup.i am not able to open Deployment properties of setup project.i don't know why its not coming?i want to open like this.

View Article

Wrap text so that it doesn't enlarge its panel

I need a Grid that auto-sizes to its content. There is also a caption text that should wrap so that it fits in that determined space. If the text is longer, it must not make the grid wider but instead...

View Article

Image may be NSFW.
Clik here to view.

WPF 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 Article


Image may be NSFW.
Clik here to view.

Generic MVVM Delegates Commands

                               Hi,We have develop a WPF Application, It has some Modules like Student, Class, School, Staff ....ect.I need to write MVVM Approach for the all CRUD operations....

View Article

C# : How to identify the the text alignment is horizontal or Vertical in...

Hello,I have come across scenario wherein I have to identify the text alignment in excel cell is Horizontally align( left,right,center) or Vertically Align (bottom,top center). Please let  me know how...

View Article


WPF Dispatcher - Suddenly “stuck” and not processing actions until I press a key

Hi, We're experiencing a very weird issue in our WPF app. On startup our app fires off some service requests. Then when the window is loaded is unresponsive until we press a key. CPU usage is 0%. It...

View Article

Bind two elements that are in different windows

I've done a lot of reading about binding but just can't seem to find anything on how to bind two elements together that are in different windows.  I may be way over thinking this so I thought I should...

View Article


wpf ef zipcode combobox question

Using wpf and ef 6.  I have a lookup table for zipcodes.  This table has zip, city, and state.  On a wpf window, there is a combobox for zip, a textbox for city, and a textbox for state.  How do I...

View Article

Question about sorting Detail table

Someone posted almost the exact same question here.  I attempted to use that answer in my situation but am not sure how to form the syntax.  I'm using WPF and EF.I, too, have a master/detail situation...

View Article

WPF create custom controls at runtime

Hello,In my application, i want to allow user to create custom controls using basic shapes like line, ellipse, rectangle, triangle. So user can select a basic shape just drag and drop in the canvas and...

View Article
Browsing all 18858 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>