Click or drag to resize

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
)

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: Boolean
True to add the selection to selection box, false to ignore the selection
See Also