Is MouseDoubleClick event triggering from ScrollBar in wpf ListBox by design?
Can someone please confirm if the MouseDoubleClick event triggering from the ScrollBar in a wpf ListBox is a bug? I'd rather not muddy the code with a precarious workaround if it is. Instead I'll just...
View ArticleHwndHost, DirectX 11 and WM_PAINT behaviour difference between Windows 7 and 8
I have an application that has a subclass of WPF HwndHost. This sub-class overrides the HwndHost::BuildWindowCore method and creates a native HWND. I then create a D3D 11 swap chain using that native...
View ArticleHow make wpf ListBoxes highlight like wpf TextBoxes?
TextBoxes in wpf don't select text like WinForm TextBoxes. In wpf they seem to alpha-blend like selected text in the Visual Studio IDE. How can I make wpf ListBox selections consistently do the...
View ArticleWPF namespace limitation?
Hi all of of you,Is there any limitation using namespaces with WPF 4.5?I always get GITColapsat doesn't exist in the namespac clr:namespace:GITColapsat.NOTE: My WPF app has a different name of...
View ArticleTextBlock dynamic binding
I have a WPF TextBlock bound to a string using Dynamic resourse. If that string is null, I want the TextBlock to display binding value.<TextBlock Text="{DynamicResource keyState}" >if...
View ArticlePreviewLostKeyboardFocus called repeatedly in Windows 8
Hi please anybody knows reason for this just update here, I've a TextBox control with PreviewLostKeyboardFocus. Inside PreviewLostKeyboardFocus I'm calling a method to throw a custom...
View Articlecan not edit my Window or Page
Dear all,The MainWindow and Pages in my application don't update any changes in the design.I can edit them in design time, but when i run it, nothing is updated. 2 days ago, everything was still...
View ArticleWPF Datagrid Cell Focus Issue after commiting data
I have datagrid which has SelectionUnit = FullRow. When I clcik on cell, it goes to edit mode and without updation if I press Escape key. it came out from edit mode but still it has focus (dotted line)...
View ArticleSelect WPF Design Time Culture icon (nuisance)
hi ya, in my taskbar, how odd, I've checked "hide icon and notification" but it keep visible.Furthermore, every time I run my WPF 4.5 app from my VS IDE 2012 appears a new one, it is just a nightmare.I...
View ArticleRowDetailsTemplate does not call IEditableObject.BeginEdit and EndEdit
I have a DataGrid bound to a collection of ProductView objects that implement IEditableObject interface so DataGrid calls BeginEdit and EndEdit when the user edits some properties of the...
View ArticleAlign multiple nested expanders
Hi @ all I have a hierarchical data structure and want to display it using nested expanders (with right expand direction). The problem is that I want to align the latest expanders. The problem here are...
View ArticleSpecifying Duration for a multi-part animation
In WPF using C#, I want to specify the Duration for each part of a multi-part animation of an object. If I use multiple figures, I cannot specify Duration for each figure because a Figure does not...
View ArticleDrawing on SurfaceInkCanvas using object
Hi everyone, we usually use touch to draw on SurfaceInkCanvas. Is there any way to draw on SurfaceInkCanvas by using an object such as an icon or a small image? I want when the user moves a small icon,...
View ArticleFileIOPermission for Partial Trust to read files in BaseDirectory
For practice, I'm writing a partial trust WPF C# application using VS 2010. The program involves some sound, so I've provided some .wav files in the program's base directory.To avoid problems at...
View ArticleHow can I tab out of a WPF UserControl that is hosted in an ElementHost on a...
I have a WPF UserControl that is hosted in an ElementHost on a Windows Form. I am able to tab around the UserControl's sub-controls but can't tab out of the UserControl to get to the next control on...
View ArticleCapture UserControl RoutedEvent wrapped in Style
Hi, I've created a RecordNavigation UserControl (xaml and vb.net) and implemented bubbling RoutedEvents for each of the buttons. Public Shared GotoFirstEvent As RoutedEvent =...
View ArticleRetrieve data using objects VB.NET (WPFAplication)
Currently, I make aWPF applicationin VB.NETlanguage.Myapplication iscomposed of severalWindowshostingdifferent controls.Now I have tocreate multiple objectsthat allow meto have access todatamanipulated...
View ArticleTable wont flow to next page of flow document (flow document scroll viewer)
HiI've developed a prog that displays data on a flow document. This is the structure of the documentTitle (BlockUIElement)Table (Inline table)Summary (blockUIElement)It displays very well on the flow...
View ArticleHow could have Visual Studio webform Toolbox in wpf Application individual?
I want to create a designer like "Web Form Designer" of Visual Studio IDE in WPF App.does VS have any library or SDK that can use toolbox individually?I saw something in this sample Custom Activity...
View ArticleWPF- MVVM - Listbox databinding and changing the listbox item color and...
hi i am developing wpf application using mvvm pattern. My question is --- in my view i have a button .if i mouse enter on that a pop will show list of applications sharing with other users(i am...
View Article