Add New Property To Source Code

From RadPHP XE2 Documentation
Jump to: navigation, search

Edit PathPDF.jpg Add Public Property

Edit PathPDF.jpg Add Published Property

Edit PathPDF.jpg Publish Public Property

Adds the source code to create a property to the component and specify its default value.

Item Description
Property Name Specifies the name of the property.
Default Value Specifies the default value for the component which can be modified by the user.

Add public property.png

Add Public Property: This option adds, at the current editor position, the source code that makes up a public property. A dialog is shown and the name of the property and default value are requested. After accepting the dialog, the right lines are added to the code editor.

Add published property.png

Add Published Property: This option adds, at the current editor position, the source code that makes up a published property. A dialog is shown and the name of the property and default value are requested. After accepting the dialog, the right lines are added to the code editor.

Publish public property.png

Publish Public Property: Use this option if you want to publish an existing public property. Only the getter and setter are needed to call the reader/writer so no default value is required.

Personal tools