Skybound Rebar

RebarBand.Restore Method (Boolean)

Resizes the band to its preferred width, with or without animation.

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

Parameters

animate
Specifies whether the resize action should be animated.

Remarks

The preferred width of a band is the minimum width required for all of its buttons to be completely visible. 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.Restore Overload List | Maximize | Minimize