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

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

Parameters

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

Return Value

Type: Boolean
See Also