New to Telerik UI for WinForms? Download free 30-day trial

Office Shape

The following image shows the Office shape applied to a RadPanel:

office-shape001

The following code shows how you can create and apply a Office:

OfficeShape officeShape = new OfficeShape();          
radPanel1.BackColor = Color.ForestGreen;
this.radPanel1.RootElement.Shape = officeShape;
this.radPanel1.RootElement.ApplyShapeToControl = true;

Dim officeShape As OfficeShape = New OfficeShape()
radPanel1.BackColor = Color.ForestGreen
Me.radPanel1.RootElement.Shape = officeShape
Me.radPanel1.RootElement.ApplyShapeToControl = True

Properties

  • RoundedBottom: A property of type bool that gets or sets whether the bottom right and left corner of the shape will be rounded.

See Also

In this article