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

added cell and row context flyouts #85

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

w-ahmad
Copy link
Owner

@w-ahmad w-ahmad commented Dec 16, 2024

Closses #38

Description

This PR enhances the TableView by adding support for displaying context flyouts for rows and cells.

New Properties

  • RowContextFlyout Set's context flyout for TableView rows.
  • CellContextFlyout Set's context flyout for TablevIew cells.

New Events

  • RowContextFlyoutOpening fired before showing context flyout.
  • CellContextFlyoutOpening fired before showing context flyout.

New types

  • TableViewRowContextFlyoutEventArgs
public partial class TableViewRowContextFlyoutEventArgs : HandledEventArgs
{
    public TableViewRowContextFlyoutEventArgs(int index, TableViewRow row, object item, FlyoutBase flyout)
    {
        Index = index;
        Row = row;
        Item = item;
        Flyout = flyout;
    }

    public int Index { get; }
    public TableViewRow Row { get; }
    public object Item { get; }
    public FlyoutBase Flyout { get; }
}
  • TableViewCellContextFlyoutEventArgs
public partial class TableViewCellContextFlyoutEventArgs : HandledEventArgs
{
    public TableViewCellContextFlyoutEventArgs(TableViewCellSlot slot, TableViewCell cell, object item, FlyoutBase flyout)
    {
        Slot = slot;
        Cell = cell;
        Item = item;
        Flyout = flyout;
    }

    public TableViewCellSlot Slot { get; }
    public TableViewCell Cell { get; }
    public object Item { get; }
    public FlyoutBase Flyout { get; }
}

@w-ahmad w-ahmad linked an issue Dec 16, 2024 that may be closed by this pull request
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.

Add RightMouseClick in cell
1 participant