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

How to totaly bind an object in template?

Hi there! I have an ItemList with customized Items by my own template. This template content Label and Image. I need to set many properties for each of two objects. So, rather than bind all of them to...

View Article


Outlook Email new message disables WPF window

This email applications works as expected, however when the new mail message is open, the WPF application window is disabled.  How can I enable the WPF application WHILE the email message window is...

View Article


TabControl header

Hi All.I would like create template or style for TabControl in case when user selected TabItem near TabItem Header will appear triangle and that triangle will be always in middle of TabItemlHeader. How...

View Article

DrawingContext draw many images to one look crazy.

.NET framework 4.0I draw many images to one, with some text.One of image I draw is like this http://ww2.sinaimg.cn/bmiddle/9d8e3bd4jw1e45bz0upjvj20c8rt2b2b.jpgWe can see on the top part ,the image draw...

View Article

Lookup value using data binding relation in DataGrid

I have a dataGrid which is bound to a contact table. The contact table has an ID value (integer) but the company name is stored in a second parent table called company. As it is a parent relation it...

View Article


Add DepedencyProperties to Controls

Hello,I'ts possible to add some Depency Properties to an Control, like Button? Or I need to create a CustomControl (UserControl) "simulating" a normal Button? Note: I'll edit Style / Template of...

View Article

How to bind TextBoxes With Keypad on a Single Form in WPF

Hello,I want to make a form in WPF with Keypad functionality and 4 Textboxes(txt1, txt2, txt3, txt4). What i want that When i click on txt1 and write anything from Keypad txt1 should get the text from...

View Article

Which of the following is NOT a requirement for an application to be...

Which of the following is NOT a requirement for an application to be "Certified for Windows Program"?a. Usage of system.settings for size, color, and font b. Support for Windows "High Contrast" option...

View Article


Turning a ListView deived control into a look less control

So I have used this solution:http://social.msdn.microsoft.com/Forums/en/wpf/thread/3308367d-0174-4389-9586-2875712bed73to implement a new control that derives from ListView. I am stuck at the spot...

View Article


WPF DataGrid Using Virtualization Mode & MultiConverter to change to cell...

Hi,I Have a DataTable which is binding to DataGrid.I am using the virtualization mode for load the window faster.I am also using multiConverter (In CellStyle ) for changing the background per each...

View Article

Folder Dialog in WPF windows application

How to select folder in WPF using c#...? Help,its urgent

View Article

Thickness no update layout

Hello,Hi have a GroupBox with Margin = "10,270,10,10" and I need to change it margin to "10,225,10,10".I already try these: grpForum.Margin = new Thickness(10,225,10,10);But nothing happens, what...

View Article

Which of the following are true about enums?

Which of the following are true about enums?a. Enums are always equated to an integral constant value b. A variable of the enum type will always contain one of the declared symbolic constants c. The...

View Article


Confused by Grid

I want to define a Grid in order to impose a layout on some controls.The display must support an unknown number of entries with a common grid layout.A single "entry" is three rows - each with two...

View Article

Populate data in ListView

Hi,I have created a listview as follows:<Window x:Class="MainWindow" x:Name="frmMain"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article


How to Change Icon > Property > Application > Icon and Manifest from code behind

Hi All,I want to change Change Icon > Property > Application > Icon and Manifest from code behidThanksA-Ashok

View Article

PostMessage vs. Dispatcher

Hello all,in the Win32 API world I sometimes had to decouple a task by using PostMessage in the same thread.In WPF I now faced the problem that I have bound a ComboBox's selected item to a property of...

View Article


Attached Property Behavior with Controls Created in Code

I am conducting an exercise where I am defining a user control using C# code rather than XAML.  I am seeing one strange behavior.  I have an attached property defined thusly:public static readonly...

View Article

App process not ended

When I close my application, sometimes the process is not ended.Also, when I'm debugging and I close my application, sometimes it takes too long the finish, the VS freezes for a little.I don't know if...

View Article

WPF and Location Services

I'm new to WPF but I managed to build a rather simple project that displays a map with a route for a delivery truck driver.  The application will run on a Microsoft Surface Pro with Windows 8.I now...

View Article
Browsing all 18858 articles
Browse latest View live


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