Skybound Rebar

RebarBand.Minimize Method (Boolean)

Resizes the band to its minimum size with or without animation.

[Visual Basic]
Overloads Public Sub Minimize( _
   ByVal animate As Boolean _
)
[C#]
public void Minimize(
   bool animate
);

Parameters

animate
Specifies whether the resize action should be animated.

Remarks

The minimum width of a band is the sum of the width of the size grip, image, text and the Width component of the MinimumSize property. If the band is not visible, calling this method has no effect.

Exceptions

Exception Type Condition
InvalidOperationException The band was not added to a Rebar control.

See Also

RebarBand Class | Skybound.Rebar Namespace | RebarBand.Minimize Overload List | Maximize | Restore