Restrict printer selection while printing in WinUI app
In a WinUI app, I want to restrict the user from selecting any printer, only allowing a predefined set of printers. Additionally, the user should not be able to modify the print settings, such as altering the paper size or page range; they should only be…
WinUI3 TabView Binding Not Updating Correctly - Recycling Instances?
Is this a bug in TabView implementation? Or what could I be doing wrong? Summary: Binding seems to get out of sync when adding and removing tabs from tab TabView. Minimal Working Example that Demonstrates the Issue: Code for minimal working example…
How to run the Windows Function Example Codes independently?
I am not able to test and run the sample exemplary code of IP adapter address or for that reason any other exemplary sample codes of Windows functions. How can I independently test and check if this code helps me to get all the required information which…
How to implement alternating row colors in a ListView using Windows App SDK
I have a Windows App SDK app that has a ListView, and I want the row colors to alternate. What is the best way to achieve this?
How to Disable Scrolling in a Navigation View with WindowsAppSDK
I have a WindowsAppSDK app that uses a navigation view control for navigation. For one of the pages, scrolling should be disabled, allowing the page to shrink to fit within the navigation view's content pane. How can scrolling be disabled and the page…
Need primary window on top of another primary window using WinUI3 and win32
Hi team, I am referring the below code sample which is provided by your team. https://app.box.com/s/wbpx7rzvwyqna66z0yckfprcf6qxg9kh So now we have requirement to keep two primary window on top of another main window. and 1st main window to…
Is it possible to verify add-on purchase in a standalone windows build
Hi, Due to compatibility issues with several SDKs, I plan to build my game as a Windows Standalone application rather than a UWP build in Unity. However, I have discovered that Microsoft Store SDKs are only available for UWP builds, which prevents me…
why GATTSetCharacteristicValue return 80070005 on windows8.1
when i use GATTSetCharacteristicValue Send data to ble device (on windows 8.1), but it return hr=80070005. it will return ok the program on windows10 or over. anybody have this problem.
Issues with Rotating ProgressBar for Vertical Orientation In WinUI App
Hi, I am working on a custom StepBar control, and the Horizontal orientation is functioning as expected. However, I am encountering issues when implementing the Vertical orientation. Since the ProgressBar control does not have an Orientation property,…
Smart screen security error during upload app on store
Hi Team, Could you please help me for sort this issue. I had developed app using Tauri, during submit the APP on store getting security (Smart Screen) error. While I had followed the given steps still error not resolved. Error Below: |10.2.10 Security|A…
ContentPresenter Content does not shown Correctly in a ItemsRepeater
Hi, i am creating a StepBar Control, in Vertical Orientation, and Left or Right DisplayMode (for Header Text), but ContentPresenter Content does not shown correctly. as you can see BasicInfo shown as BasicInf and UploadFile shown as UploadF. and this a…
VisualState Only Changes Once in Custom Control WinUI/WASDK App
I am working with a custom control in a WinUI/WASDK App and trying to modify the Foreground or BorderBrush of some elements using the VisualStateManager. However, I am encountering an issue where the VisualState only changes once, and after that, I am…
Dialog box before launching of application in winui3 c++/winrt
I am working in winui3 c++/winrt and I need to show a dialog box just before the launch of my application The dialog box will say OK and Cancel on click of OK we launch the application and on cancel we exit. I tried a few approaches but it is giving…
WinUI3: How to print framework element using cpp
My app have to windows. Depending on which the print is called from we getting the actual hWnd. My issue is how to to get an instance of printManager or is there another way to print from winui 3? // file: MainWindow.xaml.cpp ... #include…
how to change the pointer cursor in winUI?
I am using winui3 how to change the pointer cursor.
Starting a process in an AppContainer from a service (LOCAL_SYSTEM)
Hello, I am trying to run a process in an AppContainer. This process is created from a service, so is in session 0 running as LOCAL_SYSTEM. I have also tried CreateProcessAsUser to run it as LOCAL_SERVICE (also in session 0) and it doesn't work. …
An exception is given when trying to manipulate UI when the packageCatalogUninstalling event is triggered WinUI
Hello! I'm testing an application that uses PackageCatalog.Uninstalling event and i would like to change the UI when this event is triggered but when i try to do it an exception is given. I also tried with a dispatcher but received another error
USB Controller alert in Kinect for Windows
I cannot get my kinect to register as a sensor in any 3rd party program. 3d build will show image, but will only capture a image still not a video.
winui 3 FindAncestor
Hello: In Wpf , The below code in a page/usercontrol will get the property value from MainWindow Datacontext. <TextBlock Text="{Binding DataContext.Arr[2],RelativeSource={RelativeSource Mode=FindAncestor,…
How to add items to Windows 11 modern EXPLORER context menu using C#?
I'm developing a UWP program and want to associate a custom menu item with a specific file format and show it in the Windows 11 new version File Explorer context menu (first level menu). Is there such an API?And how to do this in winform?