Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.Windows.Controls Namespace > ImageListItem Class : ShowText Property |
[CategoryAttribute("Appearance")] [DescriptionAttribute("Indicates whether to display item text.")] public bool ShowText {get; set;}
'Declaration <CategoryAttribute("Appearance")> <DescriptionAttribute("Indicates whether to display item text.")> Public Property ShowText As Boolean
'Usage Dim instance As ImageListItem Dim value As Boolean instance.ShowText = value value = instance.ShowText
[CategoryAttribute("Appearance")] [DescriptionAttribute("Indicates whether to display item text.")] public: property bool ShowText { bool get(); void set ( bool value); }
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.