AutoScrollStyle Property

Gets/sets a value indicating the type of auto-scrolling used by the UltraExplorerBar. Auto-scrolling is only possible when the control's Style permits group-level scrolling, such as the 'ExplorerBar' and 'VisualStudio2005Toolbox' styles. Another prerequisite for auto-scrolling is that the controls to be activated and scrolled into view are parented to an UltraExplorerBarContainerControl.
Public Property AutoScrollStyle As AutoScrollStyle
public AutoScrollStyle AutoScrollStyle {get; set;}

Auto-scrolling in the UltraExplorerBar is similar to auto-scrolling seen in a Panel. When a child control is activated, either via the mouse or keyboard, it is scrolled into view. This functionality can only be used when one or more groups have their Style set to 'ContainerControl'. Note, if a group is collapsed then the controls it contains will never be activated or scrolled into view. The active control must exist in an expanded group.

The active control can be scrolled into view programmatically by calling the UltraExplorerBar's EnsureActiveControlInView(Boolean) method.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also