/r/WPDev

Photograph via snooOG

Welcome to WPDev (Windows Platform Development) ☻

Welcome to WPDev (Windows Platform Development) ☻

WPDev on IRC




App promotion is allowed - if YOU have developed it, but please make sure you post it as self text. Describe what is the functionality, what technically you have achieved with it, any obstacles you faced during development & how you overcame them and provide market-neutral link to the app. The intention is to promote discussion of your app with other developers & guide them through it.

/r/WPDev

2,810 Subscribers

1

WP google map Dynamic markers

whats the best way for me to implement a google map search for my listings without me having to manually add each marker?

0 Comments
2024/10/08
16:01 UTC

1

Parent pages vs Subdirectory Website

Can someone help in explaining which is better? I’m confused on what the best route is.

I have a website abcd.com and I want to combine another site 1234.com , the URL structure should now be abcd.com/1234/about us. The other site has about 15 pages so I would just be recreating them in the main site under a parent page.

I’m trying to figure out if this is the best route or should I be creating an entire directory instead of just new pages within the main site.

0 Comments
2024/09/19
00:24 UTC

3

wpd- Snappy

guys please who/what is Snappy on the wpd site? i'm relatively new to having an account and i'm not sure what it is- any explanation would be great thanks!

4 Comments
2024/05/19
21:59 UTC

3

Open-source .NET library designed for keyboard and mouse control in Windows.

Hi everyone, I want to tell you about a new open-source .NET library DeftSharp.Windows.Input with which you can control keyboard and mouse in Windows. It is intended for use in various UI frameworks such as WPF, WinUI, Avalonia, and MAUI, providing a universal solution for all types of Windows applications.

The library offers a wide range of features including event subscriptions, bindings, preventing input events, device information and a lot of other things. It also provides flexible custom interceptors, allowing users to define their own logic.

It's under active community development and if you want to get involved, that would be great! We have some "good first issues", besides that you can offer your ideas.

Main Features

  • Subscribe to global keyboard and mouse events
  • Simulation of input from the code
  • Prevent specific input events
  • Change key bindings
  • Custom interceptors
  • Device information

Examples

Simple key subscription

You can subscribe to global keyboard events. Including their sequence and combination.

var keyboardListener = new KeyboardListener();

// Subscription for each click
keyboardListener.Subscribe(Key.Space, key => Trace.WriteLine($"The {key} was pressed"));

// One-time subscription
keyboardListener.SubscribeOnce(Key.Space, key => Trace.WriteLine($"The {key} was pressed"));

// Subscription to the combination
keyboardListener.SubscribeCombination([Key.LeftShift, Key.W], () =>
    Trace.WriteLine($"The Shift + W was pressed"));

Input control from the code

You can simulate the operation of your keyboard and mouse by calling different input actions.

var keyboard = new KeyboardManipulator();
var mouse = new MouseManipulator();

keyboard.Press(Key.Escape);
keyboard.Press(Key.LeftCtrl, Key.V); 

mouse.Click();
mouse.DoubleClick();
mouse.Scroll(150); 

Prevent input events

You can prevent input events by default or with some condition.

var keyboard = new KeyboardManipulator();
var mouse = new MouseManipulator();

// Each press of this button will be ignored
keyboard.Prevent(Key.Delete); 

// Prevent with condition
keyboard.Prevent(Key.Escape, () => 
{
   var currentTime = DateTime.Now;

   return currentTime.Minute > 30;
});

// Prevent mouse scroll            
mouse.Prevent(PreventMouseEvent.Scroll);

Using the DeftSharp library is intuitive and our main focus is on user-friendliness, so feedback is very important to us.

For those who want to use this library, it is available on Nuget.

If you want to support the library, you can put a star on the GitHub repository. This will motivate further development.

Write your opinion. What would you like to see or what should be changed? Thanks for your time :)

0 Comments
2024/04/10
15:27 UTC

0

Custom coded website to Wordpress.

I have a custom coded website that I created, but I want to make it more advanced with more pages, plugins and make it faster, I have read that the best way to do it is making it into a Wordpress site, because it offers a lot of plugins and extensions, but my question is: Where do I start, do I need to create the website from scratch or is it possible to somehow import it, what themes to use where do I add custom code and stuff like that, basically how to operate Wordpress?

0 Comments
2023/12/25
19:08 UTC

2

I added WP Forms to my Wodpress and I can't see the entries

