Provides add-in applications the ability to display and use views that have the look and feel of SolidWorks PropertyManager pages.
Public Interface IPropertyManagerPage2
Dim instance As IPropertyManagerPage2
public interface IPropertyManagerPage2
public interface class IPropertyManagerPage2
OK and Cancel buttons are optional for IPropertyManagerPage2 objects, but a Help button is always displayed. If you do not want to implement help for your add-in, return false on help notification to display SolidWorks Help.
PropertyManager controls are displayed in a single, left-aligned column. Slight vertical spacing adjustment is available with the IPropertyManagerPageGroup::AddControl or IPropertyManagerPageGroup::IAddControl or the PropertyManagerPage2::AddControl or IPropertyManagerPage2::IAddControl Options argument.
Use IModelDocExtension::GetUserPreferenceInteger(swPropertyManagerColorDivider,UserPrefOption) to get the color of the PropertyManager divider box backgrounds for custom bitmap color blending purposes. The returned integer value is the COLORREF value.
The add-in application must implement the IPropertyManagerPage2Handler8 interface for data to be exchanged with the add-in application. The add-in application owns the IPropertyManagerPage2 object, which owns the IPropertyManagerPage2Handler8 for that page.
The limits on the number of controls on a PropertyManager page are:
Total number of controls = 300 (This number does not include group and selection boxes.)
Total number of group boxes = 20
Total number of selection boxes = 15
NOTE: Number boxes count as 2 controls. All other controls count as 1 control.
Provide feedback on this topic
SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.
* Required
Thank you for your comments. We will contact you if we have questions regarding your feedback.
Sincerely,The SOLIDWORKS Documentation Team
Print Topic
Select the scope of content to print:
We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.
Web Help Content Version: API Help (English only) 2012 SP05 To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help. To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.