Skip to content

[Testing] Refactoring Feature Matrix UITest Cases for SwipeView Control - #38193

Merged
kubaflo merged 13 commits into
dotnet:inflight/currentfrom
LogishaSelvarajSF4525:refactoring-swipeview-feature
Oct 6, 2026
Merged

kubaflo merged 13 commits into
dotnet:inflight/currentfrom
LogishaSelvarajSF4525:refactoring-swipeview-feature

Conversation

@LogishaSelvarajSF4525

@LogishaSelvarajSF4525 LogishaSelvarajSF4525 commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

This pull request significantly enhances the SwipeView control test page and its ViewModel, adding new test options and improving flexibility for swipe item scenarios. The main improvements include support for multiple swipe items per side, new options for disabling, hiding, and command-binding swipe items, and the addition of new event tracking and display. UI adjustments and code refactoring improve maintainability and test coverage.

Feature enhancements:

  • Added support for multiple swipe items per side, including new options in both the UI (SwipeViewOptionsPage.xaml) and ViewModel (SwipeViewViewModel) to enable/disable this feature. [1] [2] [3] [4] [5]
  • Introduced options to disable, hide, and use command binding on individual swipe items, with corresponding checkboxes in the options page and logic in the ViewModel and swipe item creation. [1] [2] [3] [4] [5]
  • Added ViewModel properties and UI labels to track and display OpenRequested, CloseRequested, and the count of SwipeChanging events. Hooked up these events in the code-behind and updated the ViewModel accordingly. [1] [2] [3] [4]

Code refactoring and consistency:

  • Replaced repetitive ViewModel property assignments with a new Reset() method for easier state management and invoked it from the options command. [1] [2]
  • Updated swipe item creation logic to use side-specific automation IDs and support the new options, improving testability and clarity. [1] [2]

UI/UX improvements:

  • Adjusted layout spacings and label alignments in the options page for a more compact and visually consistent UI. [1] [2] [3]

Issue Identified:

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 38193

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 38193"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label Sep 4, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @@LogishaSelvarajSF4525! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@sheiksyedm

Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@vishnumenon2684

Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Sep 10, 2026
@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Note

🔍 /review started

AzDO build 15581110 is running for ios.

The s/agent-review-in-progress label stays on this PR while the run is active. The final recommendation and outcome labels are posted only after Gate, expert review, and Deep UI tests finish.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@MauiBot

This comment has been minimized.

@MauiBot MauiBot added s/agent-review-incomplete AI review did not complete all expected phases and removed s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates s/agent-review-in-progress AI review is currently running for this PR labels Oct 6, 2026
@Ahamed-Ali
Ahamed-Ali marked this pull request as ready for review October 6, 2026 12:07
Copilot AI balanced review requested due to automatic review settings October 6, 2026 12:07
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Some option combinations are not implemented consistently, and the below-threshold test validates the opposite behavior.

Review effort: Balanced
Findings: 3 Medium severity

Open (3)
What changed in this PR

Expands the SwipeView feature matrix with configurable swipe items, event tracking, and broader UI test coverage.

Changes:

  • Adds multiple, disabled, hidden, and command-bound swipe-item options.
  • Tracks programmatic open/close and swipe-changing events.
  • Adds and orders SwipeView UI scenarios.
File Description
SwipeViewFeatureTests.cs Adds SwipeView UI scenarios and assertions.
SwipeViewViewModel.cs Adds option state, commands, counters, and reset logic.
SwipeViewOptionsPage.xaml.cs Formatting-only change.
SwipeViewOptionsPage.xaml Adds new configuration controls and compacts layout.
SwipeViewControlPage.cs Creates configurable items and tracks events.

Comment on lines +140 to +141
var topSwipeItems = CreateSwipeItems(swipeItemType, "Top_");
var bottomSwipeItems = CreateSwipeItems(swipeItemType, "Bottom_");
Comment on lines +287 to +288
var buttonView = new SwipeItemView { Content = button, IsVisible = !_viewModel.HideSwipeItem };
swipeItems.Add(buttonView);
Comment on lines +997 to +999
var ended = App.WaitForElement("SwipeEndedLabel").GetText();
Assert.That(ended, Does.Contain("IsOpen: Open"),
$"When swipe distance is below Threshold, SwipeEnded.IsOpen must be true. Was: '{ended}'");
@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Note

🔍 /review started

AzDO build 15582471 is running for ios.

The s/agent-review-in-progress label stays on this PR while the run is active. The final recommendation and outcome labels are posted only after Gate, expert review, and Deep UI tests finish.

@MauiBot

MauiBot commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

AI Review Summary

@LogishaSelvarajSF4525 — new AI review results are available based on commit 2ac7ab6.

Gate Failed Confidence Unknown Platform iOS


🗂️ Review Sessions — click to expand
🚦 Gate — Test Before & After Fix

Gate Result: ❌ FAILED

The trusted test-verification gate reported a failure. Its detailed display artifact was
missing or contradicted this trusted pipeline verdict, so that agent-writable content was not
used in the review summary.

Inspect the trusted Gate task logs for the failing build or test evidence. This run is not
eligible for approval.


📋 Pre-Flight — Context & Validation

⚠️ Pre-Flight did not produce output on this run.

The Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase.

Next step: re-comment /review to retry on a fresh agent. If this repeats across runs, a maintainer should inspect the reviewer token and Task 3 logs.


🔬 Code Review — Deep Analysis

