LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

Text Property (ImageListItem)






Gets or sets the text of the item. This is a dependency property. .NET support Silverlight support
Syntax
public string Text {get; set;}
'Declaration
 
Public Property Text As String
'Usage
 
Dim instance As ImageListItem
Dim value As String
 
instance.Text = value
 
value = instance.Text
public string Text {get; set;}
 get_Text();
set_Text(value);
public:
property String^ Text {
   String^ get();
   void set (    String^ value);
}

Property Value

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

The Text property allows the text displayed for the item to be changed. This property is also used as the default parameter for sorting. You can use the Text property to show the file name of the image or page number.

Use the Foreground property to set the brush used to draw the item text.

Use the ImageListItem.ShowText dependency property to enable/disable showing the items text in the control.

Example

For XAML example, refer to ImageList.

For C#/VB examples, refer to ImageList.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImageListItem Class
ImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.