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.…
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…
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…
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…
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…
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…
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 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…
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…
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; …
[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?
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.
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…
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…
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" …
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.
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…
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.
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…
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.