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

ICollectionView filter

private Repository _repo; private ICollectionView _bookView; private string _findCode; //Коллекция книг public ObservableCollection<LibMaterial> LibMaterials { get; set; } //view для книг public...

View Article


WPF Updating dynamic resource at runtime not working for a path inside a canvas

I am having a problem with trying to change the color of a path inside a canvas at runtime. I use the canvas as a visual brush for the background of a button. I would like the user to be able to...

View Article


Create image brush strokes with repeated section and deformation

Hello,I am searching since a long time a way to get the same result than the one we had in expression studio but within a WPF C# application :https://msdn.microsoft.com/en-us/library/cc294692.aspxThe...

View Article

How to define an ItemsControl property for a custom ContentControm

Dear allI have define a custom content control as below : public class RadialMenu : ContentControl { public static readonly DependencyProperty IsOpenProperty = DependencyProperty.Register("IsOpen",...

View Article

Key Tips in WPF

I have same a request like at http://stackoverflow.com/questions/814756/key-tips-in-wpfCurrently, I implementing follow the general approach:Make a DependencyProperty in your Window / top-level control...

View Article


C# WPF I want one row show for ListView

Hello I couldn't find how can I make one row only for Listview its two by default I searched some google and I took a look properties in Listview but still couldnt be able to find it. Hope you guys...

View Article

Object in collection changes without me changing it or binding changes...

I am testing an AttachedProp which I will use for Drag/Drop cursor usage.In the testing I have created a bunch of controls in a stackpanel just to use as the "visual" source of the drag cursor.  I then...

View Article

Want to use a command to capture the resizing of a datagrid's column. But it...

I've moved 2 events from a user control's code-behind to a viewmodel associated with the user control. More specifically, instead of using the user control's Loaded and IsVisibleChanged events, since...

View Article


Binding Combobox in ContextMenu in a TreeView

I have a Treeview and want to add a ContextMenu with a ComboBox.I'm having trouble setting the Item Source for the ComboBox.It wants to use the DataConText for the TreeView.I tried setting the...

View Article


Multiple Slides

I have a WPF Form which I've built to have as a display board on TV in public areas.It works very well. Some of my clients are now asking for a few different screen designs the rotate around. What is...

View Article

Integration of WPF windows in common windows hierarchy

Hi,I amcalling amethod ofa COM interface (in C# code) froma C++program part andcreate awindow in C#.This works. ButI wantthat the window iconin thetoolbar disappears. The C# windowshould appear as...

View Article

Dotted border

Is it possible to set dotted style of Border? Something like "Rectangle.StrokeDashArray" ?

View Article

Focus() inside ScrollViewer

Hello,I have an EditableTextBlock control, created according to Thomas Lebrun blog ([WPF] How to develop and editable Textblock ?).Only one think I changed is that I have added Focus to the TextBox on...

View Article


DataGrid Binding works from Source to Target, But gives Error when Mode is...

I am already successfully doing one-way binding from the source to the target DataGrid by using a Binding object for the ItemsSource property. I want to do two-way binding by merely adding the...

View Article

Image may be NSFW.
Clik here to view.

wpf c# why when i print the document from 'document viewer' is the printout...

View Article


Image may be NSFW.
Clik here to view.

WPF SQL Connection Dialog

Hello everyoneI have started project where i want the user to be able to connect to a SQL server themselves. The reason for this is that the tables might/hopefully be moved from a test server to...

View Article

[VNCSharp Help] Client Disconnecting Immediately

Hello all,This isn't the best place to ask this question, I know, but I can't find a dedicatedVNCSharp support community.I have created a WPF application that uses the control, by wrapping it in a...

View Article


WPF-Controls which are not XAML based

I just have theoretical knowledge of WPF controls. Is is possible to develop WPF controls with out XAML. 

View Article

Simulate key and Get data from clipboard

If I use this library, I will get the OpenClipboard Failed exception. Reference are from this thread.Solution is using sendskey.sendwait but it is unreliable and unstable.Now, I have no idea to done...

View Article

'EditItem' is not allowed for this view error

Hai, I am new to WPF, I added a datagrid and four columns in designer window. When I run I get this error 'EditItem' is not allowed for this view. I use code below Class MainWindow Private Sub...

View Article
Browsing all 18858 articles
Browse latest View live


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