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





This member is available in the WPF Express Edition. See the LEADTOOLS products page for full details on more WPF features available with LEADTOOLS toolkits.

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;}
Managed Extensions for C++ 
public: __property string* get_Text();
public: __property void set_Text( 
   string* value
);
C++/CLI 
public:
property String^ Text {
   String^ get();
   void set (String^ value);
}
XAML Attributes Usage 

<object Text=string/>

Dependency 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 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