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

Media Shape

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


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

MediaShape mediaShape = new MediaShape();
radPanel1.RootElement.Shape = mediaShape;
radPanel1.RootElement.ApplyShapeToControl = true;

Dim mediaShape As New MediaShape()
radPanel1.RootElement.Shape = mediaShape
radPanel1.RootElement.ApplyShapeToControl = True

See Also

In this article