Indicates whether the AutoScrollPosition property should be persisted.
[Visual Basic] Public Function ShouldPersistAutoScrollPosition() As Boolean [C#] public bool ShouldPersistAutoScrollPosition(); [C++] public: bool ShouldPersistAutoScrollPosition(); [JScript] public function ShouldPersistAutoScrollPosition() : Boolean;
true if the property value has changed from its default; otherwise, false.
You typically use this method if you are either creating a designer for the ScrollableControl or creating your own control incorporating the ScrollableControl class.
ScrollableControl Class | ScrollableControl Members | System.WinForms Namespace | ShouldPersistAutoScrollMargin