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

Keyboard navigation in WPF Treeview

I use WPF Treeview.Why can't I navigate to a node by pressing key strokes?I want navigation like we have in windows explorer.That is we can navigate to folder or file by pressing few initial letters of...

View Article


Why the converter is not run?

I am using the MVVM pattern and in my view I have this dataGrid:<Setter Property="Background"><Setter.Value><MultiBinding Converter="{StaticResource...

View Article


How to compare Filled color of 2 paths...?

HI,I have formed circle using  paths.On loading all paths are in Silver filled color. I can change filled color in paths on Mouse-Click event with red color, some with green color using some more...

View Article

Image may be NSFW.
Clik here to view.

Auto-size children in a container

Hi to all!Exists a container that allows to autosize children to fill the max space of the container and at the same time have the same size for all the childrens?Something like these:

View Article

INotifyPropertyChanged event fires, but UI not updated if business class...

Microsoft, This same issue was brought up in the following blog entry : http://www.lhotka.net/weblog/DataBindingIssueInWPFWithSolution.aspx Sam Bent and Kevin Moore from the WPF team were given credit...

View Article


Doubts about binding in the usercontrol in the dataGrid

Hi Everybody!I'm have a user control that I used in the datagrid control. So, this usercontrol is used to get the validations, such as required, regex and others. Each validation included by user is...

View Article

pass data from listview to textbox

Hi All.I have wpf form binding to database with listview and 2 textbox. I would like when user double click listview item according data display on textbox Private Sub Window_Loaded(ByVal sender As...

View Article

threading / opening a window

Hi guys, so im hoping you can help me with this...The method "window" below is attempting to launch a new thread, which will open up the window "MyDialog"the window contains a text box, and a button,...

View Article


UserControl: Using a Binding to Change the Template

Hello:I have a window I'm designing, and I can't get the template of the UserControl to change with regards to its own Content property, which is bound to a ComboBox's SelectedIndex.  Here's my...

View Article


Focus on item row based on column 1 in listview

I'd like to retain focus on a row, based on whether the row's first column value is the same as int focusReference value. However, I'm not sure what to put in at PlotListView.Items[focusReference] =...

View Article

WPF window size changed event and datagrid

I have a datagrid in a window as shown below and when I add the SizeChanged event to detect if the window's size is modified, all the column headers of the datagrid collapse to the width of the cell's...

View Article

Simple way to bind richtextbox paragraph indentation to slider control.

Hi guys,I have a simple richtextbox and want to add paragraph indentation, similar to MS Word.I have this code:<Grid><RichTextBox HorizontalAlignment="Left" Height="148" Margin="50,133,0,0"...

View Article

How to disable menuItem shortcuts while disabling menuitem?

Hello,I have created menuItem with shorcuts using RoutedCommand to save the record.     RoutedCommand command = new RoutedCommand();            CommandBindings.Add(new CommandBinding(command,...

View Article


about metro flyouts,

https://github.com/MahApps/MahApps.Metroin FlyoutDemo , this is in FlyoutDemo.xaml.csprivate void ShowSettingsLeft(object sender, RoutedEventArgs e) { var flyout = (Flyout)this.Flyouts.Items[6];...

View Article

Exception In Main() for WPF

I'm running a WPF application in debug mode in Visual Studio, and I'm getting an exception in the file "Application.g.vb" in the code: '''<summary> '''Application Entry Point....

View Article


Move a object on 45 degree angle without storyboard wpf vb

Can I create an animation without storyboard that will move an object say a border on a 45 degree angle?

View Article

Image may be NSFW.
Clik here to view.

Focus is not "holding" when listview refreshes

I am currently having an issue with my code where the focus on a particular item row will not hold. I created the intfocusReference to keep track of the currently focused row, but it appears to reset...

View Article


How to pass TextBox and ComboBox values from one window to a ListView in...

I would like to know if there's a way where you pass TextBox and ComboBox values from one window to a ListView in another window. Thanks Everyone. :)

View Article

Please help using Helix Tookit for Wpf

Im using helix 3d toolkit for wpf and i want to plot a surface parametrically given the arraysx[u,v],y[u,v],z[u,v]here u and v are the parameters of the surface. I looked at the surfaceplot demo and...

View Article

Why does it not work with multivalue converter and it does with a value...

I have a view, with a button in which I set the background with a multivalue converter. I am editing its template in this way:<Style x:Key="btnComponentesBuscarCustomTemplate" TargetType="{x:Type...

View Article
Browsing all 18858 articles
Browse latest View live


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