Compartir a través de


WpfTableEntriesSnapshotBase.TryCreateStringContent Method

Definition

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

public:
 virtual bool TryCreateStringContent(int index, System::String ^ columnName, bool truncatedText, bool singleColumnView, [Runtime::InteropServices::Out] System::String ^ % content);
public virtual bool TryCreateStringContent (int index, string columnName, bool truncatedText, bool singleColumnView, out string content);
abstract member TryCreateStringContent : int * string * bool * bool * string -> bool
override this.TryCreateStringContent : int * string * bool * bool * string -> bool
Public Overridable 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.

Implements

Applies to