CornerTopRight Property

Visual LANSA Feature

CornerTopRight Property

DirectX Only

In conjunction with CornerBottomLeft, CornerBottomRight and CornerTopLeft, CornerTopRight defines the radius of the corners for a control.  By default, all corners have a 0 radius and are right angles.

Unlike borders, which change the position of the 0,0 coordinate, corners are a visual effect.  When applied, the background of the control is clipped and the control will appear rounded.  However, foreground features are not clipped and text may extend in to corners.

Background features of a Style are not inherited by child controls.  This ensures that a background applied to a form is not repeated verbatim on child controls.