769 questions with XAML-related tags

Sort by: Updated
1 answer

Problem encountered while configuring the automatic provisioning profile for Xamarin iOS in Visual Studio 2023 in window 11

I've successfully generated a new API key for setting up my Apple account in Visual Studio Xamarin. I've added the new API key, which you can observe below. However, when I opt for 'Bundle signing' with Automatic provisioning, it encounters an error.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,300 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 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,364 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.
769 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
461 questions
asked 2023-09-27T13:29:15.9166667+00:00
Sanjay Kumar Jha 151 Reputation points
edited an answer 2023-09-28T06:27:56.1233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,946 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to bind Command in ContextMenuItem

Thanks to @Anonymous and @Anonymous ,now I am able to operate my TreeView and do Drag&Drop on it. Also I can ONLY display ContextMenu by right click on the first level of TreeViewItem, which is required. You can see the current situation in 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,686 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,364 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.
769 questions
asked 2023-09-25T10:08:05.2533333+00:00
BabyHai 61 Reputation points
edited an answer 2023-09-27T09:04:59.9966667+00:00
Hui Liu-MSFT 41,146 Reputation points Microsoft Vendor
0 answers

How to update page content when changing ApplicationLanguages.PrimaryLanguageOverride

I have two buttons. I want refresh content of pages without restart the program when i click in button. And change the language. WinUI3 / XAML / .NET6 MainWindow.xaml using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
728 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,364 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.
769 questions
asked 2023-09-20T08:56:31.09+00:00
Marco Fernandes Oliveira 1 Reputation point
commented 2023-09-27T03:11:06.69+00:00
Jeanine Zhang-MSFT 9,186 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to display ContextMenu on certain TreeViewItem and highlight the selected TreeViewItem in WPF following MVVM

Following MVVM, I have developed a TreeView and now I want mouse right click to show ContextMenu on certain TreeViewItem. As you can see in the screeshot, I only want the ContextMenu to be displayed when mouse right clicks on the first level…

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,686 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,364 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.
769 questions
asked 2023-09-20T10:36:51.4633333+00:00
BabyHai 61 Reputation points
edited a comment 2023-09-22T10:51:17.3833333+00:00
BabyHai 61 Reputation points
1 answer

XAML Designer view is not loading

In Visual Studio 2023 Preview Version System.NullReferenceException Object reference not set to an instance of an object. at Microsoft.VisualStudio.DesignTools.SurfaceDesigner.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 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,686 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,683 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,364 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.
769 questions
asked 2023-09-20T14:12:40.2966667+00:00
M Faheem Akhtar 0 Reputation points
edited a comment 2023-09-22T03:15:18.0833333+00:00
Hui Liu-MSFT 41,146 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to reorder TreeViewItem by drag&drop in TreeView using interactivity.behavior class in WPF

I have implemented the Drag&Drop from a ListBox to a TreeView, as displayed below. Now I want, for example, after dropping items to TreeView, I can drag ListBoxItem2 and drop it in the TreeViewItem1 and vice versa for other two items. I am using…

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,686 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,364 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.
769 questions
asked 2023-09-08T10:49:00.42+00:00
BabyHai 61 Reputation points
commented 2023-09-20T10:46:08.77+00:00
BabyHai 61 Reputation points
1 answer

How to load FBX file in Helixtoolkit.SharpDX using Assimp in WPF?

I'm using Helixtoolkit in my WPF project and it seems that Helixtoolkit doesn't support FBX files. So I think I should use the 3D model import-export library Assimp. how can I import an FBX file into my WPF project using HelixToolkit.Wpf.SharpDX.Assimp ?…

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,686 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,364 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.
769 questions
asked 2022-06-20T16:09:53.31+00:00
Yasmine_nj 1 Reputation point
commented 2023-09-19T15:16:02.6533333+00:00
Mike Wells 1 Reputation point
1 answer One of the answers was accepted by the question author.

Windows App SDK 1.4 TextBox text is shaky when resizing window

I find that when I place a TextBox control inside a <RelatviePanel> and align its sides with the panel the text gets jumpy when I resize the height of the window. If I change the property TextWrapping to "NoWrap" then the problem goes…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
728 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.
769 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,384 questions
asked 2023-09-19T00:13:15.77+00:00
Brian Duffy 30 Reputation points
accepted 2023-09-19T06:19:51.13+00:00
Brian Duffy 30 Reputation points
1 answer One of the answers was accepted by the question author.

with XAML (WinUI3) GridView and SelectionMode="Extended", how from c++ code (or even CS) can I deselect items that the user clicked.

SelectionMode="Extended" allows many items to be clicked at once. after clicking, multiple items can be drag/dropped onto a target. Once this happens, I need, via C++ code, to deselect certain items that were clicked. what is the way to perform…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
728 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,558 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.
769 questions
asked 2023-09-17T23:26:45.4366667+00:00
Mart Goodall 20 Reputation points
commented 2023-09-18T14:48:01.23+00:00
Mart Goodall 20 Reputation points
0 answers

datacontext from IOC.