Hey I developed a form using WPForms and I can't see the entries and it needs me to pay fees to be able to view them, are there any way I can view those entries

1 Comment
2023/12/17
23:40 UTC

1

Creating a ThemeSwitch Button in WPF | From Start to Finish + Code Sharing! 💡

ThemeSwitch

https://www.youtube.com/watch?v=rGox76Bm6VY&list=PLcJ2AlGDlF0vUTwxQIQyJXr9myrqgGzOd

Hello, it's Vicky!

Today, I'm going to show you how to add a cool 'ThemeSwitch' button to your WPF application. This button will let you switch smoothly between day and night themes, adding a polished touch to your app.

The video will cover:

  • How to design the ThemeSwitch button
  • The process of adding animation by inheriting from the ToggleButton
  • Implementing and running the ThemeSwitch button in a real WPF project

The final code can be checked on GitHub. And you can directly download and try out the control via the NuGet package.

GitHub: https://github.com/jamesnet214/themeswitch
NuGet: https://www.nuget.org/packages/ThemeSwitch

Try applying this fantastic button to your projects and share how you have used it in the comments. If you liked the video, please hit the like button and subscribe!

0 Comments
2023/11/07
15:58 UTC

1

I'm looking to add a cash on delivery payment option to my WordPress store

I'm looking to add a cash on delivery payment option to my WordPress store. I've done some searching online, but I'm having trouble finding any clear instructions on how to do this. Can anyone point me in the right direction?

Here are some specific things I'm wondering about:

  • What plugins or code snippets can I use to add a cash on delivery option to my checkout form?
  • my checkout form contain the states and provinces of a specific country.
  • the price of shipping varies according to the state of the customer.
  • my checkout dorm include order summury

her's a screenshots of checkout forms a would like to create like it

Any help would be greatly appreciated!

https://preview.redd.it/gp1bmjbzfksb1.png?width=568&format=png&auto=webp&s=348204faa678e0743f52734c76bcc4f08d871c19

https://preview.redd.it/rblaxxb0gksb1.png?width=287&format=png&auto=webp&s=a174687f6c0e7f1d07b192002e23be105a365556

1 Comment
2023/10/06
11:16 UTC

0

How to do add a signature on a appx file? im trying to port this file on my xbox using dev mode.

1 Comment
2023/07/28
12:54 UTC

3

Windows Phone game

Astral Battles by Egor Bogatov was, and still is, the best mobile game I've played across any platform. Simple to pick up, strategic, enjoyable, from memory it had offline and online play. It's really the only thing at all that I loved about my windows phone experience. Is there any way to play it nowadays (ie an android port)?

0 Comments
2023/04/17
04:52 UTC

0

What AWS platform package is best to host my WP sites?

