Compartir a través de


WpfTableEntriesSnapshotBase.TryCreateImageContent Method

Definition

Get the ImageMoniker for the virtual entry at position index and columnName.

public:
 virtual bool TryCreateImageContent(int index, System::String ^ columnName, bool singleColumnView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Imaging::Interop::ImageMoniker % content);
public virtual bool TryCreateImageContent (int index, string columnName, bool singleColumnView, out Microsoft.VisualStudio.Imaging.Interop.ImageMoniker content);
abstract member TryCreateImageContent : int * string * bool * ImageMoniker -> bool
override this.TryCreateImageContent : int * string * bool * ImageMoniker -> bool
Public Overridable Function TryCreateImageContent (index As Integer, columnName As String, singleColumnView As Boolean, ByRef content As ImageMoniker) As Boolean

Parameters

index
Int32

Index of the virtual entry in the snapshot.

columnName
String

Name of the column for which to get the ImageMoniker.

singleColumnView
Boolean

true if the table control is displaying everything in a single column.

content
ImageMoniker

The ImageMoniker to display in the column.

Returns

true if content should be used.

Implements

Applies to