Control Default Properties Options

Top  Previous  Next

The Control Default Properties section of the Corporate Options window allows you to customize the Apply Control Default Properties feature:

OptionsControlDefaultProperties

You can:

  • Enable or disable this feature, or be asked each time a new control is added to a form.
  • Define the default properties that you want to apply to each type of control. For this purpose, you must first select an assembly (which must be referenced in the current project), then select a component and then the name and value of the property.
  • Set the order for the control prefix (CancelButton vs ButtonCancel) when generating the Name property from the Text property in the Control Name Assistant and Prompt Name and Text Properties for New Control features.
  • Set if you want to apply a specific modifier (private, protected, etc.) to each new control that is added to a form. For example, by default VB.NET uses the Friend modifier, but you may want to use the Private modifier instead.

Remarks:

  • Neither Smart Device controls nor Web controls are supported by this feature, only Windows Forms controls.

See Also:

Apply Control Default Properties