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

Adding my UserControl to each row of DataGrid

HelloI am writing a WPF application that reading data from a excel file, and adding them into a database with LINQ.I want to use my own UserControl (a complex button with animation that I create with...

View Article


Tabcontrol selected tabitem size in wpf

Hi,how to increase the size of selected tabitem in tabcontrol. Let say if i have two tab items called tab1 and tab2. if i selected tab1 only tab1 header textbox size shoud bigger compare to tab2. if i...

View Article


Schedular control in wpf

Hi,my requirement is i want send a sms for every 7 days. is there any schedular control in wpf.Thanks.

View Article

Image transparancy - animation

Hi,I currently have 2 images set up centered in a window to display a 'thinking' icon. The first image is set as 64x64 and is a static image. A second image is placed on top of this slightly larger...

View Article

how to implement lazy loading in drop down

Hi,   I have a drop down, in that drop down i am loading 10,000 records, so it's taking much time to load, so i have plan to implement lazy load, can any one tell me how to implement the lazy loading.

View Article


Datepicker Textbox Rounded corners

Hi,how to create rounded corners for datepicker and how to display a calendar when click on textbox .Thanks.

View Article

Handling PriewExecute in a command bound to a command

Hi there:I have a button bound to a command. It works ok, but if I define the Preview Execute event, even if I set e.handled = false; the command won't get executed public MainWindow() {...

View Article

set a custom sort behavior for DataGridTemplateColumn

hey,how can i customize the sortbehavior of an DataGridTemplateColumn inside a DataGrid???

View Article


Nested grid column width inheritence

I have:<Grid><Grid.ColumnDefinitions><ColumnDefinition Width="Auto"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions><!-- stuff in both columns --><Grid...

View Article


Control bound to a command enabled at design time

Hi there:Once I bind a control, say a button, to a command, it appears disabled at design time. Of course when running the app, CanExecute will tell wether its enabled or disabled. But is there a way...

View Article

what are the differneces between Convert.ToBoolean(var) and (bool)var

hey,i can remember, once i've read, there are differences between both methods to cast a variable. Please tell me again... 

View Article

Add Rectangle object to Adorner?

Hello all:I'm using an Adorner to do some custom overlay rectangle drawing using the "drawingContext.DrawRectangle(...)" approach. I'd like to experiment with applying bitmap effects to these...

View Article

WPF & D3D interop ... (WPF Textures?)

Starting with Windows 8 there have been some ways to better use WPF & D3D together... http://blogs.msdn.com/b/windowsappdev/archive/2012/03/15/combining-xaml-and-directx.aspx I'm mostly interested...

View Article


DataGrid.LoadedEvent behaviour not firing, when binding WPF Window - Height &...

Hi,DataGrid.LoadedEvent behavior is not firing when I bind the Height & Width of a WPF window, where as other DataGrid event behaviors are working fine. When I remove the binding on the Height...

View Article

Unsuccesfully Trying to Bind a Nested Property Model to a DataGrid

I wrote a minimal version of my problem, it only contains a DataGrid with 3 columns.Requirements:(a) The two ComboBox-filled columns must be implemented with identical definitions and processing. They...

View Article


Image may be NSFW.
Clik here to view.

Combo functionality on datagrid - wpf

I'm unable to get a combo to function as desired on a datagrid (using WPF).A user should be able to select an item from a combo and the underlying database be updated when the user leaves the row.  The...

View Article

Why the DispatcherTimer doesn't work?

Hi,I am alway using the DispatcherTimer with WPF or Silverlight. It is work great. I have been trying with Windows Azure Clould Serices. It doesn't work.My cloud service DispatcherTimer timer = new...

View Article


mvvm & ef & model changes

Hi,I have a masterdetail program. The datagrid is bound to the Rows property which is an observable collection and the detail is bound to the CurrentRow property which is a class from the entity...

View Article

Winforms App works on my 2 machines but crashes instantly on the machine of...

Hi there.I have two machines one Windows 8 and one Windows 7, both .NET 4.5 and on both Visual Studio 2012 installed.I developed a Winforms app that also uses a bit of xaml, which is unfortunately not...

View Article

webbrowser

Hi,i am using webbrowser control in wpf. How would i remove a scrollbar for webbrowser control.

View Article
Browsing all 18858 articles
Browse latest View live


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