4

I've looked everywhere and I can't find a way to set a default value for a property in the Build Class for a control. SysChart does it but I think it is done through the Visual Studio Tooling.


It would be great to have:


[FormDesignPropertyAttribute("Some Property", "Data", DEFAULTVALUE)]


public str someProperty(str _value = someProperty)


{


}


When the control is instantiated for the first time in the form the property would assume the value of "DEFAULTVALUE".


 


 


 


 

Category: Development
STATUS DETAILS
Needs Votes