Leadtools.WinForms Namespace > RasterImageList Class : ShowItemText Property |
[CategoryAttribute("Appearance")] [DescriptionAttribute("Indicates whether to display item text.")] public bool ShowItemText {get; set;}
'Declaration <CategoryAttribute("Appearance")> <DescriptionAttribute("Indicates whether to display item text.")> Public Property ShowItemText As Boolean
'Usage Dim instance As RasterImageList Dim value As Boolean instance.ShowItemText = value value = instance.ShowItemText
[CategoryAttribute("Appearance")] [DescriptionAttribute("Indicates whether to display item text.")] public bool ShowItemText {get; set;}
CategoryAttribute("Appearance") DescriptionAttribute("Indicates whether to display item text.") get_ShowItemText();
set_ShowItemText(value);
[CategoryAttribute("Appearance")] [DescriptionAttribute("Indicates whether to display item text.")] public: property bool ShowItemText { bool get(); void set ( bool value); }
''' This example will display a <see cref="RasterImageList"/> control with the item text and then without the text. Public Sub RasterImageList_ShowItemText(ByVal imageList As RasterImageList) ' Show the item text imageList.ShowItemText = True MessageBox.Show("Item text is visible") ' Hide the item text imageList.ShowItemText = False MessageBox.Show("Item text is not visible") ' Show the item text again imageList.ShowItemText = True MessageBox.Show("Item text is visible again") End Sub
/// This example will show a <see cref="RasterImageList"/> control with the item text and then without the text. public void RasterImageList_ShowItemText(RasterImageList imageList) { // Show the item text imageList.ShowItemText = true; MessageBox.Show("Item text is visible"); // Hide the item text imageList.ShowItemText = false; MessageBox.Show("Item text is not visible"); // Show the item text again imageList.ShowItemText = true; MessageBox.Show("Item text is visible again"); }
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