Skip to content

Spreadsheet: Document the Dialogs property of the ActiveSheetEditor#3140

Open
StenlyGrigorov wants to merge 1 commit intomasterfrom
stennlyy/m-Spreadsheet-document-the-Dialogs-property-of-ActiveSheetEditor
Open

Spreadsheet: Document the Dialogs property of the ActiveSheetEditor#3140
StenlyGrigorov wants to merge 1 commit intomasterfrom
stennlyy/m-Spreadsheet-document-the-Dialogs-property-of-ActiveSheetEditor

Conversation

@StenlyGrigorov
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 6, 2026 14:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new RadSpreadsheet documentation article describing how to access and customize the worksheet editor dialog content via the editor’s dialogs collection.

Changes:

  • Introduces a new “Worksheet Editor Dialogs” documentation page.
  • Lists the available dialog properties exposed by WorksheetEditorDialogs.
  • Provides examples for accessing and overriding a dialog content implementation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

---
title: Worksheet Editor Dialogs
page_title: Worksheet Editor Dialogs
description: Check our "Worksheet Editor Dialogs" documentation article for the RadSpreadsheet WPF control.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

Front-matter description hard-codes "WPF" instead of using the {{ site.framework_name }} token used in other RadSpreadsheet articles. This makes the page inconsistent across framework builds; align it with the standard description pattern.

Suggested change
description: Check our "Worksheet Editor Dialogs" documentation article for the RadSpreadsheet WPF control.
description: Check our "Worksheet Editor Dialogs" documentation article for the RadSpreadsheet {{ site.framework_name }} control.

Copilot uses AI. Check for mistakes.
Comment on lines +21 to +22
* `CustomFilterDialog`—Gets or sets the custom filter dialog. To set a custom custom filter dialog, extend the `CustomFilterDialogContent` class.
* `CustomSortListsDialog`—Gets or sets the custom sort lists dialog. To set a custom custom sort lists dialog, extend the `CustomSortListsDialogContent` class.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

Remove the duplicated word "custom" ("custom custom") in this sentence; it reads like a copy/paste typo.

Suggested change
* `CustomFilterDialog`—Gets or sets the custom filter dialog. To set a custom custom filter dialog, extend the `CustomFilterDialogContent` class.
* `CustomSortListsDialog`—Gets or sets the custom sort lists dialog. To set a custom custom sort lists dialog, extend the `CustomSortListsDialogContent` class.
* `CustomFilterDialog`—Gets or sets the custom filter dialog. To set a custom filter dialog, extend the `CustomFilterDialogContent` class.
* `CustomSortListsDialog`—Gets or sets the custom sort lists dialog. To set a custom sort lists dialog, extend the `CustomSortListsDialogContent` class.

Copilot uses AI. Check for mistakes.
* `CustomSortListsDialog`—Gets or sets the custom sort lists dialog. To set a custom custom sort lists dialog, extend the `CustomSortListsDialogContent` class.
* `DataValidationDialog`—Gets or sets the data validation dialog. To set a custom data validation dialog, extend the `DataValidationDialogContent` class.
* `AlertDialog`—Gets or sets the alert dialog. To set a custom alert dialog, extend the `AlertDialogContent` class.
* `ConfirmDialog`—Gets or sets the confirm dialog. To set a custom confirm dialog, extend the `ConfirmDialogContent` class.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

Trailing spaces at the end of this list item will render as a hard line break in Markdown. Remove the extra whitespace to avoid unintended formatting changes.

Suggested change
* `ConfirmDialog`—Gets or sets the confirm dialog. To set a custom confirm dialog, extend the `ConfirmDialogContent` class.
* `ConfirmDialog`—Gets or sets the confirm dialog. To set a custom confirm dialog, extend the `ConfirmDialogContent` class.

Copilot uses AI. Check for mistakes.

## Customizing the Dialogs

You can customize the dialogs by creating a new class that inherits from the dialog that you want to customize and override the necessary methods to implement your custom logic.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

The section says to "inherit from the dialog" to customize it, but the preceding list instructs extending *DialogContent classes and the example inherits from FindAndReplaceDialogContent. Reword this to explicitly say to inherit from the corresponding *DialogContent type to avoid confusion.

Suggested change
You can customize the dialogs by creating a new class that inherits from the dialog that you want to customize and override the necessary methods to implement your custom logic.
You can customize the dialogs by creating a new class that inherits from the corresponding `*DialogContent` type for the dialog that you want to customize and overriding the necessary methods to implement your custom logic.

