Declares a property with a backing store for the current reference to an undeclared element. Places the cursor on the generated property declaration and drops a marker onto the initial property reference.
when the edit cursor or caret is on an undeclared element reference.
If the code provider is called for an element contained in the right part of an expression, a read-only property will be generated. Otherwise, the provider will declare a read-write property. To add a setter to a read-only property, use the Declare Setter code provider.
Private _myProp As Integer
Public ReadOnly Property │MyProp() As Integer
Private Function TestMethod() As Integer
Return MyProp + 15
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.