JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the Splitter Class

As discussed in the In Depth section of this chapter, you can use a splitter to resize a control at run time. Here is the class hierarchy for the Splitter class:

Object
   MarshalByRefObject
      Component
         Control
            Splitter

You can find the more notable public properties of the Splitter class in Table 8.6 and the more notable events in Table 8.7. Note that as with other Windows controls, I am not listing the notable properties, methods, and events Splitter inherits from the Control class, such as the Click event; you can see all that in Chapter 5 in Tables 5.1, 5.2, and 5.3.

Table 8.6: Noteworthy public properties of Splitter objects.

Property

Means

BorderStyle

Gets/sets the splitter's border type.

MinExtra

Gets/sets the minimum size of the container that does not display controls docked to the edge.

MinSize

Gets/sets the minimum size of the splitter's target.

SplitPosition

Gets/sets the current position of the splitter.

Table 8.7: Noteworthy public events of Splitter objects.

Event

Means

SplitterMoved

Occurs when the splitter has moved.

SplitterMoving

Occurs as the splitter is moving.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor