54,834 questions with Developer technologies-related tags

Sort by: Updated
3 answers

how to load two-way binded XAML controls from collection of controls based on a value.

In my scenario, i have about 30-40 two way binding xaml controls like TextBox, ComboBox etc. in my UserControl. All the XAML controls will not be shown at the same time. Instead it will be displayed only based on the value named EntityName. If the…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-21T07:15:53.287+00:00
guess_me_if_u_can 126 Reputation points
commented 2020-03-22T20:06:31.737+00:00
Peter Fleischer (former MVP) 19,341 Reputation points
0 answers

Additional question about a user control loading more than once

Earlier I asked why a datagrid was causing the window to load more than once. I got the answer, and thank you for your responses! However, in a strange coincidence, the release version of the app still exhibits the same behavior. Although it does…

Developer technologies | Windows Presentation Foundation
asked 2020-03-20T17:43:42.057+00:00
Rod At Work 866 Reputation points
commented 2020-03-22T14:09:05.547+00:00
Peter Fleischer (former MVP) 19,341 Reputation points
2 answers

Combobox with dynamically created items for enum type with text coming from Attributes won't support binding of SelectedItem

I have a custom WPF combobox that generates its contents based on an enum type it's told about via a XAML attribute. When that attribute sets the corresponding property, the control calls the function below. private void OnEnumTypePropChanged(string…

Developer technologies | Windows Presentation Foundation
asked 2020-03-18T17:42:52.56+00:00
Will Pittenger 311 Reputation points
answered 2020-03-21T10:03:41.937+00:00
Will Pittenger 311 Reputation points
2 answers One of the answers was accepted by the question author.

Issue in ListView Item text Wrapping

I am creating a new control which has a Dependency Property named DisplayMemberPath . I'm binding that dependency property string value to ListView.DisplayMemberPath. But I have a requirement to wrap the Items in the ListView. I am unable to write an…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-13T19:02:34.253+00:00
guess_me_if_u_can 126 Reputation points
commented 2020-03-21T07:02:11.007+00:00
guess_me_if_u_can 126 Reputation points
1 answer

INSERT INTO (OLEDB) RAISED NO ERROR BUT NO NEW RECORD INSERTED

Hello. I'm new to WPF migrating from Windows Form. I'm creating a non-profit system for my village management to store data related to the residents. I need to add new user for login before adding new residents data and accessing the sensitive data. …

Developer technologies | Windows Presentation Foundation
asked 2020-03-19T17:12:06.037+00:00
Fiq 31 Reputation points
commented 2020-03-21T01:28:29.067+00:00
Fiq 31 Reputation points
1 answer One of the answers was accepted by the question author.

How do I get the XAML Designer to show side-by-side?

I must have fat fingered something which turned off the XAML view. Now all I see is the Designer. I want to see them both, side-by-side in the window. How do I get that back? I'm using VS 2019 Enterprise Edition, version 16.5

Developer technologies | Windows Presentation Foundation
asked 2020-03-18T21:56:47.693+00:00
Rod At Work 866 Reputation points
accepted 2020-03-20T21:31:13.08+00:00
Rod At Work 866 Reputation points
1 answer One of the answers was accepted by the question author.

[UWP] [EF] How to format DateTime column in UWP DataGrid

Hello, I have DataGrid, and I use AutoGenerateColumns=true; For getting data from SQLite database I use EntityFramework (EF) How to format DataTime kolumn? I want CreateDate column to be formated as "YYYY/MM/DD" Below I shows my DbContext,…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-17T15:48:39.02+00:00
BitSmithy 2,206 Reputation points
commented 2020-03-20T16:54:52.92+00:00
Peter Fleischer (former MVP) 19,341 Reputation points
3 answers One of the answers was accepted by the question author.

Why does clicking on a datagrid cause the window to flash?

I'm working on a WPF app with a colleague at work. This app has a launch panel with 7 buttons. Clicking on any of the 7 buttons causes a new window to popup. These new windows all start with a datagrid, listing the contents of 1 of 7 tables,…

Developer technologies | Windows Presentation Foundation
asked 2020-03-17T20:54:18.047+00:00
Rod At Work 866 Reputation points
accepted 2020-03-20T14:03:43.45+00:00
Rod At Work 866 Reputation points
1 answer One of the answers was accepted by the question author.

IAP crash the app recently, any same issue?

I have an old app (from 10240), it has not updated for months, but recently it crashes when open IAP dialog. And there is no purchase for last several days. Is there any same issue? (Note: It has just finished a sale duration.) And VS can not load…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-14T04:23:16.957+00:00
AxileS 116 Reputation points
accepted 2020-03-20T08:26:36.403+00:00
AxileS 116 Reputation points
1 answer

WPF: How do I bind with this behavior?

Here is an image to help clarify my question. Three TextBoxes and a TextBlock. I want the TextBlock to mirror the contents of one TextBox, but, if I mouse over another TextBox the TextBlock will mirror the Text of that TextBox instead. Mousing…

