Numeric updown control for a UWP

Is there a numeric UpDown control that I can download that would work in a Universal Windows Application project? I'm working on a Windows Store app, but I require a numeric UpDown control.

Uwp How to get access to the Holographic Space from a 2D windows universal app?

I have a windows universal app I would like to place in a HolographicSpace such that I can have the 2D View but I can also interact with 3d models at the same time which will be coming alive from my 2D view. I would like to know which is the best way to do so ? I saw the Holograms application in the hololens example apps but I don't know how do you load the 2D view and call the 3D widgets as models from the 2D View.

Uwp Windows 10 IoT Core Startup App Headed vs Headless

I have a Raspberry Pi 3 running Windows 10 IoT Core with various UWP applications deployed to the device. I'm happy changing what my default application is on startup either via the web portal settings or in PowerShell. However I don't understand what the difference is between a headed and headless application. Could someone offer an explaination please? The web portal table now includes an 'App Type' field as well suggesting 'Background' or 'Foreground' but this seems to confuse things further

Uwp DRM with MediaPlayerElement

Migrating some video playing code from Silverlight to UWP. In the SL app, I used the MediaElement object and its LicenseAcquirer to facilitate the DRM, as follows: mediaElement1.LicenseAcquirer = new ManualLicenseAcquirer(mediaElement1.Name, new Uri(http://www.blah.com/secure/license/playready), UriKind.Absolute)); I can't figure out what the equivalent license function is in the MediaPlayerElement. Any ideas?

UWP C++ self removal from canvas via EventHandler

I have a UWP C++ app where the user can add shapes to a canvas. I want them to be able to remove them using Eraser on the Surface Pen. Items are successfully added to the canvas like this... if (e->Pointer->PointerDeviceType == Windows::Devices::Input::PointerDeviceType::Pen) { auto Translate = ref new TranslateTransform(); auto ellipse = ref new Ellipse(); PointerPoint^ p = e->GetCurrentPoint(imgCanvas); Translate->X = p->Position.X - Radius/2; Translate-

UWP AppX Package creation failed when using .net Native

I have a solution as follows: App 1 Project (Universal Windows App) Portable Class Library Project (Target Window 8, .NET 4.5, ASP.NET Core) Style Class Library Project (Universal Windows App) I have build configurations debug & release configured identically (at least I hope so), except using .net native in release Configuration. When creating a AppXBundle for App 1 using the wizard in VS2017, it creates different results for the detected dependencies: Debug\Dependencies\x64: Mic

UWP SerialDevice : Is my device bad ? Can not connect with Vid,Pid

UWP app, To connect with Serial device ( like COM3 ), I success to get all available device list with below code. But One point is strange. My Device has no VID, no PID. First, I use "GetDeviceSelector", I can find my Serial Device. and, I got this string "\?\FTDIBUS#VID_0403+PID_6001+AL03INW7A#0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}" then I knew my device has Vid=0x0403, Pid=0x6001. Next If I use "GetDeviceSelectorFromUsbVidPid(0x0403, 0x6001)". UWP can not find my device... Why ??

UWP ScrollIntoView in SemanticZoom

Is it possible to scroll into view in SemanticZoom? The SemanticZoom has not the ScrollIntoView method (in contrast to ListView). So when the SemanticView is zoomed in, I can't zoom to a group element. I tried to do this by recovering the ScrollViewer like this: var root = VisualTreeHelper.GetChild(semanticView, 0); var scrollviewer = VisualTreeHelper.GetChild(root, 0) as ScrollViewer; ... but I am not able to get the UIElement of the target element.

how to change a control's position in uwp?

I have a grid control, two rows and two columns. <Grid> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition x:Name="row1"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition x:Name="column1"/> </Grid.ColumnDefinitions> </Grid> Now I have another , by default it's position is in row1. When the window width is larger than 1024, I want to set gridX's p

How to use "gesture" in UWP inkcanvas

Hello I want to add some customized gesture (i made) functions on inkcanvas But I don't know how to do that when the inputdevicetype is touch like this inkcanvas.InkPresenter.InputDeviceTypes = Windows.UI.Core.CoreInputDeviceTypes.Touch; when the input device type is touch, then i can't use any gestures Because the all inputs are recognized the drawn when using inkcanvas with touch input, can't i use gesture functions? private void ink1_PointerPressed(object sender, PointerRoutedEventArg

Uwp Toggling the "Network Authentication" capability for accessing network folders requires user to log out and log back in?

Add the following capabilities: Enterprise Authentication Internet (Client) Private Networks (Client & Server) Run the application. It should work as expected. Remove "Enterprise Authentication" capability. Run the application. It should throw an Unauthorized Access exception. Re-add the "Enterprise Authentication" capability. Run the application. I still get the Unauthorized Access exception. In order get the application to work properly, I must log out and log back in. Has anyone

Uwp Changing title on DevicePicker makes text invisible

I'm only setting a Title on DevicePicker.Appearance and that results in a dialog in which everything is invisible. This is because the default property values for everything in DevicePickerAppearance is null. I would like to have the standard colors for this dialog. How can I get the values that are used by default when DevicePicker.Appearance.Title is not set? var picker = new DevicePicker(); picker.Appearance.Title = "Fancy title";

Convert BitmapImage to SoftwareBitmap in UWP

I need to find out how to convert a BitmapImage object into a SoftwareBitmap in order to save it to a file without losing resolution as I would do with RenderTargetBitmap. I have the following situation: private void TakePic() { BitmapImage currentImage = new BitmapImage(new Uri("http://.../image.jpg")); ImageControl.Source = currentImage; } private void SavePic() { StorageFile file = await folder.CreateFileAsync(...); using (IRandomAccessStream stream = await file.OpenAsync(F

Uwp AutoSuggestBox behaves differently if AcceptsReturn is True for the textbox inside its style

I have a simple AutoSuggestBox with its style modified by changing few properties of TextBox within it. The properties i have modified where AcceptsReturn and MinHeight Here's the modified Portion of the style <Style TargetType="AutoSuggestBox"> <!-- --> <TextBox x:Name="TextBox" Style="{TemplateBinding TextBoxStyle}" PlaceholderText="{TemplateBinding PlaceholderText}" Header="{TemplateBinding Header}" Width="{TemplateBinding Width}" AcceptsReturn="True" ScrollViewer.Bring

Uwp Using continious dictation

Everything is working fine, I just can figure out how to keep my dictation session alive, until I press the button again, because what is happening now is that if I stop speaking for 10 seconds and start speaking again, it will overwrite what I had, so I want to be able to stop the session only when I press the button again case "0": isListening = true; var dictationConstraint = new SpeechRecognitionTopicConstraint(SpeechRecognitionScenario.Dictation, "dictatio

Uwp How to minimize desktop bridge app after login?

I already know how to set up the application to start when I log in, This is my code: <uap5:Extension Category="windows.startupTask" Executable="DC.AutoRun\AutoRun.exe" EntryPoint="Windows.FullTrustApplication"> <uap5:StartupTask TaskId="AutoRunTest" Enabled="true" DisplayName="AutoRun Test" /> </uap5:Extension> but I need to minimize it. 'IActivatedEventArgs' seems not applicable to Win32: protected override void OnActivated(IActivatedEventArgs ar

Uwp app is getting crashed when system goes in sleep mode

When I close the laptop lid or machine goes into sleep mode, my uwp app is crashing sometimes. Error in Event Viewer is Log Name: ApplicationSource: ESENTDate: 26-08-2020 13:01:29 Event ID: 455 Task Category: Logging/Recovery Level: Error Keywords: Classic User: N/A Computer: SanjayWinTest Description:svchost (11324,R,98) TILEREPOSITORYS-1-5-18: Error -1023 (0xfffffc01) occurred while opening logfile C:\WINDOWS\system32\config\systemprofile\AppData\Lo

Alarm Declaration giving error UWP App?

I got the following error: Severity Code Description Project File Line Error Error : DEP0700 : Registration of the app failed. AppxManifest.xml(32,10) 0x80080204: The c93686ac-1599-4433-8cfd-8a1d3e588ac8 package cannot register an alarm extension because it does not have the required lock screen capability. (0x80073cf6) HelloRealWorld In APPX(Package.appxmanifest) file I have added Alarm Declaration, and can not see Lock Screen Capability to add, I'am I doing anything

UWP 10 and Windows 8 or 8.1

Is it possible to install uwp 10 applications on windows 8 or 8.1? I tried to install it from bundle on win10 and it works, on win 8.1 I have an error: 0x80080204. The Appx package's manifest is invalid

Is there Win 10 UWP drivers? If has, how to package the UWP drivers and ship it to store?

we need to change our drivers to Win10 UWP package. however, currently I have no idea how to achieve it. I can only convert the legacy driver installer to "UWP" with DAC(https://msdn.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter), but it is dirty to install and then Run the App as administor while actually it's an installer. Then the App will install drivers to system. Also uninstall the UWP app will not remove the drivers package in system because there is no

XAML vs XML in a UWP Application

Transitioning from WPF to UWP appears to be confusing. For example, trying to replace a regular XAML button with a standard Tile turns out not be a straight forward procedure since there is nothing like a Tile Control. Looking into the docs, I could see XML code vs XAML. It is not clear where the XML code fits into the presentation layer of an application. What does all this mean to developers that are transitioning from WPF to a UWP environment?

How to download attachment sent in Meeting invitation using Microsoft Graph API in UWP

I am working on a UWP app and using my personal ID for authentication purpose. I have created few meetings with some attachments. I am trying to download those attachments using Graph API. I called this API https://msdn.microsoft.com/en-us/office/office365/api/mail-rest-operations#GetAttachments I am able to get the details about the attachment like name and size , but is there a way to download the attachment programmatically through the UWP app?

Uwp How to check if app is in assigned access mode without windows.aboveLockScreen extension?

I have a UWP app that has a bug in kiosk mode because ApplicationView.GetForCurrentView().IsFullScreenMode always returns false. Hence I would like to be able to tell whether the app is running in kiosk mode. LockApplicationHost.GetForCurrentView() is null when in kiosk mode, but this only works if I add the windows.aboveLockScreen extension to my appxmanifest file. I want to avoid including the windows.aboveLockScreen extension because this places our app content in a secondary window, break

Change detail items using UWP master-detail

I'm learning and creating a master-detail project using "Windows Template Studio". Now I want to change the details, and want the changes shown in the master. Like below But I don't known how? I have upload the sample code to GitHub. https://github.com/hupo376787/App2 Can anyone change the sample code, thanks a lot!

Uwp Can't compile project on ARM with HTMLAgilityPack

I'm trying to develop a Universal App for Windows 10 using HTMLAgilityPack. When I'm trying to compile on ARM, I got an error stating that the HtmlAgilityPack.dll in ther uap10.0 folder is only for x86 processor. Is that normal ? Is there a chance HTMLAgilityPack to become available for ARM processor ? Thanks.

Uwp It is required to implement licensing APIs for paid app?

I have done an uwp app for Windows Store. It has no trial period or in-app purchases. I can't find any docs that make me clear if there is required to implement licensing check to avoid illegal copies or if Windows Store app does it for me. Thank you.

Use Realm Sync on UWP

I would like to use realm sync on uwp project. var realmUrl = new Uri("realm://52.230.25.125:9080/~/default"); var authURL = new Uri("http://52.230.25.125:9080"); var credentials = Credentials.UsernamePassword(username, password, createUser: false); var user = await User.LoginAsync(credentials, authURL); var config = new SyncConfiguration(user, realmUrl); var realm = Realm.GetInstance(config); When I debug my project, await User.LoginAsync(credentials, authURL) never return me the user instan

Add a Text Watermark using Stamper on PDFTron UWP

I have added a watermark to my pdf using the following code. My actual requirement is to display the watermark when the user tries to print the pdf. (print preview and the printed copy should have the watermark and not on the original doc on the viewer) I set the flags ShowsOnScreen(false) and ShowsOnPrint(true) but it displays on the print preview but also display on the viewer as well. Another issue is this watermark can be selected and do other annotations like highlighting. Please sugg

Uwp Change App icon released on Windows store

I have released eBike Lab 1.6.5 App(our App) on Microsoft Store. but the icon displayed on the store and icon which App is displayed with both are different one. I need to change icon on store currently displaying. I have updated store icon in both App manifest and Advanced Installer -> Visual Assets page. Still it is showing old icon.

UWP Using Acrylic in Navigation View

Im looking into the Acrylic options for UWP and have bumped into a strange issue. Essentially, Im trying to get the Navigation view to use a custom Acrylic Brush. However, the main window background is more transparent than the Navigationview. I need to get the NavigationView to be as transparent as the current main view. Ive attached an image to help clarify this. Its hard to explain: As you can see on the left, the navigation view is not as transparent as the main feature window on the rig

Uwp Detect Windows N and KN Editions

How can a UWP (C#, XAML) app detect if it is running on a N or KN edition of Windows 10? Things I have tried: Microsoft.Toolkit.Uwp.Helpers.SystemInformation System.Environment.OSVersion APIs present on all Windows 10 systems: https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis APIs present on some Windows 10 systems: https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-extension-apis

Uwp How to declare nested templates in idl 3.0

I have what I hope is a basic question, but I've been unsuccessful finding any documentation or examples on MSDN or the internet in general. I'm implementing a windows runtime component in C++/WinRT. I have an asynchronous method that scans for the presence of a specific type of device and returns a vector of strings (device IDs) of devices found. The C++ signature of the function is: static IAsyncOperation<IVector<winrt::hstring>> ScanInterfacesAsync(); I have been unsuccessful

UWP C#: How to make a framework element to full window mode

I am writing a uwp app that has multiple frameworkEelements. When a button is clicked, I want one of the FrameworkElement(In my app it is a usercontrol) to be in full window. I don't want a new window to be launched. (Similar to the behavior of media player element going to full window) This seems trivial but I can't get it working. I tried the following and this seems to make the element go to full screen but there are issues like I am not getting button click events(app seems to be unresponsi

UWP NavigationView Header Overlap To MenuItem Pane

I am experimenting with NavigationView for my ongoing UWP project. I have customized NavigationView MenuItem pane so that it has only icons without the menu(hamburger) and the back button. To do so I have set following properties of NavigationView IsBackButtonVisible="Collapsed" PaneDisplayMode="LeftCompact" IsPaneToggleButtonVisible="False" I have also customized the NavigationView header by customizing HeaderTemplate. That's perfectly fine with mine requirement. But I can not find any help

Uwp How to keep PlaybackRate throughout the lifetime of the MediaPlayerElement?

In MediaElement, there is a property called DefaultPlaybackRate, which will persist throughout the lifetime of the MediaElement. But MediaPlayerElement doesn't have property DefaultPlaybackRate. I have checked that the PlaybackRate will always be set to 1.0 when playing another video. private void PlaybackSession_PlaybackRateChanged(MediaPlaybackSession sender, object args) { Globals.playbackRate = mediaPlayer.PlaybackSession.PlaybackRate; } So is there any better way to do that?

Webrtc and UWP without trickle ice

I'm trying to establish a webrtc call using this nuget package https://www.nuget.org/packages/WebRtc/. I am not able to use trickle ice in my implementation so I try to add ice candidates to my sdp as they are gathered. This worked in an earlier version of the package, however when using the latest version this fails when I try to create a session description with a modified sdp. The latest version of the package is based on webrtc version m71 as I understand it. My offer sdp looks like this aft

Uwp Bingmaps MapServiceToken issue

I'm trying to add a map on my UWP app but I get a warning stating that the Service Token was not specified. I followed tried to follow the instruction from here https://docs.microsoft.com/en-us/windows/uwp/maps-and-location/authentication-key but I don't get the "Windows Application" option. I only get these three: I tried with all three options with no luck. What's the correct way to proceed in this case??? Cheers!

UWP Open New Window in Class

There are too many pages in my project and I want to write the opening and closing of these pages in one class. But it does not open to a new page. Thank you. My Class Code class Class { public static void GoToOpenPage1() { Frame OpenPage1 = new Frame(); OpenPage1.Navigate(typeof(MainPage)); } } Button Click Code private void button_Click(object sender, RoutedEventArgs e) { Class.GoToOpenPage1(); }

Uwp Programatically select node in TreeView

I'm working in a UWP application with a TreeView. I need to select or deselect a node in the TreeView in response to the user clicking an unrelated button elsewhere in my app. I know exactly which node I want to select, but can't find a way to do it: the TreeView only appears to have the option to SelectAll, or to get the SelectedNodes and Clear them all. I think the solution might be to add or remove the node I want from the SelectedNodes list, however, the items in this list are of type TreeVi

Uwp How to get the event of Slider when pressing GamePad.A on XBox

I'm using Slider. When set focus the Slider control, press GamePad.A to select to thumb dot, the PreviewKeyDown event does not fire. So how to get the pressing GamePad.A event. I tried on desktop, it can fires this event, but not on Xbox. <Slider Height="80" PreviewKeyDown="Slider_PreviewKeyDown"/> private void Slider_PreviewKeyDown(object sender, KeyRoutedEventArgs e) { }

UWP and ReactiveUI – How do I (sometimes) synchronise two sliders values?

In my XAML I have two sliders and a toggle button: <Slider x:Name="rightSlider" Header="Right" Maximum="20" Minimum="0" /> <Slider x:Name="suffixSlider" Header="Suffix" Maximum="20" Minimum="0" /> <ToggleButton x:Name="toggleSuffixLockButton" Content="Lock" /> In my view code behind I have bound them as follows: this.Bind(ViewModel, vi

  1    2   3   4   5   6  ... 下一页 最后一页 共 11 页