PanelExpanderButton customize

Hi,

I use this code to limit the text of a TextBlock

overflow: go.TextBlock.OverflowEllipsis,
maxLines: 2,
width: 140, wrap: go.TextBlock.WrapFit,

How can I use the same for PanelExpanderButton list items

Thanks,
Milamdo

Thank you for showing what results that you are getting, but we also need to see what results you want to get instead. And we also need to see how you have defined your panels.