Good morning all! I am old programmer from the days of DOS. I have had my hosting & domains tied to Network Solutions (Web.com) since the beginning of time. I have 3 simple WP sites on one hosting package. Long story short, I am SICK of the poor service and extortion at [Web.co](https://Web.com)m and opened an AWS account.

I have a tight budget and I have multiple domains and each site just displays info and pics of my business. Is AWS the best company to host my websites and email server on? What AWS package do I want to enroll to in order to host my WP sites? Your help is greatly appreciated.

2 Comments
2023/04/14
11:38 UTC

5

How to update as much as possible & trim down, Windows 10 Lean S Insider Preview Build 17655 x64?

Tweaks suggestions


1.1 DISABLE Background Processes

A. Disable Windows Background Apps Make it stop doing other things in the background.

B. Switch off animated windows Windows 10’s visual effects, such as animated windows, use extra power from your PC which could be used to improve its performance.

C. Optimize hard disk Improve playback of files by optimizing your PC’s hard disk

Right-click on Windows logo > File Explorer

Left column, click This PC

Right-click on the drive where you store your audio > click Properties

Uncheck Compress this drive to save disk space and Allow files on this drive to have contents indexed

Apply > OK

Repeat for other drives if necessary


1.2 TURN OFF ALL PRIVACY SETTINGS

• Location

• Diagnostics

• Relevant ads

• Speech recognition

• Tailored experiences with diagnostic data


2 ADD AND REMOVE WINDOWS FEATURES Enable and disable features according to the image below and restart.


3 UPDATES


Install cumulative update KB4090913.


4 DISABLE AND DELETE HIBERNATION FILES


The following command disables hibernation. Not having a hibernation file reduces the OS footprint dramatically. Run cmd as admin and enter the following command. powercfg -h off Hibernation files will be deleted upon next reboot.


5 REMOVE WINDOWS COMPONENTS


The following commands remove most of the programs and apps that are not needed on a WATCHOUT system. Open Windows PowerShell as admin and type in the following. Get-AppxPackage | Select Name, PackageFullName This will list all installed Windows packages of which some can be removed. Enter the following commands to purge unwanted packages. Remove-AppxPackage Microsoft.WindowsAlarms_10.1706.2401.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.WindowsCamera_2017.727.20.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.WindowsStore_11706.1002.9.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.StorePurchaseApp_11706.1707.7010.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.MicrosoftSolitaireCollection_3.17.8162.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Services.Store.Engagement_10.0.1610.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Services.Store.Engagement_10.0.1610.0_x86__8wekyb3d8bbwe Remove-AppxPackage Microsoft.BingWeather_4.21.2492.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Advertising.Xaml_10.1705.4.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Advertising.Xaml_10.1705.4.0_x86__8wekyb3d8bbwe Remove-AppxPackage Microsoft.XboxApp_31.32.16002.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.XboxGameOverlay_1.20.25002.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Xbox.TCUI_1.8.24001.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.XboxIdentityProvider_12.30.5001.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.People_10.2.2351.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Messaging_3.32.15001.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.MicrosoftStickyNotes_1.8.2.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.WindowsSoundRecorder_10.1706.1561.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Windows.Photos_2017.37071.16410.0_x64__8wekyb3d8bbwe Remove-AppxPackage microsoft.windowscommunicationsapps_17.8241.41275.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.ZuneVideo_10.17063.24021.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.ZuneMusic_10.17063.24021.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.WindowsMaps_5.1706.2261.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Wallet_1.0.16328.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Office.OneNote_17.8366.57611.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Microsoft3DViewer_1.1707.26019.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.MSPaint_2.1709.4027.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Print3D_1.0.2422.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.GetHelp_10.1706.1811.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.Getstarted_5.11.1641.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.MicrosoftOfficeHub_17.8414.5925.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.SkypeApp_11.18.596.0_x64__kzf8qxf38zg5c Remove-AppxPackage Microsoft.WindowsFeedbackHub_1.1705.2121.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.DesktopAppInstaller_1.0.12161.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.OneConnect_3.1708.2224.0_x64__8wekyb3d8bbwe Remove-AppxPackage Microsoft.WindowsCalculator_10.1706.2406.0_x64__8wekyb3d8bbwe Note that components like OneDrive, Cortana and Edge cannot be removed in this way.


6 UNINSTALL ONEDRIVE


Search for OneDriveSetup. It is located in multiple locations but you should use the one in the user folder structure. Open cmd as admin. In this example the user name is “WO”. • Navigate to the location of OneDriveSetup using cmd. cd C:\Users\WO\AppData\Local\Microsoft\OneDrive\17.3.6816.0313 • Terminate OneDrive.exe using cmd. taskkill /f /im OneDrive.exe • Uninstall OneDrive using cmd. OneDriveSetup.exe /uninstall • Reboot. Note that the OneDrive icon on the taskbar has disappeared and the list of installed apps is very minimalistic.


7 GROUP POLICIES


The beauty of Windows Enterprise is the possibility to set up important operating system settings using group policies. Open the group policy editor (run gpedit.msc). 7.1 DISABLE FIREWALL Navigate to: Computer Configuration->Windows Settings->Security Settings->Windows Defender Firewall with Advanced Security->Windows Firewall with Advanced Security – Local Group Policy Object 7.1.1 Click on Windows Defender Firewall Properties 7.1.2 Firewall settings Turn off the firewall and disable notifications for the Domain Profile, Private Profile and Public Profile.

7.2 DISABLE NETWORK DISCOVERY SIDEBAR

The following setting will prevent the network discovery sidebar popping up every time a new network is found. This is to prevent situations as depicted in the image below. Navigate to: Computer Configuration->Windows Settings->Security Settings->Network List Manager Policies Make sure the user cannot change the network location (public, work, etc).

7.3 ADMINISTRATIVE TEMPLATES SYSTEM SETTINGS

Navigate to Computer Configuration->Administrative Templates->System and set the following settings: 7.3.1 Device Installation 7.3.1.1 Turn off “Found New Hardware” balloons during device installation = Enabled 7.3.2 Driver Installation 7.3.2.1 Turn off Windows Update device driver search prompt = Enabled 7.3.3 Logon 7.3.3.1 Turn off Windows Startup Sound = Enabled 7.3.3.2 Always wait for the network at computer startup and logon = Disabled 7.3.4 Power Management->Sleep Settings 7.3.4.1 Allow standby states (S1-S3) when sleeping (plugged in) = Disabled 7.3.4.2 Allow standby states (S1-S3) when sleeping (on battery) = Disabled 7.3.5 Recovery 7.3.5.1 Allow restore of system to default state = Disabled 7.3.6 System Restore 7.3.6.1 Turn off System Restore = Enabled 7.4 ADMINISTRATIVE TEMPLATES WINDOWS COMPONENT SETTINGS Navigate to Computer Configuration->Administrative Templates->Windows Components and set the following settings: 7.4.1 Add features to Windows 10 7.4.1.1 Prevent the wizard from running = Enabled 7.4.2 AutoPlay Policies 7.4.2.1 Turn off Autoplay = Enabled 7.4.3 Biometrics 7.4.3.1 Allow the use of biometrics = Disabled 7.4.4 Cloud Content 7.4.4.1 Do not show Windows tips = Enabled 7.4.4.2 Turn off Microsoft consumer experiences = Enabled 7.4.5 Desktop Gadgets 7.4.5.1 Turn off desktop gadgets = Enabled 7.4.6 Search 7.4.6.1 Allow Cortana = Disabled 7.4.7 Store 7.4.7.1 Turn off the Store application = Enabled 7.4.8 Windows Defender Antivirus 7.4.8.1 Turn off Windows Defender Antivirus = Enabled 7.4.8.2 Real-Time Protection 7.5.8.2.1 Turn on process scanning whenever real-time protection is enabled = Disabled 7.5.8.2.2 Turn on behavior monitoring = Disabled 7.5.8.2.3 Turn off real-time protection = Enabled 7.5.8.2.4 Monitor file and program activity on your computer = Disabled 7.4.9 Windows Hello for Business 7.4.9.1 Use Windows Hello for Business = Disabled 7.4.10 Windows Media Player 7.4.10.1 Prevent Automatic Updates = Enabled 7.4.10.2 Do Not Show First Use Dialog Boxes = Enabled 7.4.11 Windows Update 7.4.11.1 Do not display "Install Updates and Shut Down" option = Enabled 7.4.11.2 Configure Automatic Updates = Disabled 7.4.11.3 Do not connect to any Windows Update Internet locations = Enabled

7.5 USER ADMINISTRATIVE TEMPLATES SYSTEM SETTINGS

Navigate to User Configuration->Administrative Templates->System and set the following settings: 7.5.1 Ctrl + Alt + Del Options (only on display server) 7.5.1.1 Remove Lock Computer = Enabled 7.5.1.2 Remove Logoff = Enabled

7.6 USER ADMINISTRATIVE TEMPLATES WINDOWS COMPONENTS SETTINGS

Navigate to User Configuration->Administrative Templates->Windows Components and set the following settings: 7.6.1 File Explorer (only on display server) 7.6.1.1 Turn off the caching of thumbnails in hidden thumbs.db files = Enabled 7.6.1.2 Turn off the display of thumbnails and only display icons = Enabled 7.6.2 Network Sharing 7.6.2.1 Prevent users from sharing files within their profile = Enabled

7.7 USER ADMINISTRATIVE TEMPLATES START MENU AND TASKBAR SETTINGS

Navigate to: User Configuration->Administrative Templates->Start Menu and Taskbar and set the following settings: 7.7.1 Remove Notifications and Action Center = Enabled 7.7.2 Turn off all balloon notifications = Enabled 7.7.3 Notifications 7.7.3.1 Turn off toast notifications = Enabled 7.7.3.2 Turn off tile notifications = Enabled Note that group policies can easily be backed up and copied between servers. Computer configuration settings are stored at: %systemroot%\system32\grouppolicy\machine grouppolicy\machine User configuration settings are stored at: %systemroot%\system32\grouppolicy\user grouppolicy\user To apply the group policies simply reboot.


8 INSTALL ALL DRIVERS


Install all drivers needed for your system to operate. At this point Windows update is disabled and an ethernet connection can be plugged in. Drivers should be downloaded on a separate machine in order to minimize the exposure to the internet since most security features are disabled. • GPU • Network • Chipset • SSD drivers • Video Capture • Audio • USB • Etc.


9 INSTALL Programs


Preferably install Programs on a different drive or partition than the system. For example: D:\Programs.


10 WINDOWS SETTINGS


10.1 AUTOPLAY Set "Use AutoPlay for all media and devices" to off. 10.2 AUTOLOGIN Run netplwiz, uncheck "Users must enter a user name and password to use this computer." 10.3 ADVANCED SYSTEM SETTINGS: PERFORMANCE Disable all visual effects. 10.4 ADVANCED SYSTEM SETTINGS: REMOTE Uncheck “Allow Remote Assistance connections to this computer”. WINDOWS 10 ENTERPRISE TWEAKING GUIDE Page 12 of 21 10.5 CHOOSE OR CUSTOMIZE A POWER PLAN • Choose "High performance" power plan • Turn off hard disk after: 0 (Never) • USB selective suspend setting: Disabled • Turn off display after: 0 (Never) 10.6 INTEL RAPID STORAGE TECHNOLOGY (IF AVAILABLE) Intel will reduce PCIe link speed of the SSD if the rest of the system is under a low load. HAP playback requires high SSD throughput but uses very little CPU. Reducing the link speed will affect HAP performance so keep it at a maximum by disabling link power management. • Performance: Disable link power management 10.7 SYSTEM SOUNDS Change Sound Scheme to “No Sounds”. 10.8 USER ACCOUNT CONTROL SETTINGS (UAC) Set it to never notify (lowest setting). 10.9 DEFRAGMENT AND OPTIMIZE DRIVES Disable automatic schedule of disk optimization. SSD optimizations are important but under controlled forms. This document will later describe how to run optimizations upon logon. 10.10 NETWORK Disable everything except "Internet Protocol Version 4 (TCP/IPv4)" on all network adapters. 10.11 WAKE-ON-LAN Enable Wake-On-Lan (WOL) from Device Manager->Network Adapters->Adapter properties. WINDOWS 10 ENTERPRISE TWEAKING GUIDE Page 14 of 21 10.12 USB Disable USB notifications. 10.13 TASKBAR SETTINGS • Turn off “Show badges on taskbar buttons”. • Turn off “Show contacts on the taskbar”. 10.14 TASK MANAGER: STARTUP Disable Windows Defender notification icon and other applications that can steal focus from WATCHOUT. 10.15 INDEXING Disable disk indexing for all drives.

0 Comments
2023/02/11
15:47 UTC

0

BreakdanceWP is now live!

3 Comments
2022/11/06
22:23 UTC

0

WP Bakery & PHP 8 BREAKS site

Ever since php 8 upgrade this site breaks with following error.

Unparenthesized `a ? b : c ? d : e`   Use either (a ? b : c) ? d : e or a ? b : (c ? d : e)  in /wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php on line 673  

If i fix it I get a fatal error from each function - with no other log messages.

This is a friends website.
I think its due to WPBakery stopping free version compatibility but I am not sure.
Any Ideas?

0 Comments
2022/11/03
11:58 UTC

0

Website problem

Hi guys

I have a problem when I test my website with rich results test or mobile-friendly the results are coming good but the problem is when I check to see how the google bot saw my page it looks like he's not seeing the page with the theme. I will attach a screenshot maybe you can help me.
It is on WordPress btw.

https://preview.redd.it/gkgbxdkhl8p91.png?width=583&format=png&auto=webp&s=0d0afd5765c34c8162e3c9e02b01fe428809a0e6

3 Comments
2022/09/21
16:15 UTC

1

Need a team of Windows product developers in the US

My company is having the hardest time finding product developers in the US for a reasonable price. It would be an ongoing, on-retainer situation, and we're really desperate so everything is negotiable lol. Any ideas for how I can find good teams?

5 Comments
2022/07/01
14:15 UTC

0

Does Windows 11 use UWP or WinAPI?

From what I can find, UWP is intended for app development on the Windows 10 platform. As far as I can tell, neither official nor external documentation have included Windows 11 in the scope. What does this mean? Is Windows 11 reverting to WinAPI?

1 Comment
2021/10/05
20:11 UTC

4

Windows Mobile Hub discord server, showcase you windows mobile projects!

I would like to share a new Windows Mobile discord community for windows phone and Microsoft enthusiasts and developers!

If you have any windows mobile apps you can share them here, gather feedback and even create a dedicated channel for your project and users. There are other devs to collaborate with and great resources to utilize.

Invite: https://discord.gg/rCDU3jkpXs

1 Comment
2021/08/28
23:45 UTC

2

Microsoft responding to reviews on third-party apps?

Any devs having an issue where Microsoft will respond to a review with something useless, thereby stopping the developer from providing a meaningful response to the reviewer?

5 Comments
2021/07/28
16:09 UTC

1

Stop UWP ListView from scrolling to top when updating ObservableCollection

When I update my ObservableCollection which is bound to my ListView it automatically scrolls to the top.

My code that gets the data currently looks like this with records being the ObsevableCollection:

        public async Task getData()
        {

            var client = new HttpClient();
            HttpResponseMessage response = await client.GetAsync(new Uri("https://api.nomics.com/v1/currencies/ticker?key=<api key>&limit=10"));
            var jsonString = await response.Content.ReadAsStringAsync();
            JsonArray root = JsonValue.Parse(jsonString).GetArray();
            records.Clear();
            for (uint i = 0; i < root.Count; i++)
            {
                string id = root.GetObjectAt(i).GetNamedString("id");
                string name = root.GetObjectAt(i).GetNamedString("name");
                decimal price = decimal.Parse(root.GetObjectAt(i).GetNamedString("price"));
                records.Add(new Coin {
                    id = id,
                    name = name,
                    price = Math.Round(price, 4),
                    logo = "https://cryptoicon-api.vercel.app/api/icon/" + id.ToLower()
                });
            };
           
        }

My XAML-Layout:

 <ListView x:Name="CoinsLV" Grid.Row="1" IsItemClickEnabled="True" ItemClick="listView_ItemClick" ScrollViewer.VerticalScrollMode="Auto">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" Padding="5">
                        <Image Width="50" Height="50">
                            <Image.Source>
                                <BitmapImage UriSource="{Binding logo}" />
                            </Image.Source>
                        </Image>
                        <StackPanel>
                        <TextBlock Text="{Binding name}" 
                           Margin="20,0,0,0"
                           FontSize="18" 
                           FontWeight="SemiBold"
                           Foreground="DarkGray" />
                        <TextBlock Text="{Binding price}" 
                           Margin="20,0,0,0"
                           FontSize="20"
                           Foreground="White" 
                           Opacity="1" />
                    </StackPanel>
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>
            <ListView.ItemsPanel>
                <ItemsPanelTemplate>
                    <ItemsStackPanel ItemsUpdatingScrollMode="KeepItemsInView" />
                </ItemsPanelTemplate>
            </ListView.ItemsPanel>
        </ListView>

Is there any way to disable this behavior cause it's causing really a really bad UX. I've tried updating every single item individually but couldn't get that to work. Thanks.

1 Comment
2021/06/30
11:05 UTC

5

How do you promote an app in the Microsoft Store?

A few weeks ago I released my first application (WinForms application using DesktopBridge) in the Microsoft Store.

How have you promoted your application to get more users?

Are you using Facebook/Google/Bing Ads, or are you 100% relying on organic traffic from Google or the Microsoft Store?

The app can be found here:
https://www.microsoft.com/en-us/p/coragi-imageprint/9ns8bm1gm1w1

I've created a website to describe the features:
http://www.coragi.com/imageprint/

I'm looking forward to know more about your experiences.

1 Comment
2021/06/27
09:22 UTC

1

Tag Adding Box as used in the "To: " section of a new Email

Hi, I'd like to Google this but I'm new to UWP and don't even know the terminology. Is there a class for the Panel/View/Box used for a typical address text box as used in the heading of a new email (to, cc, etc)? Another example of this is adding tags when creating a stack overflow post.

I want to be able to type into a text box and hit tab or enter to snap the text into a button-like tag with an x to remove the tag. The cursor would then move to the end of the tag list as if the tag-buttons were in the text box as well.

Thanks for any help!

0 Comments
2021/06/26
16:01 UTC

1

Add item combobox to datagrid

Hi, everyone

Could I have a nudge? I would like to add this to the Datagrid.

 <ComboBox x:Name:"cbb_Color">
                            <ComboBoxItem>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Background="Red">Red</TextBlock>
                                </StackPanel>
                            </ComboBoxItem>
                            <ComboBoxItem>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Background="Green">Green</TextBlock>
                                </StackPanel>
                            </ComboBoxItem>  
 </ComboBox> 

Thanks in advance.

0 Comments
2021/06/10
11:39 UTC

4

MS Store app/UWP devs -- anyone having serious issues with analytics/acquisitions data?

Anyone with apps on the MS Store having serious issues with MS's analytics/acquisitions data recently (past few weeks)?

By this I mean:
-traffic data is seriously underreporting
-custom campaign traffic data is MIA

It was being cited by MS as "Acquisitions funnel data is inaccurate" but there's more to it. Anyone else having these major issues or other problems?

2 Comments
2021/06/02
17:52 UTC

3

Is it possible to access wifi direct API and other windows APIs in PWA for windows 10?

I'm planning to create an application for windows that needs access wifi direct api to allow service discovery and advertisement. I come from web and react native background, so after seeing so many options to go with on the microsoft website, i'm not sure what should I go with.

On the microsoft's choose your platform page (https://docs.microsoft.com/en-us/windows/apps/desktop/choose-your-platform), they also mentioned PWAs (although close to the bottom). And after checking the PWA page, i'm not sure if it allows access (and to what extent) to the native API, the wifi direct api in particular.

So can someone please tell me if it's possible to access wifi direct api in a PWA and should I really go with PWAs? Oh and I just saw another option while creating a new project with Visual Studio regarding creating an ASP.NET using react JS but I didn't see anything mentioned regarding react on the official docs (I might have missed it). Does the react.JS built ASP.NET run entirely on client side (cause I'm looking for a client-only solution)?

2 Comments
2021/05/22
11:57 UTC

2

Nida.tools is a WP theme and page builder based on structured data and a restfull API.

-      An app builder (build PWA’s in the fashion of a page builder).
-      Fully dynamic administration panel.
-      Extremely aggressive client-based catching
-      Incomparable load times

https://nida.tools/

Basically, we restructured the entire database and utilised Laravel in the construction of the system. Our beta will be available at 1st  of June.

More to come…

0 Comments
2021/05/07
21:36 UTC

6

[C# UWP] MediaCapture is failing silently

I've got a MediaCapture setup that, for reasoning I'm still sussing out, only records one second of video without giving me any sort of discernible error or exception.

This only happens if I'm pulling audio and video from the same device, such as an HDMI-to-USB capture device, and even then only on some devices: one device might fail as explained, but another device of the same model won't.

What could be going wrong within UWP, if anything? Which components ought I look deeper into to find the problem?

1 Comment
2020/12/16
01:32 UTC

3

[C# UWP] FileOpenPicker opens twice with keyboard accelerators

I would like to add keyboard shortcuts to some buttons. But for some reason the keyboard accelerator triggers the event twice. When I just click the button with the mouse, it works as expected.

<MenuBar>
        <MenuBarItem Title="File">
            <MenuFlyoutItem Text="Open file..." Click="OnOpen" Icon="OpenFile">
                <MenuFlyoutItem.KeyboardAccelerators>
                    <KeyboardAccelerator Key="O" Modifiers="Control"/>
                </MenuFlyoutItem.KeyboardAccelerators>
        </MenuFlyoutItem>
   </MenuBarItem>
</MenuBar>

FileLoader.LoadFile here shows the FileOpenPicker:

private async void OnOpen(object sender, RoutedEventArgs e)
{  
   if (!Busy)
   {
        var loadedFile = await FileLoader.LoadFile(".txt", PickerLocationId.Desktop);
                
         if(loadedFile != null)
         {
                 await FileLoader.LoadTextFile(loadedFile);

         }
    }                
}        

The same problem is happening with a FileSavePicker elsewhere in my code.

How can I prevent this from happening?

1 Comment
2020/08/16
11:16 UTC

2

Understanding part of your design process

I'm a researcher who is looking for people (18+) with app/interface/web design experience to complete a short 5-10 minute survey. I have posted in r/samplesize but it's less focused on a particular demographic.

I would like to ask some questions about your design practice. In particular, the design tools used and attitudes toward those tools.

https://rit.az1.qualtrics.com/jfe/form/SV_6D7jR50PSfamlHn

Thank you

Note: I received permission from the mods to post the questionnaire. The data collection is for my own work and not something the mods are running.

0 Comments
2020/05/18
13:23 UTC

Back To Top