Copilot uses AI. Check for mistakes.
* `SeriesDialog`—Gets or sets the series dialog. To set a custom series dialog, extend the `SeriesDialogContent` class.
* `HyperlinkDialog`—Gets or sets the hyperlink dialog. To set a custom hyperlink dialog, extend the `HyperlinkDialogContent` class.
* `FindAndReplaceDialog`—Gets or sets the find and replace dialog. To set a custom find and replace dialog, extend the `FindAndReplaceDialogContent` class.
* `CreateUpdateSpreadsheetNameDialog`—Gets or sets the create update spreadsheet name dialog. To set a custom create update spreadsheet name dialog, extend the `CreateUpdateSpreadsheetNameDialogContent` class.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

"create update" in these sentences is grammatically awkward; consider changing to "create/update" (or "create or update") for readability while keeping the property name as-is.

Suggested change
* `CreateUpdateSpreadsheetNameDialog`—Gets or sets the create update spreadsheet name dialog. To set a custom create update spreadsheet name dialog, extend the `CreateUpdateSpreadsheetNameDialogContent` class.
* `CreateUpdateSpreadsheetNameDialog`—Gets or sets the create/update spreadsheet name dialog. To set a custom create/update spreadsheet name dialog, extend the `CreateUpdateSpreadsheetNameDialogContent` class.

Copilot uses AI. Check for mistakes.
title: Worksheet Editor Dialogs
page_title: Worksheet Editor Dialogs
description: Check our "Worksheet Editor Dialogs" documentation article for the RadSpreadsheet WPF control.
slug: radspreadsheet-worksheet-editor-dialogs
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

The slug radspreadsheet-worksheet-editor-dialogs is inconsistent with other ui-* feature articles whose slugs include the radspreadsheet-ui- prefix (e.g., radspreadsheet-ui-worksheet-editor-context-menu). Consider renaming the slug (and updating references) to match the established convention.

Suggested change
slug: radspreadsheet-worksheet-editor-dialogs
slug: radspreadsheet-ui-worksheet-editor-dialogs

Copilot uses AI. Check for mistakes.

# Worksheet Editor Dialogs

The `RadWorksheetEditor` class provides the `Dialog` property, which is of the type of `WorksheetEditorDialogs`. This class contains properties for each of the dialogs used in the `RadSpreadsheet` control.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

The text says RadWorksheetEditor exposes a Dialog property, but the rest of the article (and the code samples) use Dialogs. This looks like an API name typo and will mislead readers; update the property name so it's consistent and accurate.

Suggested change
The `RadWorksheetEditor` class provides the `Dialog` property, which is of the type of `WorksheetEditorDialogs`. This class contains properties for each of the dialogs used in the `RadSpreadsheet` control.
The `RadWorksheetEditor` class provides the `Dialogs` property, which is of the type of `WorksheetEditorDialogs`. This class contains properties for each of the dialogs used in the `RadSpreadsheet` control.

Copilot uses AI. Check for mistakes.
Comment on lines +56 to +61
The RadSpreadsheet control provides the `ActiveWorksheetEditor` property that gives you access to the active worksheet editor. You can use this property to access the `Dialogs` property of the active worksheet editor and utilize the dialogs as needed.

__Accessing the Dialogs__
```C#
var findAndReplaceDialog = this.radSpreadsheet.ActiveWorksheetEditor.Dialogs.FindAndReplaceDialog;
```
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

This article describes accessing dialogs via ActiveWorksheetEditor, but the PR title mentions the ActiveSheetEditor path. If the intent is to document ActiveSheetEditor, add an example that uses radSpreadsheet.ActiveSheetEditor and casts it to RadWorksheetEditor before accessing .Dialogs (and clarify when ActiveWorksheetEditor vs ActiveSheetEditor should be used).

Copilot uses AI. Check for mistakes.
Comment on lines +21 to +22
* `CustomFilterDialog`—Gets or sets the custom filter dialog. To set a custom custom filter dialog, extend the `CustomFilterDialogContent` class.
* `CustomSortListsDialog`—Gets or sets the custom sort lists dialog. To set a custom custom sort lists dialog, extend the `CustomSortListsDialogContent` class.
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

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

Remove the duplicated word "custom" ("custom custom") in this sentence; it reads like a copy/paste typo.

Suggested change
* `CustomFilterDialog`—Gets or sets the custom filter dialog. To set a custom custom filter dialog, extend the `CustomFilterDialogContent` class.
* `CustomSortListsDialog`—Gets or sets the custom sort lists dialog. To set a custom custom sort lists dialog, extend the `CustomSortListsDialogContent` class.
* `CustomFilterDialog`—Gets or sets the custom filter dialog. To set a custom filter dialog, extend the `CustomFilterDialogContent` class.
* `CustomSortListsDialog`—Gets or sets the custom sort lists dialog. To set a custom sort lists dialog, extend the `CustomSortListsDialogContent` class.

Copilot uses AI. Check for mistakes.
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