Hi,
Is there a way to set header and footer as readonly ?
I need this functionnality because I set header and footer in code-behind and I don't want user to edit them.
I have already remove the "Header & Footer" tab but we can always double-click to change header or footer content.
Hi Nicolas,
The first thing you have to do is to disable the command in the context menu which shows on right click over the header/footer. This can be done by applying custom ContextMenuContentBuilder (as demonstrated in the attached project).
The second step could be to block the clicks which activate the header/footer edit mode by adding an additional rectangle to the Header/Footer presenter template: