Gets or sets whether the band has a size grip that allows it to be moved and resized by the user.
true if the band has a size grip; otherwise, false.
The size grip allows the user to resize and reposition the band at runtime. Even if a band has no size grip, its size can be changed if a band beside it has a size grip and is moved. This setting is perhaps most useful when set to the same value for all the bands in a rebar -- effectively locking or unlocking the entire rebar control.
In left-to-right layouts, the size grip appears at the left edge of the band. In right-to-left layouts, it appears at the right edge.
This example locks and unlocks an entire Rebar control by showing or hiding the size grip for all bands in the rebar.
private void LockRebar(Rebar rebar, bool locked) { foreach (RebarBand band in rebar.Bands) band.HasSizeGrip = !locked; }
RebarBand Class | Skybound.Rebar Namespace