Home Search

DriveWorks Pro 23
Picture Border Radius

Send Feedback

Picture Border Radius

Specifies the border radius of the picture container inside the button.

Picture Border Radius (Hover)

Specifies the border radius of the picture container inside the button, when the button is hovered.

Picture Border Radius (Pressed)

Specifies the border radius of the picture container inside the button, when the button is pressed.

This property is available for the following controls:

Property Type

Property Type: Static

A Static property can be made Dynamic (to control the value from a rule).

See Change a Static Property to a Dynamic Property.

Default Value

Picture Border Radius

When the control is added the Default Value of this property will be set to 0

Picture Border Radius (Hover), Picture Border Radius (Pressed)

When the control is added the Default Value of this property will be set to null

To change the default Static value:

Ensure the property is a static property (It will display the gray orb alongside the property name).

The default value of the static property can be changed by:

  1. Click in the property for the control to be changed
  2. Enter the required value.

Examples

This property will accept the following values:

ValueDescription
5A single value is applied to all four corners.

The following units can be specified (for example 5px):

  • px - will set the unit value to pixels (default when no unit is specified)
  • % - will set the unit value to a percentage of the current size (50%)
  • em - will set the unit value relative to its parent font-size (2em)
  • rem - will set the unit value relative to the root font-size (2rem)
5 10When two values (separated with a space) are given:
  • First Value - is applied to the Top Left and Bottom Right
  • Second Value - is applied to the Top Right and Bottom Left
5 10 15When three values (separated with a space) are given:
  • First Value - is applied to the Top Left
  • Second Value - is applied to the Top Right and Bottom Left
  • Third value - is applied to the Bottom Right
5 10 15 20When four values (separated with a space) are given:
  • First Value - is applied to the Top Left
  • Second Value - is applied to the Top Right
  • Third Value - is applied to the Bottom Right
  • Fourth Value - is applied Bottom Left

To build a rule to control the value:

The function BorderRadius assists in creating the format required when applying a different radius to each corner of the border.

See Build a Rule for the Dynamic Property.

Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.