786 questions with XAML-related tags

Sort by: Updated
0 answers

Alternative for AllowsTransparency

Hi, We are facing some memory issues in our WPF Application. While searching for them I have found this particular MSDN link:- https://video2.skills-academy.com/en-us/troubleshoot/dotnet/framework/wpf-render-thread-failures In this link, several…

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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-07-02T12:49:30.967+00:00
Gurpreet Singh 1 Reputation point
commented 2021-07-05T05:06:11.463+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

Character Handler in WPF

Hi, I would like to jump in a ListView (GridView) by entering letters to the entry that starts with these letters in the first column. Unfortunately, this does not already happen automatically. Therefore I wanted to implement it myself. But I notice…

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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-29T13:40:26.33+00:00
Heiko 1,216 Reputation points
commented 2021-07-02T09:50:43.133+00:00
Heiko 1,216 Reputation points
0 answers

Specifics of the ModelProperty.SetValue method from Microsoft.Windows.Design.Interaction.dll

0 Are there any peculiarities of the method SetValue from Microsoft.Windows.Design.Model.ModelProperty class (Assembly Microsoft.Windows.Design.Interaction.dll) When I assign a value using this method, it appears in the XAML file but is not…

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-30T03:20:12.34+00:00
commented 2021-07-01T05:25:20.367+00:00
0 answers

expanded issue in virtualized treeview

I decided to use UI virtualization, because there are a lot of items in the treeview. But there are some problems. When I expand a node with 1000 child nodes, the UI does not display normally. And it has scrolling issues: not smooth…

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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-22T01:24:41.337+00:00
나래 정 1 Reputation point
commented 2021-06-29T01:14:36.927+00:00
jnr 1 Reputation point
2 answers One of the answers was accepted by the question author.

How do I select, specify, or multi-column with SqlQuery in C# WPF Entity Framework?

I'm using WPF, C#, Entity Framework database-first with a SQL Server database. I did execute this query with successfully in SQL Server: SELECT SUM(MEGHk) AS Meghksm, SUM(MABL_K) AS Mablksm, SUM(N_MOIN) AS N_MOINSM, …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,575 questions
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,706 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,583 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-02-15T06:44:28.927+00:00
Mojtaba_Hakim 281 Reputation points
accepted 2021-06-26T06:33:46.53+00:00
Mojtaba_Hakim 281 Reputation points
0 answers

Is there a way to draw lines in 3D space using WPF?

I'm trying develop a WPF application using a Viewport3D control. I need to be able to draw lines in 3D space to draw satellite orbits and rocket trajectories around a globe, so I really need the lines to be occluded by the globe when they are on the…

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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-24T16:40:59.71+00:00
Max Kraemer 1 Reputation point
commented 2021-06-25T06:38:20.687+00:00
DaisyTian-1203 11,621 Reputation points
1 answer

WPF XAML: Custom Window Style not working

I am attempting to customize the window style in a WPF .NET Core 3.1 application in VS2019 v16.10.1 and previous. I'm following along with a video, currently adding the style directly in the MainWindow.xaml. None of my style shows up in the XAML design…

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,706 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,830 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-14T15:39:13.33+00:00
B R 21 Reputation points
commented 2021-06-16T02:46:45.53+00:00
DaisyTian-1203 11,621 Reputation points
1 answer One of the answers was accepted by the question author.

How to convert RadioButtion values to integers

I have two RadioButtons on a wpf window that the user can use to indicate whether a transaction is of type credit or debit. The DataContext of the window is a transaction with an integer property TypeID. I am trying to bind the RadioButtons to this…

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-08T08:23:28.853+00:00
RogerSchlueter-7899 1,256 Reputation points
accepted 2021-06-10T09:27:53.803+00:00
RogerSchlueter-7899 1,256 Reputation points
0 answers

In VS2015 professional update 3 The Windows Software Development Kit (SDK) required by the XAML Designer was not correctly installed.

Hi All, Recently I update my OS from windows 8.1 to windows 10. After completing the Visual studio 2015 professional update 3. When I lunch the my WPF application I found that XAML design forms are not loading and I am getting below SDK exceptions. …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,322 questions
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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-08T05:35:27.363+00:00
Mahendra, Reddy (Contractor) 1 Reputation point
commented 2021-06-10T02:02:58.613+00:00
DaisyTian-1203 11,621 Reputation points
2 answers

C# WPF Problem with Viewmodels executing business logic twice. Once on Application Loading and then again when User Selects their View

I have a problem trying to find a way to avoid my ViewModels executing their business logic eg methods calling to database to load tables etc twice. I can see that when I run my application (windows desktop) the ViewModels execute their methods during…

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-04T07:24:54.8+00:00
scott thomson 66 Reputation points
commented 2021-06-09T21:59:33.04+00:00
scott thomson 66 Reputation points
2 answers One of the answers was accepted by the question author.

