| SelectionCustomFilterTSelectionFilter Method (IPropertyManagerPageControlEx, TSelection, swSelectType_e, String) |
Filters if selection should be added to the selection box
Namespace:
CodeStack.SwEx.PMPage.Base
Assembly:
CodeStack.SwEx.PMPage (in CodeStack.SwEx.PMPage.dll) Version: 0.7.2.0 (0.7.2.0)
Syntax protected virtual bool Filter(
IPropertyManagerPageControlEx selBox,
TSelection selection,
swSelectType_e selType,
ref string itemText
)
Protected Overridable Function Filter (
selBox As IPropertyManagerPageControlEx,
selection As TSelection,
selType As swSelectType_e,
ByRef itemText As String
) As Boolean
protected:
virtual bool Filter(
IPropertyManagerPageControlEx^ selBox,
TSelection selection,
swSelectType_e selType,
String^% itemText
)
Parameters
- selBox
- Type: CodeStack.SwEx.PMPage.ControlsIPropertyManagerPageControlEx
Pointer to the selection box control - selection
- Type: TSelection
Pointer to SOLIDWORKS object which is about to be selected - selType
- Type: swSelectType_e
Type of the selecting object as defined in swSelectType_e Enumeration - itemText
- Type: SystemString
Text to be displayed in the selection box
Return Value
Type:
BooleanTrue to add the selection to selection box, false to ignore the selection
See Also