FormDesignerOptions Class
Definition
Provides designer options for grid settings, grid size, snap lines and smart tags.
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class FormDesignerOptions
Constructors
FormDesignerOptions(FormDesignerControl) | Initializes a new instance of the |
Properties
GridSize | Sets the default X and Y grid setting on designer. Effective only when UseSnapLines is set false. |
ShowGrid | Controls whether designer should display a sizing grid. Effective only when UseSnapLines is set false. |
SnapToGrid | Controls whether designer should snap to grid dots. Effective only when UseSnapLines is set false. |
UseSmartTags | Controls whether designer should show smart tag popup windows. Designer needs to be reloaded for this change to take effect. |
UseSnapLines | Controls whether designer should use snap lines. If true, snap lines will be used as guides. If false, grid lines will be used. Designer needs to be reloaded for this change to take effect. |