How to get the name of a node in XML

I'm learning to use C# to read an XML file. In specific, I use this line: XmlNodeList bookname = xmlDoc.GetElementsByTagName("book"); In the XML file, I have: <book name="Side-on Apparition"> So how can I get…

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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-08T23:42:12.447+00:00
Coreysan 1,651 Reputation points
commented 2021-06-09T18:12:31.583+00:00
Yitzhak Khabinsky 25,726 Reputation points
2 answers One of the answers was accepted by the question author.

Displaying several random images in several Image Controls from a folder without repeating in WPF?

First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). I have 30 images (*.png) that i want to display randomly in 30 Image Control. I wrote the following codes but ... XAML codes <GroupBox…

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-05T11:25:15.19+00:00
رضا جافری 1,291 Reputation points
accepted 2021-06-09T16:01:53.583+00:00
رضا جافری 1,291 Reputation points
2 answers One of the answers was accepted by the question author.

Add data to new table in One-to-Many relationship using Entity Framework Core

I am trying to build a simple example where I have Projects, each project will have own time schedule, time schedule will consist of tasks. Currently I have built my interface so that user is able to add new Project to ComboBox. Then by selecting project…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
719 questions
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,706 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,583 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-06-04T12:55:46.58+00:00
mrw 201 Reputation points
accepted 2021-06-05T10:16:59.823+00:00
mrw 201 Reputation points
1 answer One of the answers was accepted by the question author.

How to view "xaml" and "Style" in the.NET Framework source code

I downloaded the.netframework4.7.2 source code to look at the control's source code. The controls XAML and Style are not found.

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-05-31T02:37:12.567+00:00
冷夜孤星 21 Reputation points
accepted 2021-06-02T10:42:36.05+00:00
冷夜孤星 21 Reputation points
1 answer

Media Element Keeping Files Open

I have a media element next to a list of picture files. When the user clicks a picture in the list it displays in the Media Element. When the user chooses to delete the file I'm setting the Media Element's source to nothing before displaying a…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,644 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-05-31T03:39:09.34+00:00
Ken Krugh 116 Reputation points
commented 2021-06-02T07:33:28.6+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

how to make single app msi file for my app with webview 2 runtime (exe) offline installation?

Recently I have worked webview 2 application It is working fine.But During the setup , I need to install webview 2 runtime (exe) by manually in my systems. so I want to bundle this exe into my app and make it as single output file (msi) , also when…

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,706 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,583 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-05-25T12:35:48.777+00:00
Muthukumar S (ZNX) 1 Reputation point
commented 2021-05-28T05:40:04.127+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

The Background color painted on the Button occurs on scrolling slowly using horizontal scrollbar

Replication: Make sure the horizontal scrollbar is positioned to the far left Move the horizontal scroll bar very slowly Observe the Background color painted on the Button. Expected result: Background color should not paint on the…

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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-05-17T14:25:05.47+00:00
Arunthivakar Azhagu 1 Reputation point
commented 2021-05-27T08:34:09.593+00:00
DaisyTian-1203 11,621 Reputation points
2 answers One of the answers was accepted by the question author.

ICommand secrets :) Can I creamte my own ICommand replacement ?

Hello, I have a small testing code for MVVM in MS VS 2019 v16.9.4 C# .NET5: https://drive.google.com/file/d/17-GjKU1E22FPJ7szMBoI5Y_H_g6Z-uQh/view?usp=sharing There are only "class VM" and standardized "RelayCommand :…

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-05-12T05:49:19.513+00:00
JerryM 1,121 Reputation points
accepted 2021-05-21T05:53:27.49+00:00
JerryM 1,121 Reputation points
0 answers

Printing datagrid rowdetails ignores code changes in LoadingRowDetails method

I have a WPF datagrid showing a list of members. When a member is selected, rowdetails open showing further details for that member. I catch the LoadingRowDetails event in order to make certain format changes in the rowdetails, depending on the nature…

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-01-25T19:13:17.547+00:00
Mike Whalley 71 Reputation points
commented 2021-05-20T15:47:12.387+00:00
Mike Whalley 71 Reputation points
0 answers

Is it possible to add another Windows form inside MainWindow form using WPF C#?

In MainWindow.xaml: <avalonDock:LayoutDocument x:Name="docBlock1" ContentId="contentBlock1" Title="Block 1"> <StackPanel x:Name="spBlock1" Loaded="spBlock1_Loaded" /> …

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,706 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
786 questions
asked 2021-05-19T07:47:22.837+00:00
DINESH KUDALE 6 Reputation points
commented 2021-05-20T12:50:02.563+00:00
DINESH KUDALE 6 Reputation points