RoundedCorners - MikhailTymchukDX/AppVeyorTest GitHub Wiki
RoundedCornersExtender (demo)
The RoundedCorners extender applies rounded corners to existing elements.
Properties
| Name | Description |
|---|---|
| BorderColor | Color of the border |
| Color | Background color of the rounded corner areas Remarks: By default, this property gets the background color of the panel that it is attached to |
| Corners | The corners of the target panel that should be rounded Remarks: Possible values: * None * TopLeft * TopRight * BottomRight * BottomLeft * Top * Right * Bottom * Left * All |
| Radius | Radius of the corners (and height of the added area). The default is 5 |
Client properties
borderColor
A string that contains the color of the border and therefore of the rounded corners
Getter name: get_borderColor()
Setter name: set_borderColor(value)
color
A string that contains the background color of the rounded corner areas
Getter name: get_color()
Setter name: set_color(value)
corners
A Sys.Extended.UI.BoxCorners object that specifies which corners should be rounded
Getter name: get_corners()
Setter name: set_corners(value)
radius
An integer value that specifies the radius of the corners (and the height of the added area). The default is 5 The default is 5
Getter name: get_radius()
Setter name: set_radius(value)
Client methods
getBackgroundColor()
Returns the background color of the target element
isCornerSet(corner)
Checks whether a flag for this corner has been set
Params:
- corner
- Type: Sys.Extended.UI.BoxCorners
- Description: Corner to check
setCorner(corner, value)
Sets a corner as one that should be rounded
Params:
-
corner
- Type: Sys.Extended.UI.BoxCorners
- Description: Corner to set
-
value
- Type: Boolean
- Description: True to set the value, false to clear it