Hello` A simple exemple. Can you explain me if I can implement the datacontext in XAML for this exemple Thank you in advance Best regards Pierre public partial class Principale : Window { readonly IReqPopulViewModel reqPopul; …

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,499 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,364 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.
769 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,384 questions
asked 2023-09-09T11:19:18.9+00:00
PharmaSoft 1 Reputation point
commented 2023-09-18T08:34:48.36+00:00
Hui Liu-MSFT 41,146 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

[maui] Is there any mlkit for ios?

Hi, I already create a mobile with maui. it's has function for read text from camera by using Xamarin.Google.MLKit but it's only for android. I cannot find the package for IOS. is there any package like this for ios?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 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.
769 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
190 questions
asked 2023-09-08T03:48:34.3733333+00:00
ponpon 20 Reputation points
accepted 2023-09-14T08:26:51.9833333+00:00
ponpon 20 Reputation points
1 answer One of the answers was accepted by the question author.

Remove background ContentDialog UWP

Hi, I'm trying to remove the opacity of the background behind the Content Dialog. How can I do that? See the Button and Text are with opacity because the Content Dialog.

Universal Windows Platform (UWP)
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,364 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.
769 questions
asked 2023-09-12T22:19:18.8033333+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
accepted 2023-09-13T11:24:50.4833333+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
0 answers

Problem whlie Drag and Drop in c++/winrt

I have made a WinUI3 application using c++. I have one filepicker and one drag and drop region in my application which picks and drags images respectively. While I am picking the images it is able to pick the file count the number of images and then I…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
728 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,558 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.
769 questions
asked 2023-08-31T08:11:52.35+00:00
Vivek Rao 20 Reputation points
edited the question 2023-09-10T13:41:04.5933333+00:00
Vivek Rao 20 Reputation points
2 answers One of the answers was accepted by the question author.

WPF Drag and Drop from ListBox into TreeView

I am trying to understand Drag and Drop login in WPF application. I have made simple example and I think I got ListBox items already, but I can't understand how to Drop selected item from ListBox into TreeView. Can somebody provide the solution to this…

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,686 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.
769 questions
asked 2021-04-19T19:32:35.587+00:00
mrw 201 Reputation points
commented 2023-09-08T11:38:29.9733333+00:00
BabyHai 61 Reputation points
0 answers

wpf relativesource binding in style datatemplate not working

hi, my .Net Framework wpf app, xaml binding doesn't work, here is the code: <UserControl x:Class="SegSolution.UI.Views.DocumentNavigationView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 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.
769 questions
asked 2023-08-30T22:34:08.64+00:00
essamce 621 Reputation points
commented 2023-09-07T07:37:05.75+00:00
Hui Liu-MSFT 41,146 Reputation points Microsoft Vendor
0 answers

WPF page reloading when becomes High Contrast theme.

When I change my Windows Theme to High Contrast, the current page of my WPF application reloads, starting the Constructor. If I activate a Toggle Switch and change it to High Contrast, the toggle becomes inactivated again.

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,364 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.
769 questions
asked 2023-08-30T14:44:51.9933333+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
commented 2023-09-06T19:09:57.74+00:00
Anderson Rodrigues Cavalcante 271 Reputation points
1 answer One of the answers was accepted by the question author.

binding style of menu item from mvvm

is it possible to bind menuItems to a property in viewmodel? here is my code: <Menu x:Name="mainMenus" VerticalAlignment="Center" Background="Transparent" ItemsSource="{Binding…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,683 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,364 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.
769 questions
asked 2023-09-02T14:28:25.01+00:00
essamce 621 Reputation points
commented 2023-09-06T12:17:33.8833333+00:00
essamce 621 Reputation points
1 answer

Magnifier with pixels grid in WPF

How can I create magnifier with pixels grid in WPF app? I need that pixels under cursor of mouse showing in circle of magnifier in enlarged size, for example like on photo.

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,686 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.
769 questions
asked 2023-08-31T11:55:47.9866667+00:00
Alexander Kvitko 21 Reputation points
commented 2023-09-05T03:07:32.85+00:00
Hui Liu-MSFT 41,146 Reputation points Microsoft Vendor
0 answers

How to remove all tabs and break lines of XML file in data factory?

Hello, I have an XML file and would like to combine all the lines of code into a single one. Manually, this is the equivalent of placing your mouse at the end of each line and pressing "delete" to join the next line to the current one. I tried…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,004 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,711 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.
769 questions
asked 2023-08-15T14:55:41.63+00:00
Vieira Dias, Leonor 20 Reputation points
edited the question 2023-09-04T09:50:15.8666667+00:00
Sumarigo-MSFT 44,001 Reputation points Microsoft Employee
0 answers

What do I use ScrollViwer and StackPanel by XAML?

I learn how to display a sheet on Page. I understand to use ScrollViwer and StackPanel. How comes true my leanig? Please lead me by following steps of using XAML Editor.

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.
769 questions
asked 2023-09-04T07:08:11.1166667+00:00
nippy 45 Reputation points