Indicates whether the AutoScrollMargin property should be persisted.
[Visual Basic] Public Function ShouldPersistAutoScrollMargin() As Boolean [C#] public bool ShouldPersistAutoScrollMargin(); [C++] public: bool ShouldPersistAutoScrollMargin(); [JScript] public function ShouldPersistAutoScrollMargin() : 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 | ShouldPersistAutoScrollPosition