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

Text Property (IImageListItem)






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

Property Value

The text to display for the item.
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 using the ImageList.Sort method.

The text will be drawn under the image using the brush set in the Foreground property. You must ensure that the area defined by Width and Height is large enough to hold both the image size defined in ImageSize and the item text.

Example

For C#/VB examples, refer to IImageListItem.

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

IImageListItem Interface
IImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices

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