Share via


IWpfTableEntriesSnapshot.TryCreateStringContent Method

Definition

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

public:
 bool TryCreateStringContent(int index, System::String ^ columnName, bool truncatedText, bool singleColumnView, [Runtime::InteropServices::Out] System::String ^ % content);
public bool TryCreateStringContent (int index, string columnName, bool truncatedText, bool singleColumnView, out string content);
abstract member TryCreateStringContent : int * string * bool * bool * string -> bool
Public Function TryCreateStringContent (index As Integer, columnName As String, truncatedText As Boolean, singleColumnView As Boolean, ByRef content As String) As Boolean

Parameters

index
Int32

Index of the virtual entry in the snapshot.

columnName
String

Name of the column for which to get the String.

truncatedText
Boolean

Truncate the text for fit on a single line.

singleColumnView
Boolean

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

content
String

The String to display in the column.

Returns

true if content should be used.

Applies to