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

Star Shape

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

star-shape001

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

StarShape starShape = new StarShape();
starShape.Arms = 12;
starShape.InnerRadiusRatio = .5f;
radPanel1.RootElement.Shape = starShape;
radPanel1.RootElement.ApplyShapeToControl = true;

Dim starShape As New StarShape()
starShape.Arms = 12
starShape.InnerRadiusRatio = 0.5F
radPanel1.RootElement.Shape = starShape
radPanel1.RootElement.ApplyShapeToControl = True

Properties

See Also

In this article