Specifies the area of a rebar band.
This enumeration is used as the return value type of the GetAreaAtPoint property. Each value specifies an area of a rebar band.
This example handles the MouseMove event of a Rebar control. When the mouse is moved over the Rebar control, the status bar text is set the the name of the area over which the mouse is positioned. This example assumes you have a Rebar control named "rebar" and a StatusBar named "statusBar" on a form.
private void rebar_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e) { RebarBand band = rebar.GetBandAtPoint(new Point(e.X, e.Y)); if (band != null) { RebarBandArea area = band.GetAreaAtPoint(new Point(e.X, e.Y)); statusBar.Text = area.ToString(); } }
Member Name | Description |
---|---|
None | The tested point is not in the band. |
SizeGrip | The tested point is over the size grip. |
Image | The tested point is over the image. |
Text | The tested point is over the text. |
Client | The tested point is over the client area of the band. |
Background | The tested point is over the background of the band. |
Chevron | The tested point is over the chevron of the band. |
Namespace: Skybound.Rebar
Assembly: Skybound.Rebar (in Skybound.Rebar.dll)