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

Alternate between 2 datatemplates

Hello Im working on a Windows Phone 8 project, and i need to have a page with a list of items of the same class , but that are shown in 2 diferent ways they should alternate between  Image-Text...

View Article


Custom ListBox with Custom Button

Dears,  I created a custom button and a custom listbox, and would in part of the visual studio design had an easier way to add this button to my listbox, I can now by clicking Items (collection) ->...

View Article


CRUD Operation in WPF using C# Entity Framework and MVVM

Need Sample source code of CRUD Operation in WPF using C# Entity Framework and MVVM.Musakkhir Sayyed.

View Article

Error while adding validation rules

HI ,I wanted to add validation rules to textBox ,the problem is that when I do the following code I got the following error message,A value of type 'myValidations' cannot be added to a collection or...

View Article

WPF, Entity Framework, Conection String

Hello guys,I have a code:EntityConnectionStringBuilder efb = new EntityConnectionStringBuilder(ConfigurationManager.ConnectionStrings["AutoLotEntities"].ConnectionString); SqlConnectionStringBuilder...

View Article


Back and Forward Navigation in wpf csharp Application

I am a beginner in wpf Csharp. I developed an application with several menus and each menu is linked to a Usercontrol. I would like to make two buttons in my application which will functions as...

View Article

interactivity EventTrigger called everytime I load window

I have a window with this code on the xaml<Button Margin="5" Content="Check" Command="{Binding CheckForUpdatesCommand}" />...<i:EventTrigger EventName="SoftwareOutOfDateEvent"...

View Article

Media.Composition.DUCE.Channel.SyncFlush() Exception

Hi Guys, I've got this problem using the .Net Framework 4.0 on a WPF application. The users have Win7 and there are cases different with the same error:1 Case) When the user clicks on a button to...

View Article


WPF Desktop Application Development Tutorial

I want develop the desktop application for my project using c# visual studio 2013.Tutorials for WPF application??

View Article


Insert data into database using checkbox control

i have 3 checkbox Adapter,Powercode,battry. i want to insert each check box data into database based on selecttion, How its possible?

View Article

controls on top of each other

I got a scenario, where I have to have some controls pop up on top of some other controls, basically just like a popup. So in my first attempt i used a Popup, but this element has some behavior, which...

View Article

Validation Ruls help

HI,Im using the following code in order to support validation to textBox,currently what I need is very simpleI have a internal list with specific fields ,what I need is to mark the textBox with red...

View Article

Error when using datagridcolumnheader with in header template

I'm trying to use this code to create "grouped columns" in DataGrid<toolkit:DataGrid ItemsSource="{Binding }" Name="dataGrid1" AutoGenerateColumns="False" ColumnHeaderHeight="50" >...

View Article


Unable to click a WPF toolbar button

I have a wpf application.Initially,there was a toolbar present.Now,I added one more toolbar with two buttons.I am facing an issue that I am unable to click the buttons in the new toolbar.What can be...

View Article

Any news on WPF 5?

Can you share some information on WPF 5? When we should expect a new CTP?Dany

View Article


c# wpf bitmap/jpeg pixel array manipulation

Hi, I have created a wpf project in VS and have made something similar to a paint program. Now I want to save the drawings. I have found online sample codes using rendertargetbitmap and...

View Article

Image may be NSFW.
Clik here to view.

ContextMenu template autosize problam on visibility item?

hi,this is my xaml code:<Style TargetType="ContextMenu" x:Key="ContextMenuStyle"><Setter Property="Grid.IsSharedSizeScope" Value="true"/><Setter Property="HasDropShadow"...

View Article


NotifyPropertyChanged with a Shared Property

I'm designing a VB .NET WPF MVVM application which has a Public Shared Property declared on the main window viewmodel as follows: Shared _CurrentUser As New CurrentUser Public Shared Property...

View Article

defined my own custom button behaviour, how can i re-use the same xaml and...

Hello All,I have defined my own custom button - it is essentially an image, that will react when you hover over it, or when you click it. Here is the button definition:<Window.Resources><Style...

View Article

Enabling/Disabing a checkbox (based on its property) on an ICommand execute +...

Hi,I have a user control with a list of checkboxes. I have created an observable collection(hard-coded values for testing) to bind the values to the checkboxes. In addition to the caption, I have two...

View Article
Browsing all 18858 articles
Browse latest View live


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