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

Diamond Shape

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


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

DiamondShape diamondShape = new DiamondShape();
radPanel1.RootElement.Shape = diamondShape;
radPanel1.RootElement.ApplyShapeToControl = true;

Dim diamondShape As New DiamondShape()
radPanel1.RootElement.Shape = diamondShape
radPanel1.RootElement.ApplyShapeToControl = True

See Also

In this article