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

RichTextBox along with dictionary?

Hi, my aim is show to the user one specific TextBox or RichTextBox where user can write using a dictionary for the grammar.Is it possible? I used to use a RichTextBox allowing the users to write text...

View Article


Dynamically swapping *Shared project* WPF Themes (Styles) at runtime

Hi, this is very closely related (and expands upon) to my last question...

View Article


Image may be NSFW.
Clik here to view.

How to restyle control to have specific UI in WPF

here i am giving the image of a control which will show the thumbnail of many images and user can scroll among the images. user can set how many images will show per line. user can set how many rows...

View Article

AutoCompleteBox with Highlighted Text - dependency property not having value...

Hi there,I am using following code in silverlight for " autocompletebox with highlighted text" . ref. from....

View Article

Dataprovider filter returns data only once

HelloI would like to open a window showing the contents of a single record, based on a selection in a datagrid on another window. After double-clicking the appropriate row in the datagrid a new window...

View Article


WPF - Check for XBAP new version on IIS

Hello guys,sorry for putting up with my stupid questions but i this one makes sense :DMy main project is a XBAP app that is in a IIS site. What i'm wondering if i can do is a button in my application...

View Article

Change the size of the shell to adjust to the region size (Prism) (MVVM)

I have a shell that was handed down to me from my supervisor. I have been asked to create multiple modules to place within certain regions of the shell.  My problem lies with the sizing of the shell....

View Article

How to display data in a Datagrid based on cascading combo boxes MVVM

I have a datagrid that is being populated by using entity framework. The datagrid's item source is an observable collection:The ViewModel has the following public ObservableCollection<Batch>...

View Article


Image may be NSFW.
Clik here to view.

How to make a line chart in wpf

Hi All,I am working on a WPF project based on .Net 3.5, there is a line chart in this project as the follow:I find WPF Toolkit is a free control for chart in wpf, so I write code as the...

View Article


Unable to input text in child windows of WPF window called from winforms

Hi all,I am expiriencing the following issue with a text input on WPF windows.I have an existing winforms application. I've created a WPF dll, which has a main window called "Map". This window opens...

View Article

looking for WPF related URL

is there any web site which provide huge sample code for wpf only for developing cutting age glossy attractive UI & controls. i search Google but found none. i am looking for various article for...

View Article

DataGrid as ComboBox drop down w/ Sortable Columns without using Expression...

I am trying to display a DataGrid when the Drop Down is selected in a ComboBox. I have found many examples in forums and blogs but most of the serious ones appear to use Expression Blend, which I don't...

View Article

combobox filtering

HiOkay, I have an my ListBox bound to an observablecollection(of IGeneric) called Rules. Currently there are two type of rules.So I have two datatemplates defined for those two types of rules. so each...

View Article


Is there an 'inlinesproperty' for a textblock datatemplate?

Hi,     my application generates a datatemplate for a textblock at runtime (i.e. in code). This works fine if I only want to bind to the text property see below:Binding binValueBinding = new...

View Article

Trivial ListBox/ListView Autoscroll

Hello, I created a simple ListBox and bound it to some ObservableCollection and I'd like the listbox to autoscroll when I'm adding item to the source collection. Since I'm really into WPF UI/data...

View Article


Binding to header name in DataGrid

I am trying to display the full name of a column in a DataGrid in a ToolTip because they typically don't fit in the default view. I do that successfully for the cells with the following...

View Article

How to reference a control in a DataTemplate?

Hi all,Another (hopefully) easy question.  And yes, I have searched for the answer first.I have a dataTemplate:<DataTemplate x:Key="codeTypeTemplate"><StackPanel...

View Article


'DeferRefresh' is not allowed during an AddNew or EditItem transaction.

Hi, I have this exception when using my application. I know more or less where it comes from :My application uses tabs. I open a tab containing a datagrid. When i double click on a cell, it...

View Article

Failing to style ComboBoxColumn for validation errors

I'm using Visual Studio 2010, and am attempting to display validation errors to the user for a ComboBoxColumn in a Datagrid.  ValidationStep=UpdatedValue.  Here's the column...

View Article

Struggling with Name Space to get a Value Converter to Work

Would appreciate help to get this code to work.  I'm using VisualStudio 2012, using WPF with VB.NET.  I have a namespace named MyNameSpace. It's defined at the solution level  It has a number of...

View Article
Browsing all 18858 articles
Browse latest View live


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