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

Selecting a sub category in a dynamically bind treeview and performing some...

Sorry for asking silly question! I am new to WPF I am working with WPF treeview and binded it to database. It has Topics and sub-topicsfor e.g : -Topic1                ---Sub100...

View Article


Can we have a grid inside the cell of the DataGrid in WPF?

I need to create a Grid to display collection of objects in WPF. The collection comes at run-time and is different most of the times. The properties of the object can further be a collection.So each...

View Article


Button content local resource disappears after click

Hi,the "PluralSight Xaml Patterns - Composition Pattern" course shows a nice way to add assets to controls. I downloaded a bunch of assets from Xamalot at wrapped them as advised into a resource...

View Article

Image may be NSFW.
Clik here to view.

How to binding checkbox's status in expander in wpf?

Hi all,I have a window following:Here is my code:Viewmodel file:CollectionView= new ListCollectionView(listItem); CollectionView.GroupDescriptions.Add(new PropertyGroupDescription("Name"));View...

View Article

Scroll Nested Datagrid inside RowDetailsTemplate

I have the following xaml and c#.I use DataGrid and RowDetailsTemplate with another DataGrid.The parent grid with Person information, the child grid has cars owned by the person.I got some of this code...

View Article


How to increase brightness in wpf

Hi all,I am working on a wpf project. I have a control and set the background color of it while loading it, when the mouse enters this control, I want to highlight the control(increase the brightness...

View Article

Image may be NSFW.
Clik here to view.

Printing a document

Writing my very first WPF app and am having trouble getting printing to work like I want.I have a very simple text document that need to print with a color border around the edge of the page.I am...

View Article

can i leave a differnet thread back to the MainThread??

hey,i used a FileSystemWatcher Class and Encounter a Problem. The class works in a different Thread as the UI Thread, means if the code call some of the handler it will progrss the Nethod in a separat...

View Article


Null Reference Exception with ComboBox ItemSelection...

Hi,I am using VS2010 and framework 3.5 sp1.In my WPF application, when i select an item in my combobox its throwing nullreference exception.and the stack shows   002DE1BC 70047A41...

View Article


xmlns:local="clr-namespace" serialized without assembly name

Hi I have problem with xmlns:local. I need to reference an activity in the same assemblywhen I add activity from toolbox its add this in xaml filexmlns:local="clr-namespace:XXX.Workflow.Activities"but...

View Article

How to animate autosized element?

Hi, I have a treeview with a styled items. I would like them to appear smoothly, like it was in MSN messenger. The first problem is in case of style I can select it only like single object and cant...

View Article

Image may be NSFW.
Clik here to view.

position in gridview?

hi i have window like thisi have grid-view that has some rows and columns. i want this:when click on a row shows the window behind the row something like balloon or tool-tip.how can i do that?hamed

View Article

NavigationWindow class: remove navigation bar and maximized NavigationWindow

Hi everybody, excuse me for my English.I know that manyconversationsweremade ​​for thistype of problem but noneanswer myspecific problem...I am currently improvinga Wpf Application coded in C # and...

View Article


Example to populate Combo box

Can someone point me to an example?I have WPF MVVM program.on the main screen I have 3 text boxes a combo box and button. When user clicks on the button a popup screen shows up and displays a data...

View Article

Control Validating problem when WPF control hosted in ElementHost is clicked...

Hi,I have a winform application on which there is a mix of Winform and a WPF control hosted on ElementHost.  When the winform textbox goes into Validating because the WPF control is clicked, and there...

View Article


How to send selected value from datepicker in resource dictionary to...

Hi , I have a resource dictionary  which has dependency property like that:<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Image may be NSFW.
Clik here to view.

Can't get a ListBox to work on a splash screen?...

Hi,I download this project Prism Splash Screen Module from CodePlex and I have it working for myMEF application, but I found that only the TextBlock control works.  I can't get aListView, TextBox,...

View Article


Windows Forms to C# converter

Hi all of you,I would like to convert either a Vb project (.net framework 2.0) to C# or Vb project (.net framework 2.0) to WPF 4.5Is it possible?Thanks for your advices or hints,Primary platform is...

View Article

Validation Sample

Hi i start wpf today ,I read about Validation but i need some sample , any one have example or sample ?thanks regard

View Article

WPF: Run validation only if control is enabled

I am applying binding validation to a few WPF controls in .NET 4.0. Currently, my controls turn red and display a little warning message when they fail a certain set of ValidationRules. The problem is...

View Article
Browsing all 18858 articles
Browse latest View live


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