I have a problem with 'NoteViewer' in XML。
Dear sir, I managed to create a sample mentioned here with WPF App and Blank App (Universal Windows) http://musicengravingcontrols.com/en-US/Articles/Display?id=2 However, I have a problem here. Error Lists say "Unknown type…
Magnetic Usercontrol?
Hi, I am working on a WPF project where I will launch a new dialog inside a Window. User should be able to drag this dialog box to the edge of the window and if it is close enough, it should cling on to that side of the window like docking. User can…
Opening a New Window on a Button click - MVVM WPF
I am new to MVVM architecture, and I would like to keep the standard of MVVM without violating its rules. So I implemented an approach to open a new window on a button click using Services. I don't know if this is the right approach to do so. Here is my…
![](https://techprofile.blob.core.windows.net/images/485209778f164e4497e6f3466af8e0e8.png)
Performance delay occurs when creating new instance of my custom class on while loop
I have one custom popup wpf control ( Repeater Items control), In the repeater control, every time when press up/down creating im creating new instance of item control added to repeater item collection. My problem: I have one progress bar and my…
![](https://techprofile.blob.core.windows.net/images/e132fda0c00c4bb98c608a076c87a4cb.png)
[WPF - C7] - Problem with datagridview
Hi, I have a datagrid and when I drag fastly the vertical scroll bar to the bottom it shows like that If I click on "Install" (it's a datagrid cell with a button inside), it doesn't work and I get that If now I click on…
![](https://techprofile.blob.core.windows.net/images/319aafad7757470c87140361047582b7.png)
VisualBrush template in xaml
hi i'm creating a lib of hatch patterns as VisualBrush as a resource dictionary, every things goes well so far, i have some questions , here is my code: <VisualBrush x:Key="VisualBrush.Hatch.Fill" …
![](https://techprofile.blob.core.windows.net/images/e132fda0c00c4bb98c608a076c87a4cb.png)
Webview in wpf
I want to use my html page in webview in wpf application to load a video in webview from youtube but unable to load html page.
![](https://techprofile.blob.core.windows.net/images/e132fda0c00c4bb98c608a076c87a4cb.png)
Need to focus the grid which placed inside the Scroll Viewer on Mouse Click
Problem 1: I need to focus the Grid(UI Element) when it is placed inside the Scroll viewer. Code: <ScrollViewer> <Grid x:Name="RootGrid"> <Border Height="24" …
How do i get back a listbox item after a window closes in C# WPF
I have 1 Listbox it takes items from TextBox, when an item is added to the listbox and the application is closed, upon opening the application the item added to the listbox will still be present. Use case: User opens application. User adds item…
![](https://techprofile.blob.core.windows.net/images/e132fda0c00c4bb98c608a076c87a4cb.png)
Drag, Cling, Dock a dialog
Hi, I am working on a WPF project where I will launch a new dialog inside a Window. User should be able to drag this dialog box to the edge of the window and if it is close enough, it should cling on to that side of the window like docking. User can…
![](https://techprofile.blob.core.windows.net/images/e132fda0c00c4bb98c608a076c87a4cb.png)
Need help writing a UserControl
I trying to create a UserControl that will be added a variable number of times to a wpf window at run-time. This is my first attempt at a UserControl. I have two requirements for this UserControl: The content of the label is to be defined at…
WPF Binding multiple usercontrol to one viewmodel
My program is basicly a truck diary. I have a main page that is set up like a diary with days of the week listed. In them days of the week I have a custom control called TripUI which is setup in a listview and bound to a ObservableCollection from my…
![](https://techprofile.blob.core.windows.net/images/319aafad7757470c87140361047582b7.png)
remove Item template background
when I make template to list view item in UWP it give me a background white or black to that template such as: how can I remove this black background this is the template that I was working with: …
WPF : Cursor not visible in text box first position in RightToLeft flow direction
Hi, I have tried to remove all margin value in TextBox by accessing inner element and set Margin as 0. With this value cursor not visible in RightToLeft direction first place. But working fine in LeftToRight direction. LeftToRight: RightToLeft: You…
![](https://techprofile.blob.core.windows.net/images/e132fda0c00c4bb98c608a076c87a4cb.png)
Issues using ResourceDictionary in a C# class library
I'm having trouble with reusing styles for WPF/XAML in my project. Just to give you some context. I am making a plugin for Revit, architectural/3D/CAD software used by many architects/contractors worldwide. To make a plugin for Revit, the Revit API…
ObjectAnimationUsingKeyFrames. Is it possible Canvases usage instead of Images?
Hello everyone, I'm currently using Storyboard type based on Image replacement. The code is below. It works fine, however there's a question arisen. Is there a way to replace images with canvases? Simple I failed to find such a variant in the Web. …
![](https://techprofile.blob.core.windows.net/images/e132fda0c00c4bb98c608a076c87a4cb.png)
Is there any UWP API/way available to detect/prevent hooking?
There are many tools available to do hooking eg: frida 29.html. But i didn't find any API or way to detect hooking . Is there any API or way to detect hooking in Universal Windows Platform(UWP)? If yes, can it detect all kinds of…
![](https://techprofile.blob.core.windows.net/images/5da524cc22d64bf480edd8d86c64a8f5.png)
[C#7.0 - WPF] - RichTextBox in a DataGridTemplateColumn with binding
Hi, I'm getting crazy about a RichTextBox to insert and bind to a DataGridTemplateColumn. I have As you can see, in a cell of the DataGridTemplateColumn I have four lines and what I would like is to have these lines colored in different…
Flowdocument Table - custom border style
Is there any option to create a custom border style for Wpf Table (type of Content Element for FlowDocuments), like create a rounded corners? I'm thinking that It might be possible with drawing PathGeometry or using Adorner, but I don't know how to do…
Interaction DataTrigger doesn't work. Could anyone test this example. Perhaps I'm doing something wrong.
Hello everyone, here's a simplest code the purpose of which is animation launching from ViewModel. Some people claim that it is working code. There are not any mistakes. exceptions and it doesn't work. Could anyone test this example. perhaps I'm…