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 basic support for automation for DataGrid and DataGridRow #15174

Merged
merged 5 commits into from
Mar 30, 2024

Conversation

wieslawsoltes
Copy link
Collaborator

@wieslawsoltes wieslawsoltes commented Mar 29, 2024

What does the pull request do?

Adds basic automation support for DataGrid/DataGridRow

image

What is the current behavior?

DataGrid/DataGridRow controls are missing basic automation support.

What is the updated/expected behavior with this PR?

DataGrid/DataGridRow controls have basic automation support.

How was the solution implemented (if it's not obvious)?

Added automation peers for DataGrid/DataGridRow controls.

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

Part of #10143

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0046821-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Custom;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@maxkatz6 maxkatz6 Mar 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I guess it's not as necessary for starters, since basic text works either way.

@maxkatz6 maxkatz6 added the backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch label Mar 30, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0046823-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@wieslawsoltes wieslawsoltes added this pull request to the merge queue Mar 30, 2024
Merged via the queue into AvaloniaUI:master with commit 78bd90d Mar 30, 2024
10 checks passed
@wieslawsoltes wieslawsoltes deleted the automation/datagrid branch March 30, 2024 08:27
maxkatz6 pushed a commit that referenced this pull request Apr 6, 2024
* Add basic support for automation for DataGrid and DataGridRow

* Add DataGridCellAutomationPeer

* Add DataGridColumnHeaderAutomationPeer

* Add DataGridColumnHeadersPresenterAutomationPeer

* Add DataGridDetailsPresenterAutomationPeer
@maxkatz6 maxkatz6 added backported-11.1.x and removed backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants