NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ScrollableControl.ShouldPersistAutoScrollPosition

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;

Return Value

true if the property value has changed from its default; otherwise, false.

Remarks

You typically use this method if you are either creating a designer for the ScrollableControl or creating your own control incorporating the ScrollableControl class.

See Also

ScrollableControl Class | ScrollableControl Members | System.WinForms Namespace | ShouldPersistAutoScrollMargin