SelectedView.VisibleColumnCount

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by Erik Pepping - RADVenture B.V
Avatar
Hi,

On what moment is the property SelectedView.VisibleColumnCount updated? I tried both this.editor.SizeChanged and this.editor.SelectedView.Resize, but the property isn't updated on those events. Which event I can use to retrieve the correct value for SelectedView.VisibleColumnCount after an resize event?

Thanks in advance,

Erik Pepping

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Eric,

VisibleColumnCount is updated in the ArrangeCore method of EditorView. ArrangeCore is typically called after a Layout request. Resizing triggers layouts typically but the Resize events might be firing before the layout occurs. Maybe try the Layout method. If that fails, you could maybe subclass SyntaxEditor and override its ArrangeCore method.


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.