WPF
C# WPF Handling double click events from multiple, dynamically generate datagrids through a single handler
In my current implementation, I spawn tabs and grids dynamically. Basically, a new grid needs to be created by a double click on a any row of a previous grid and use the row data for other provessin[详细]
2023-04-13 09:59 分类:问答Why does margin not work WPF?
<StackPanel Grid.Column=\"1\" Orientation=\"Horizontal\" Margin=\"0,0,0,0\" VerticalAlignment=\"Top\" HorizontalAlignment=\"Right\">[详细]
2023-04-13 09:54 分类:问答My WPF ViewModelLocator implementation is failing composition within my VSTO Excel Add-In. Can anyone critique?
Background: I\'m using MEF to help compose an Excel 2007 Add-In (VSTO) that can create an entity from spreadsheet data and a creep requirement exposed a shortcoming in my architecture that I\'m tryi[详细]
2023-04-13 09:45 分类:问答Why won't my WPF controls scale when my window is maximized via touching the top of the screen in Windows 7?
I have a borderless window created for my WPF application. It resizes perfectly on the sides and corners and also when I drag it to the left or right side of the screen it perfectly scales to fit half[详细]
2023-04-13 09:41 分类:问答How to give my custom control an overridable default margin?
Problem I\'ve created a custom control (OmniBox), which has its base style set with: <Style x:Key=\"GridStyle\" TargetType=\"Grid\" BasedOn=\"{StaticResource BaseElement}\">[详细]
2023-04-13 09:17 分类:问答WPF lines and polylines events for a 2D Editor
i want to create a 2d-editor like application in WPF an i need to know how to do this: How can intercept the event when i click on a Line or Polyline?[详细]
2023-04-13 09:07 分类:问答WPF popup control placement on two monitors setup with different resolution
I use two displays with different resolutions on my development machine. The display with a smaller resolution is configured as primary dis开发者_Go百科play. If I maximize my WPF application on the se[详细]
2023-04-13 08:52 分类:问答WPF Select text + Highlight
I have a ListView with a Binding Property with {get;set;} Name ( type string ) and each one isbinding in WPF textblock.[详细]
2023-04-13 08:49 分类:问答Window.Top reads different result in .NET 4 to .NET 3.5
We have a WPF project developed with .NET 3.5, we have converted to .NET 4, to benefit from new features, but, our main window\'s top & left properties get different results than they did in .NET[详细]
2023-04-13 08:30 分类:问答WPF: How do I draw a Polygon to preserve angles of LineSegments when Resizing
I created a glossy panel effect that looks like this: This is the XAML: <Window x:Class=\"Window1\" xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"[详细]
2023-04-13 08:27 分类:问答