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

UserControl , ControlDesigner????

HiI'm rewritting a well used usercontrol in wpf and now need to add some design time support.How do i do this in wpf, in win forms i used a ControlDesigner?Any link, references examples would be much...

View Article


Tooltips in WPF touch applications

HiWe develop a big WPF application for touch. We need to choose and implement some tooltip infrastructure, but we are not sure what the best implementation approach is. Our application is “touch”...

View Article


Image may be NSFW.
Clik here to view.

Accessing Text Box Values from Window to another class

Mainview modelpublic class MainViewModel : INotifyPropertyChanged { public MainViewModel() { // Insert code required on object creation below this point. } private string name; public string Name { get...

View Article

"M" (Moveto) equivalent in max path Geometry language?

Hii want to know that how to do "M" (moveto) Command in the max path  geometry language.?Ex:The following is 1/4 circle (in mini path geometry language):-<Path Data="M200,0 A200,200 0 0 1 400,200...

View Article

Problems binding same datatype inf deep collection with...

Hello together,I am trying to bind my class HierarchicLabel to a treeview. The children are hosted in the Children property.public class HierarchicLabel : INotifyPropertyChanged { // Constructors ......

View Article


Image don't display in Modern UI for WPF c#

I'm developing a Modern UI app for WPF c# , the problem is the Image displays only in mode design , when I execute the app ,  it doesn't show. I added ""pack://siteoforigin:,,," but it doesn't work....

View Article

Adding an item to a ListBox moves the focus off the selected item

When an item is added to a ListBox through an ObservableCollection / CollectionView and another item was selected and focused (you can see the keyboard focus rectangle around the item), then the focus...

View Article

How to create and use a wcf service in wpf Applications.

How to create and use a wcf service in wpf Applications.

View Article


Change application exe icon at runtime Programatically in WPF

Hi Team,We are creating a WPF application. We have implemented system tray functionality for the same. We are changing the system tray icon at runtime based on a condition whether some processing is...

View Article


How to define RelativeSource of a control in DataTemplate?

Hi,I have used DatePicker controls within a Grid with Tag Binding of RelativeSource like below:<DatePicker Style="{StaticResource DatePickerStyle}" Tag="{Binding StartDate,...

View Article

To use a wcf service in wcf application Should we create the wcf service as...

To use a wcf service in wcf application Should we create the wcf service  as  web or as wcf service application or as wcf service library

View Article

WPF Grouping Style with Expander

I want to group my DataGrid Records in the way such like this. i.stack.imgur . com/ wS75I.png (kindly remove spaces from url) All i want through this demonstrated image is grouping styling where,...

View Article

For using a wcf service in wpf application Should we create wcf service as a...

For using a wcf service in wpf applicationShould we create wcf serviceas a project if as a project then  WcfService library or wcfservice applicationoras a websiteAnd how we use service reference or...

View Article


Get text from RichtextBox content non-visually (DataFormats.XamlPackage)

Hi, I have the need to obtain the raw text value from a RichtextBox, but I do not have a visual object to use.  I have the content of the RTB in DataFormats.XamlPackage (not .Xaml so I can support...

View Article

DataGrid addRows needs a visual element

<DataGrid CanUserAddRows="True" /> I get a new row, but It is only white space! How can I add a visual element that explains that a new row can be used to add rows?Certified Geek

View Article


Problems with MVVM and hierarchy

I'm always stuck with MVVM when I'm challanged to solve the following problem:Let's say I've implemented a Viewmodel named MyCustomersViewModel which contains all stuff for some Window containing a...

View Article

DataGrid not showing updates to LINQ table, even after rebinding

I'm using a DataGrid bound to a LINQ table object. Items added to the table after initial binding will never be shown in the grid (unless i use another datacontext - but i think thats at most a dirty...

View Article


UserControl Binding With DependencyProperty

I want to bind the Properties.Settings.Default properties directly to a UserControl property. My problem is that the binding only works in one direction. If I want to save the settings I need to assign...

View Article

Declaring an instance of a object in App.xaml.cs and then using it in...

I am new to Wpf and Xaml.   I am creating a windows application that is going to use the serial port to talk to a door controller.  Every time the door opens i receive a message and I can send commands...

View Article

Image may be NSFW.
Clik here to view.

Not Display Menu after Right Clicking

Goal: When you right click on an empty space the right menu shall NOT display. The picture number two is wrong. Problem: How should I enable to do it? I don't know the right syntax code. private void...

View Article
Browsing all 18858 articles
Browse latest View live


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