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)
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
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
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)
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
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
[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)
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
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)
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
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)
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)
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)
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)
[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)
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)
[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)
[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)
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)
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="ListTemplate" x:DataType="model:BaseMultiSelectModel"> <Grid…