Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more details for built-in control types #226

Merged
merged 10 commits into from
Nov 25, 2023

Conversation

robloo
Copy link
Contributor

@robloo robloo commented Nov 5, 2023

There are really 4 types of controls in a XAML framework:

  1. Drawn Controls
  2. Layout Controls (no appearance)
  3. User Controls
  4. Templated Controls
    • Fully Customizable (Button)
    • Partially Customizable (DataGrid)

This is a categorization I've been thinking about for a few years now (layout controls with no appearance is a new one based on Avalonia's existing docs). I think it's useful for devs to be aware of this information and I haven't seen it anywhere else. Usually people just say there are 'lookless' templated controls in XAML but in practice there are caveats and differences to be aware of that limit what is possible for an app.

sidebars.js Show resolved Hide resolved
@robloo robloo marked this pull request as ready for review November 12, 2023 17:06
@robloo
Copy link
Contributor Author

robloo commented Nov 25, 2023

@maxkatz6 I think I fixed all the errors on my end. It seems there is an issue with the build system now. How would you like me to proceed with this PR?

@maxkatz6 maxkatz6 enabled auto-merge November 25, 2023 22:27
@maxkatz6
Copy link
Member

@robloo just fixed main branch. Should be good now.

@maxkatz6 maxkatz6 added this pull request to the merge queue Nov 25, 2023
@maxkatz6 maxkatz6 removed this pull request from the merge queue due to a manual request Nov 25, 2023
@maxkatz6 maxkatz6 merged commit ba3ffc4 into AvaloniaUI:main Nov 25, 2023
2 checks passed
@robloo robloo deleted the control-types branch November 25, 2023 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants