Hi.
Fundamentally, I need to be able to switch off column separators on rows in a table based on data in my model.
Therefore I am trying to understand how to set RowDefinition information for a table either via binding or code. Any example would be welcomed, as would any other approaches you might suggest.
The case I am working on has a variable number of rows added to a panel.Table as panel.TableRows,then a variable number of cells defined via panle.Auto instances within each row. In the case that a row has no cells, I need to be able to hide the column separators.
So - how to effect attributes of a tablerow based on binding or code please ?
I tried getting the panel.Table’s RowDefinition definition via, for example
var rd = tbl.getRowDefinition(5)
rd.ColumnSeparatorStrokeWidth = 0
but this has no effect and I cannot see a means to put the RowDefinition back, i.e. no panel.Table.getRowDefinition() function ?
Just to illustrate the point the first image shows what I currently have and the second shows what I want.