24,498 questions with .NET-related tags

Sort by: Updated
4 answers One of the answers was accepted by the question author.

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

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-30T23:26:59.423+00:00
jennyliu835 221 Reputation points
commented 2020-09-05T17:32:32.003+00:00
jennyliu835 221 Reputation points
2 answers One of the answers was accepted by the question author.

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 …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-17T22:35:01.94+00:00
jennyliu835 221 Reputation points
accepted 2020-09-05T16:16:16.577+00:00
jennyliu835 221 Reputation points
3 answers One of the answers was accepted by the question author.

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 …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-19T18:42:05.6+00:00
jennyliu835 221 Reputation points
accepted 2020-09-05T16:14:49.033+00:00
jennyliu835 221 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-23T00:45:02.07+00:00
jennyliu835 221 Reputation points
accepted 2020-09-05T16:13:28.703+00:00
jennyliu835 221 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-09-05T11:01:59.967+00:00
Nigel 271 Reputation points
accepted 2020-09-05T11:35:29.96+00:00
Nigel 271 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
asked 2020-08-26T21:56:39.81+00:00
Nikolay Churlyaev 1 Reputation point
commented 2020-09-04T17:30:24.65+00:00
Nikolay Churlyaev 1 Reputation point
0 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-09-03T04:29:03.213+00:00
Vasic 1 Reputation point
commented 2020-09-04T01:22:09.693+00:00
DaisyTian-1203 11,616 Reputation points
0 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-25T01:23:13.52+00:00
jennyliu835 221 Reputation points
commented 2020-09-03T16:43:10.21+00:00
jennyliu835 221 Reputation points
1 answer

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-09-02T15:14:27.63+00:00
Jon Butterfield 1 Reputation point
answered 2020-09-03T02:34:25.397+00:00
DaisyTian-1203 11,616 Reputation points
1 answer One of the answers was accepted by the question author.

? 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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,862 questions
asked 2020-09-01T23:35:07.683+00:00
vmars316 621 Reputation points
accepted 2020-09-02T12:56:30.913+00:00
vmars316 621 Reputation points
0 answers

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(); …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-09-02T01:46:44.29+00:00
melon NG 291 Reputation points
commented 2020-09-02T08:39:14.657+00:00
DaisyTian-1203 11,616 Reputation points
2 answers One of the answers was accepted by the question author.

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

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-28T12:42:25.683+00:00
Faraj Elawame 21 Reputation points
accepted 2020-09-01T20:06:28.347+00:00
Faraj Elawame 21 Reputation points
2 answers One of the answers was accepted by the question author.

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,522 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,141 questions
asked 2020-08-28T14:12:11.04+00:00
Ashutosh 96 Reputation points
accepted 2020-09-01T13:34:20.067+00:00
Ashutosh 96 Reputation points
2 answers

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

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-31T09:08:31.98+00:00
essamce 621 Reputation points
answered 2020-09-01T03:20:24.933+00:00
DaisyTian-1203 11,616 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,862 questions
asked 2020-08-30T18:25:14.647+00:00
vmars316 621 Reputation points
commented 2020-08-31T17:45:03.537+00:00
vmars316 621 Reputation points
2 answers

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,862 questions
asked 2020-08-28T16:23:37.723+00:00
vmars316 621 Reputation points
answered 2020-08-31T08:42:15.22+00:00
Daniel Zhang-MSFT 9,621 Reputation points
0 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-28T18:01:50.51+00:00
David McCallum 51 Reputation points
commented 2020-08-31T08:01:49.723+00:00
DaisyTian-1203 11,616 Reputation points
1 answer One of the answers was accepted by the question author.

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 .

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-30T19:25:55.657+00:00
essamce 621 Reputation points
accepted 2020-08-31T06:49:11.76+00:00
essamce 621 Reputation points
3 answers One of the answers was accepted by the question author.

?? 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 …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,862 questions
asked 2020-08-28T03:54:07.993+00:00
vmars316 621 Reputation points
accepted 2020-08-30T20:52:20.923+00:00
vmars316 621 Reputation points
0 answers

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…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,695 questions
asked 2020-08-26T11:15:30.197+00:00
Ian Davies 1 Reputation point
commented 2020-08-30T13:33:32.267+00:00
Andy ONeill 361 Reputation points