Class DesignTimeUtils
Inheritance
System.Object
DesignTimeUtils
Namespace: Syncfusion.Windows.Forms.Design
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class DesignTimeUtils : Object
Constructors
DesignTimeUtils()
Declaration
public DesignTimeUtils()
Methods
GetPersistenceModeAttribute(String)
Initializes the PersistenceModeAttribute type with the specified constant, using reflection, if the System.Web.dll is loaded.
Declaration
public static Attribute GetPersistenceModeAttribute(string persistenceModeEnumConstant)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | persistenceModeEnumConstant |
Returns
| Type |
|---|
| System.Attribute |
SyncSelection(Object)
This should be called during design time when a component has been moved, sized or re-parented, but the change was not the result of a property change. All property changes are monitored by the selection UI service, so this is automatic most of the time. There are times, however, when a component may be moved without property change notification occurring. Scrolling an auto scroll Win32 form is an example of this. This method simply re-queries all currently selected components for their bounds and updates the selection handles for the ones that have changed.
Declaration
public static void SyncSelection(object selectionUIService)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | selectionUIService |