Developer technologies | Windows Presentation Foundation
asked 2020-03-19T13:03:54.717+00:00
OneZeroOne 1 Reputation point
answered 2020-03-20T05:10:04.843+00:00
Alex Li-MSFT 1,096 Reputation points
1 answer

How can I detect the program preventing my windows from being shut down?

I tried to shut down my PC many times but a message appears telling me that a program is preventing your PC from being shut down. the program does not have any name or any specific icon that I can use to recognise it and I used the windows event viewer…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-19T14:50:20.943+00:00
Menno Saedi 1 Reputation point
answered 2020-03-19T15:33:14.82+00:00
Nuwan Premaratne 1 Reputation point
0 answers

Select GPU for UWP app programatically

I know I can select the default cpu in windows 10 graphics settings for an uwp app. This for example affects which gpu is used by the xaml ui and the media capture api-s. I have an issue with an app which uses direct3d + xaml + media capture to overlay…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-16T17:09:56.997+00:00
Anonymous
commented 2020-03-17T14:07:15.473+00:00
Anonymous
1 answer

How and where to request and install a trusted certificate

My UWP app was updated successfully before. But I had a problem these days. When I created a new package with Visual Studio 2017/2019, an error was reported as follows. Error: Failed to sign 'AppName_1.1.3.0_x86.msix'. I know that the error might…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-06T12:01:32.577+00:00
GordonH 1 Reputation point
commented 2020-03-17T08:44:06.54+00:00
Anonymous
0 answers

MultilingualAppToolkit

Hi, I'm trying to create a multilingual application, but every time I get an error when I use machine translation. If I enter the translation into the .resw file myself, then everything works correctly. Also, I don’t understand how to write text from…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-12T08:44:16.213+00:00
ChristyLister 1 Reputation point
commented 2020-03-17T08:42:59.853+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

[UWP][Desktop Bridge] AppX-Registration of ThumbnailHandler and DesktopPropertyHandler in UWP Desktop Bridge

Hi, I've created an in-proc Windows Shell-extension, implementing IThumbnailProvider, IPropertyStore (read-only) and IInitializeWithStream. The shell-extension is well-behaved and simply parses the IStream, generates a property-store and provides a…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-14T13:12:11.483+00:00
Andreas Nilsson 21 Reputation points
accepted 2020-03-17T07:12:10.057+00:00
Andreas Nilsson 21 Reputation points
1 answer One of the answers was accepted by the question author.

Create a new app not available

All I want to do is publish my exe app (Electron/Vue). I have created an account and I can enter the Partner Center. (https://partner.microsoft.com/en-us/dashboard/commercial-marketplace/overview) I am trying to follow this guide…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-12T19:44:35.127+00:00
Smart Solutions 21 Reputation points
accepted 2020-03-17T04:20:08.527+00:00
Smart Solutions 21 Reputation points
1 answer

[UWP][(Unity) Cannot build valid package for Windows Store, error MinVersion <= 10.0.17134.0.

I'm trying to create my first Unity UWP game. I have set the minimum and target versions in Unity to 10.0.18. In Visual Studio 2019, I've set the project property's Min and Target versions to 10.0.18. When I build my packages and upload my packages, I'm…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-14T17:36:36.953+00:00
David Coombes 1 Reputation point
answered 2020-03-15T21:40:40.327+00:00
Heiko 1,311 Reputation points
1 answer One of the answers was accepted by the question author.

[UWP][C#] Unable to create app packages in visual studio 15.9.20

For some reason i am receiving "Failed to sign" error when trying to generate app package, i tried this with blank app but still same outcome, see image below Minimum version : 15063 Target version : 17763

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-07T10:18:58.23+00:00
kranthi kumar 206 Reputation points
accepted 2020-03-14T04:12:46.447+00:00
kranthi kumar 206 Reputation points
1 answer One of the answers was accepted by the question author.

How to remove checkbox from gridview item on pointerover?

<ControlTemplate TargetType="GridViewItem"> <ListViewItemPresenter x:Name="Root" CheckBrush="{ThemeResource GridViewItemCheckBrush}" …

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-06T21:17:21.55+00:00
Alex Oh 96 Reputation points
accepted 2020-03-13T17:26:12.267+00:00
Alex Oh 96 Reputation points
1 answer One of the answers was accepted by the question author.

Issue in using Binding with ElementName in Data Template which is passed through DependencyProperty

In my case, i have a control named MultiSelectListView.xaml which holds the dataTemplate <DataTemplate x:Key=&#34;ListTemplate&#34; x:DataType=&#34;model:BaseMultiSelectModel&#34;> <Grid…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-03-08T08:08:41.69+00:00
guess_me_if_u_can 126 Reputation points
commented 2020-03-13T14:41:34.057+00:00
guess_me_if_u_can 126 Reputation points