New to UWP: Need Help Understanding UI Element Properties
-
I've spent many years with WinForms and have concluded learning UWP is long overdue. I'm doing OK so far, but the one thing I'm having trouble finding info about is the UI Element properties. Namely, the Brush, Layout, Appearance, Common, Automation, etc. properties you see in one form or another for all UI elements in the design view. I realize this is not a very specific question and I did search, but found nothing. What I'm looking for is some documentation/link describing in detail all of these properties and what they have in common to the UI Elements. Understanding is key to better programming. Thanks for any recommendations.
Regards, R. Wey
-
I've spent many years with WinForms and have concluded learning UWP is long overdue. I'm doing OK so far, but the one thing I'm having trouble finding info about is the UI Element properties. Namely, the Brush, Layout, Appearance, Common, Automation, etc. properties you see in one form or another for all UI elements in the design view. I realize this is not a very specific question and I did search, but found nothing. What I'm looking for is some documentation/link describing in detail all of these properties and what they have in common to the UI Elements. Understanding is key to better programming. Thanks for any recommendations.
Regards, R. Wey
For what it's worth, you've identified the most obscure properties; even "Brush" shows up as Foreground, Background and Fill (and not as a "brush" per se) in "UI Elements".
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
-
For what it's worth, you've identified the most obscure properties; even "Brush" shows up as Foreground, Background and Fill (and not as a "brush" per se) in "UI Elements".
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
Given more investigation since my original post, I understand what you're saying. My general problem is that I never jumped on board the moment WPF came out, as Windows apps were never my true occupation. I've built numerous WinForms apps, some quite polished, for utility purposes and WinForms has served me quite well. I am now faced with "catching up" and painful as it is I feel confident I will eventually succeed. To answer my own question, however, I've found an excellent video series on YouTube by Bob Tabor which presents a 70+ part series on UWP. For anyone interested (newcomers like me), the first video is UWP 001 Series Introduction - YouTube[^] You can search YouTube to easily find all in the series.
Regards, R. Wey
-
Given more investigation since my original post, I understand what you're saying. My general problem is that I never jumped on board the moment WPF came out, as Windows apps were never my true occupation. I've built numerous WinForms apps, some quite polished, for utility purposes and WinForms has served me quite well. I am now faced with "catching up" and painful as it is I feel confident I will eventually succeed. To answer my own question, however, I've found an excellent video series on YouTube by Bob Tabor which presents a 70+ part series on UWP. For anyone interested (newcomers like me), the first video is UWP 001 Series Introduction - YouTube[^] You can search YouTube to easily find all in the series.
Regards, R. Wey
There are MS UWP / WPF "toolkits and showcases" that give you a sense for the UI elements. And there are the "master" samples. [Code samples - Windows app development](https://developer.microsoft.com/en-us/windows/samples/) [GitHub - microsoft/Xaml-Controls-Gallery: This app demonstrates the controls available in WinUI and the Fluent Design System.](https://github.com/Microsoft/Xaml-Controls-Gallery)
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food