You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need that in order to display further information on a clicked cell.
Makes it also possible to have a cell-based contextmenu, or something like a hyperlink.
Implementation should be not so complicated:
create new Eventargs:
public class TableViewCellRightTapEventArgs : HandledEventArgs
{
public TableViewCellRightTapEventArgs(int row, int col, object dataContext)
{
Row = row;
Column = col;
DataContext = dataContext;
}
public int Row { get; }
public int Column { get; }
public object DataContext{ get; }
}
with row/column obvious, DataContext showing the whole item from ItemsCollection[row].
I also thought about including Content from the cell. But I feel that might publish information about the internal realisation (eg. TextBox/CheckBox/...) which should be probably hidden.
The text was updated successfully, but these errors were encountered:
I need that in order to display further information on a clicked cell.
Makes it also possible to have a cell-based contextmenu, or something like a hyperlink.
Implementation should be not so complicated:
with row/column obvious, DataContext showing the whole item from ItemsCollection[row].
Then in Xaml you can say:
I also thought about including Content from the cell. But I feel that might publish information about the internal realisation (eg. TextBox/CheckBox/...) which should be probably hidden.
The text was updated successfully, but these errors were encountered: