This documentation is for the old version. Go to the latest Graphics Mill docs

ListItem.HasIcon Method

Returns value indicating whether the item has an icon for specified view mode of the ThumbnailListView.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public MustOverride Function HasIcon ( _
	view As View _
) As Boolean
C#
public abstract bool HasIcon(
	View view
)

Parameters

view

Type: Aurigma.GraphicsMill.WinControls.View

View enumeration member which specifies a view mode to check out an icon for.

Return Value

true if item contains icon for the specified view, otherwise false.

Remarks

Although return value = -1 means that no icon available, if you try to get an icon later, you may find out that it returns a correct index of the icon. This fact is explained by asynchronous nature of the item loading. Potentially you can call this method before the control loads the item, and therefore it cannot return an icon. However after you try to get this item, its priority is increased (i.e. it is moved to the head of the items queue) and you can get it as soon as possible.

See Also

Reference