Click or drag to resize

CTInterfaceValidateCustomPropertiesArgs Class

Event argument class for OnValidateCustomProperties.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ATR.CT.CTInterfaceCTInterfaceValidateCustomPropertiesArgs

Namespace: ATR.CT.CTInterface
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public class ValidateCustomPropertiesArgs : EventArgs

The CTInterfaceValidateCustomPropertiesArgs type exposes the following members.

Properties
 NameDescription
Public propertyCancelCaption Caption of the message group. If this is left null or empty, localized "Error" is used instead.
Public propertyCancelMessage Message to show for user.
Public propertyChangedProperties Array of properties that are changed during this process.
Public propertyProperties Properties passed for the event. Values of properties can be changed.
Public propertyPropertyScope Scope of the current properties. See ctPropertyScope_e.
Public propertyShowError TRUE to show CancelMessage and cancel the current OK/Apply process.
Public propertySWDoc SolidWorks.Interop.sldworks.ModelDoc2 which CUSTOMTOOLS Properties are validated. Type is defined in assembly SolidWorks.Interop.sldworks.dll.
Top
Methods
 NameDescription
Public methodSetError Call to set a message to CUSTOMTOOLS Properties and preventing exit with OK/Apply. Automatically sets CancelMessage and CancelCaption according to params and also ShowError to TRUE.
Top
Revision History
DateVersionDescription
-2015 SP4First Release
See Also