Click or drag to resize
CMSDialogHelperIsItemSelectable Method
Indicates whether the file with specified extension is selectable according specified condition.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax
C#
public static bool IsItemSelectable(
	SelectableContentEnum selectableContent,
	string ext,
	bool isContentFile = false
)

Parameters

selectableContent
Type: CMS.ExtendedControlsSelectableContentEnum
Selectable content
ext
Type: SystemString
Extension to check
isContentFile (Optional)
Type: SystemBoolean
Content file item flag

Return Value

Type: Boolean
See Also