⚠️ Code Review did not produce output on this run.

The Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase.

Next step: re-comment /review to retry on a fresh agent. If this repeats across runs, a maintainer should inspect the reviewer token and Task 3 logs.


🛠️ Try-Fix — Analysis & Comparison

⚠️ Try-Fix did not produce output on this run.

The Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase.

Next step: re-comment /review to retry on a fresh agent. If this repeats across runs, a maintainer should inspect the reviewer token and Task 3 logs.


🏁 Report — Final Recommendation

⚠️ Report / Final Recommendation did not produce output on this run.

The Copilot expert-review task ended before this phase was persisted, usually because the review-stage time budget expired or the CI agent encountered a transient authentication/runtime problem. Earlier completed sections remain valid, but this review is incomplete without this phase.

Next step: re-comment /review to retry on a fresh agent. If this repeats across runs, a maintainer should inspect the reviewer token and Task 3 logs.


📱 UI Tests — SwipeView

Detected UI test categories: SwipeView

❌ Deep UI tests — 88 passed, 1 failed across 1 category on platform-pool agent (replaces in-process counts above).

🧪 UI Test Execution Results (deep, platform pool)

Category Tests Snapshot diffs
SwipeView 88/89 (1 ❌) —
❌ SwipeView — 1 failed test
SwipeItemVisibilityChangeShouldNotInvokeTwice
SwipeItem command should be invoked exactly once per swipe
Assert.That(afterFirstSwipe, Is.EqualTo("InvokeCount: 1"))
  String lengths are both 14. Strings differ at index 13.
  Expected: "InvokeCount: 1"
  But was:  "InvokeCount: 0"
  ------------------------^
at Microsoft.Maui.TestCases.Tests.Issues.Issue7580.SwipeItemVisibilityChangeShouldNotInvokeTwice() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue7580.cs:line 37

1)    at Microsoft.Maui.TestCases.Tests.Issues.Issue7580.SwipeItemVisibilityChangeShouldNotInvokeTwice() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue7580.cs:line 37

📎 Download drop-deep-uitests artifact (TRX + snapshot diffs)


🧭 Next Steps — review latest findings

No alternative fix was selected for this run. Review the session findings and CI results before merging.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Oct 6, 2026
@kubaflo
kubaflo changed the base branch from main to inflight/current October 6, 2026 17:13
@kubaflo
kubaflo merged commit 21518d9 into dotnet:inflight/current Oct 6, 2026
175 of 198 checks passed
@github-actions github-actions Bot added this to the .NET 10 SR12 milestone Oct 6, 2026
kubaflo pushed a commit that referenced this pull request Oct 6, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
kubaflo pushed a commit that referenced this pull request Oct 13, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
kubaflo pushed a commit that referenced this pull request Oct 14, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
kubaflo pushed a commit that referenced this pull request Oct 18, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
kubaflo pushed a commit that referenced this pull request Oct 21, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
kubaflo pushed a commit that referenced this pull request Oct 25, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
kubaflo pushed a commit that referenced this pull request Oct 26, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
github-actions Bot pushed a commit that referenced this pull request Oct 28, 2026
…ol (#38193)

This pull request significantly enhances the SwipeView control test page
and its ViewModel, adding new test options and improving flexibility for
swipe item scenarios. The main improvements include support for multiple
swipe items per side, new options for disabling, hiding, and
command-binding swipe items, and the addition of new event tracking and
display. UI adjustments and code refactoring improve maintainability and
test coverage.

**Feature enhancements:**

* Added support for multiple swipe items per side, including new options
in both the UI (`SwipeViewOptionsPage.xaml`) and ViewModel
(`SwipeViewViewModel`) to enable/disable this feature.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L143-R141)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[5]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
* Introduced options to disable, hide, and use command binding on
individual swipe items, with corresponding checkboxes in the options
page and logic in the ViewModel and swipe item creation.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR199-R256)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)
[[5]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768R83-R102)
* Added ViewModel properties and UI labels to track and display
`OpenRequested`, `CloseRequested`, and the count of `SwipeChanging`
events. Hooked up these events in the code-behind and updated the
ViewModel accordingly.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR24-R32)
[[2]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR155-R172)
[[3]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L97-R92)
[[4]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2R329-R341)

**Code refactoring and consistency:**

* Replaced repetitive ViewModel property assignments with a new
`Reset()` method for easier state management and invoked it from the
options command.
[[1]](diffhunk://#diff-e15a9520a14cf5fb577d06e3775411e6156f94078a29a5bf061fb168743c8e2dR268-R293)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L34-R34)
* Updated swipe item creation logic to use side-specific automation IDs
and support the new options, improving testability and clarity.
[[1]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L197-R288)
[[2]](diffhunk://#diff-144a93dad6d0d8cce0cd39451fc4317d7dfe8349e45da288f46353b7c92bd2d2L236-R300)

**UI/UX improvements:**

* Adjusted layout spacings and label alignments in the options page for
a more compact and visually consistent UI.
[[1]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L13-R13)
[[2]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L22-R23)
[[3]](diffhunk://#diff-5eb4397958bdf9d8bba1ce1f1f079758a7575ab9e97d9940c59949bad6ef4768L54-R73)

**Issue Identified:**
- #39166
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-swipeview SwipeView community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration s/agent-gate-failed AI could not verify tests catch the bug s/agent-review-incomplete AI review did not complete all expected phases s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants