If using Resource Dictionary, is it possible for WPF pages to share XAML snippet with events?
Hi Peter + Daisy, My question is described in the title. Here is my initial coding. Thanks
How to include common XAML code in page?
Hi Geniuses, How to let WPF pages share common info or XAML code? 5 files are attached. Please remove the ".txt" extension at the end of each file name and add "." before the left extensions. 18075-page1xaml.txt …
Is it possible for WPF pages to share XAML snippets?
Hi Microsoft Geniuses, The attached 8 files indicate the specific scenario for my question. Please remove the ".txt" extension at the end of each file name and add "." before the left extensions. Thanks …
How to include common XAML code in page? - cont.
Hi Peter, I follow your example to load XAML using Visual Studio 2017 (.net 4.6.1). The project is built without any problem, but the text "This is text for Page 1" does not showed up. Please tell me what is wrong with the following steps…
Associating WPF apps to UWP Projects
Previously I wrote this in my Wordpress blog: <<you can write your desktop apps using WPF in order to tweak them and perfect them ready for uploading to the Windows Store. However, before you can you must first right click on the solution and…
Getting 'The certificate key algorithm is not supported.' exception when trying to establish SOAP client-to-server connection by HTTPS protocol.
Getting 'The certificate key algorithm is not supported.' exception when trying to establish SOAP client-to-server connection by HTTPS protocol. System.NotSupportedException HResult=0x80131515 Message=The certificate key algorithm is not…
WPF Dialog window not getting theme keys for styles
I've got some keys in a resource that aren't being passed to the resources of the child windows. I'm wondering if this is due to my code below. The resource with the key is being added again after the resources are cleared. The window is being newly…
WPF pages to share XAML snippets - step back
Hi Peter, I have gone through your demo. You're a really genius! I have to say it one more time. Your demo is quite difficult for me to understand at this moment. I am wondering if it is easier just to let pages share a TextBlock XAML snippet…
What can cause PreviewMouseWheel to not tunnel over the margins of a great-grandchild UI element?
I have a UserControl with a Border (CornerRadius="15" Margin="5,5,5,5"), that has many copies of itself placed inside a StackPanel inside a ScrollViewer inside a TabItem inside a TabControl. I am able to scroll inside my ScrollViewer…
? Trouble with calling a sub vs onClick Event ?
Hello & Thanks ; Normally I call this Sub Private Sub Target_self_Click(sender As Object, e As EventArgs) Handles Target_self.Click Via a Button click . But now I want get rid of the Button , and call a Sub with the same code via this Private…
How can I get to know whether the icon is the same?
These days I am making a file explorer. I get the icon of the file&directory like this. public static ImageSource FindIconForDirectory(string DirectoryName) { SHFILEINFO shinfo = new SHFILEINFO(); …
how to StringFormat number in datagrid wpf
hi there... i need help with this wpf if all three number are zero must not show it if not must show three number after
WCF service hosted on Azure App service never seems to complete threads unless restart activity is performed
I have a WCF service that performs just one task - send a message to the topic. This is performed in the below sequence. Accept a request. initialize a Service bus topic client Send the requested message to the topic. Closed the topic…
treeview with + and lines
hi, how to make treeview with node symbol as + symbol (instead of triangle) which converts to - symbol when expanded, and how to add lines (dash lines) that makes it easy to follow the intendations of the tree. thanks in advance
vb.net .vb How to put HtmlElement into string format ?
vb.net .vb How to put HtmlElement into string format ? Hello & Thanks ; I am trying to show the current link to see if it has been changed : MsgBox("Current Link = ", link) But evidently link is not the proper type . Error…
Meed Help with: .GetAttribute() & .SetAttribute()
Hello & Thanks ; I have been working on this since Aug 17th , still no avail . Code1 below (sub) only changes 1 Link . Below that is the full pgm Code2 . How can I get program , to Loop thru all 63 links . Thanks for your Help.. I…
Editing XAML files
The xaml editor goes wonky every now and again, I can usually replicate it by hitting ctrl-d on a <RowDefinition> tag to duplicate it. The editor hangs, clicking on the editor brings up a dialog up with the error Clicking on cancel brings…
using resource dictionary in .NetCore Wpf user control Class libaray
hi, i'm trying to use a .NetCore Wpf user Control Class libaray in some wpf application and it can't resolve the resource dictionary that used by a control i'm tying to use .
?? Access Denied ??
Hello & Thanks ; Pls , why am I getting this message : Access Denied You don't have permission to access "http://learn.microsoft.com/answers/questions/ask.html" on this server. Reference #18.3c05c617.1598586713.3254030b …
WPF Scaling
Hi All I already have written an application for my work using visual basic windows forms. I would now like to upgrade it to a WPF in CSharp. Although I have got to grips with the design and code I am having trouble with the scaling. It needs to run on…