Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Text Property
See Also 
Leadtools.Windows.Controls Namespace > ImageListItem Class : Text Property





Gets or sets the text of the item.

Syntax

Visual Basic (Declaration) 
Public Property Text As String
Visual Basic (Usage)Copy Code
Dim instance As ImageListItem
Dim value As String
 
instance.Text = value
 
value = instance.Text
C# 
public string Text {get; set;}
C++/CLI 
public:
property String^ Text {
   String^ get();
   void set (String^ value);
}
XAML Attributes Usage 

<object Text=string/>

Dependencies Property Information 

Identifier field

TextProperty

Metadata properties set to true

None

XAML Values 

imageUri System.String The text to display for the item.

XAML Attributes Usage 

<object Text=string/>

Dependencies Property Information 

Identifier field

TextProperty

Metadata properties set to true

None

XAML Values 

imageUri System.String The text to display for the item.

Return Value

The text to display for the item. Default value is null (Nothing in Visual Basic).

Example

For XAML example, refer to ImageSize.

For C#/VB examples, refer to ImageSize.

Remarks

The Text property allows you to change the text displayed for the item. This property is also used as the default parameter for sorting.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also