Click or drag to resize
RadElementShape Property
Gets or sets an instance of the Shape object of an element. The shape of the element is both responsible for clipping the element's children and for providing its' border(s) with custom shape.

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2018.1.220.40 (2018.1.220.40)
Syntax
[TypeConverterAttribute(typeof(ElementShapeConverter))]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
public virtual ElementShape Shape { get; set; }

Property Value

Type: ElementShape
Remarks
Value of null (or Nothing in VisualBasic.Net) indicates that element has rectangular (or no) shape. Shape is an object that defines the bounding graphics path of an element. Graphics clip is always applied when an element has shape. Shape is considered when painting the border element, and when hit-testing an element. Some predefined shapes are available, like RoundRectShape or EllipseShape. CustomShape offers a way to specify element's shape with a sequence of points and curves using code or the design time ElementShapeEditorUITypeEditor.
See Also