NtBackPanel

The NtBackPanel is a simple panel that is located behind other controls like the NtFlankControl and the NtHScrollBar e.g. It is meant to embrace these controls and draw a 3D border around them, so it looks like they all are part of the same control. Please see the following figure: It shows a Time Chart with Flank Controls and Header Control. All are separate controls but the 3D border around them makes it look as if they were only one control (including scroll bars).


Class Hierarchy:

System.Windows.Forms.Panel

NtBackPanel

Methods and Properties:

Modifier / Return Value Name and Parameters Description
public void Repos ( params Control[] controls ) Call this member always when the layout or size of your Form changes. It ensures that the NtBackPanel's size and location are adapted to the new size and location of the elements in it.
public void SetPadding ( int paddingTop, int paddingLeft, int paddingBottom, int paddingRight ) Set the four padding values that determine the additional enlargement around the included controls. The default value for each of the four is 2.