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

Ways to migrate Windows Forms app to WPF 4.5??

hi there,I'm migrating one old Windows Forms 2.0 application to WPF 4.5 desktop app.Legacy system has approx 25 forms. Average is about 20 entry objects (typically textboxes, combos, and so on) along...

View Article


Moving WPF controls in runtime?

Hi all of you,I'm looking for one article or tutorial which explain how to move WPF controls in run-time.Any advice or comment would be greatly appreciated!!EnricPrimary platform is Windows 7 Ultimate...

View Article


Isit possible to merge list view into my camera view ?

<StackPanelWidth="1000"Height="702"MaxWidth="Infinity"><ListView Name="ListViewData" SelectionChanged="ListViewData_SelectionChanged" Height="68"...

View Article

how to remove event handlers by style?

hi.i want to remove this event handler:<Style TargetType="ContextMenu" x:Key="treeItemContextMenuStyle" ><EventSetter Event="ContextMenu.Loaded"...

View Article

How to Uncheck Menuitem isCheked property in MenuItemClick event

I am able to check the menuitem but not able to uncheck and more over it showing previous check in the menuitem. Once I click on the another menuitem it doesn't uncheck the previous menuitem. I'm...

View Article


Including a Hyperlink inside a DataTrigger, that is inside a GridColumn

So I have a grid column that I want to display property 'Name'.  If 'Name' happens to be false for property IsAccepted, I want 'Name' to have a link around it that will open in a new window.  My...

View Article

Update style that binds to static resource

Hello guys!I have somethi like this as Grid Resources:<Grid.Resources><!-- Particle Styling --><SolidColorBrush x:Key = "ParticleColor" Color = "#006699"/><SolidColorBrush x:Key =...

View Article

WPF Mulipleitems select in Combox.

Hi all, i am working on wpf .I have a combobox. Now  i need to select multiple items from the combobox without using third party tool.based on that items if i click on search ...get the data from...

View Article


WebBrowser control in WPF

Hi Guys,I have simple WPF app which contains the WebBrowser control. In the WebBrowser control I am displaying a hyperlink using  the code...

View Article


WPF ViewPort3D doesn't transmit Mouse Events to inner User Control

I’ve got a wpf app displaying a card with rounded corners. The card has two sides – front and back – and it can be turned over from one side to another by mouse right button clicking. Each side also...

View Article

How to implement a Collection-Type Attached Property instead of a...

I am trying to extend vbfox's code discussed in Using CommandBindings in MVVM that allows databinding in a custom CommandBindings class. Instead of having to...

View Article

Complete My Class

hi i try to use commands in wpf for mvvm model,this Is my Class , whats problem in my class?public class DelegateCommand : ICommand { private readonly Action _command; private readonly Func<bool>...

View Article

ItemContainerGenerator Recycling Problem

Hi,I am trying to use Recycling within my custom virtualizing panel.Here is my code:protected override Size MeasureOverride(Size constraint) { ... // computatons of firstVisibleItemIndex...

View Article


Added few buttons on expander header...Buttons are not clickable

Added few buttons on expander header...Buttons are not clickable...I have done like below...Created a DataTemplate<DataTemplate x:Key="ExpanderHeaderTemplate"><StackPanel...

View Article

How to create a TransitionEffect with code-behind

I have created 2 states for hiding and showing a grid.  All I am doing is a DoubleAnimation of the Opacity and then using the SlideInTransitionEffect to slide the grid into view.  I want to do this for...

View Article


Image may be NSFW.
Clik here to view.

MEF: Possible to register the same ViewModel with Different names?

Hi, Can you create multiple NonShared ViewModels with a different name?  My problems is I have a composite view:<UserControl x:Class="Natsar.ODS.Documents.Spoken.SpokenView" . .. ...<Grid...

View Article

C# WPF - WinForms Web Browser Styling

I have a WinForms WebBrowser within a WPF Modal Dialog window. I also have a template defined for all of my modal dialog windows:<ControlTemplate x:Key="ModalViewTemplate" TargetType="{x:Type...

View Article


ViewBox Resolution Problem

Hi: I´m developing a WPF application and I need that it fits to any screen resolution. I´m using the ViewBox control with Stretch property in Uniform mode. Also, the screens have several DockPanel...

View Article

Using MVVM pattern in WPF

Hi,I have been trying to create my first WPF application using MVVM pattern for almost 2 months.  Yes, I am going through the steep curve of learning lots of things at the same time.  Because for the...

View Article

Display data in DataGrid when column count and headings are not known at runtime

HiI have a requirement to display tabular data in a WPF GUI and the DataGrid looks to be the natural choice.In this case, the number of columns and their headings can vary at runtime. I have looked at...

View Article
Browsing all 18858 articles
Browse latest View live


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