Gets or sets a value that indicate whether to show the items text.
[CategoryAttribute("Appearance")][DescriptionAttribute("Indicates whether to display item text.")]public bool ShowText {get; set;}
<CategoryAttribute("Appearance")><DescriptionAttribute("Indicates whether to display item text.")>Public Property ShowText As Boolean
[CategoryAttribute("Appearance")][DescriptionAttribute("Indicates whether to display item text.")]public:property bool ShowText {bool get();void set ( bool );}
true to show the items text, otherwise; false. Default value is true.
Changing this property will make this control loop through all the items and setting the ImageListItem.ShowText accordingly.
Imports Leadtools.Windows.ControlsImports Leadtools.CodecsImports Leadtools''' This example will show a <see cref="ImageList"/> control with the item text and then without the text.Public Sub ImageList_ShowText(ByVal imageList As ImageList)' Show the item textimageList.ShowText = TrueMessageBox.Show("Item text is visible")' Hide the item textimageList.ShowText = FalseMessageBox.Show("Item text is not visible")' Show the item text againimageList.ShowText = TrueMessageBox.Show("Item text is visible again")End Sub
using Leadtools.Help;using Leadtools.Windows.Controls;using Leadtools;using Leadtools.Codecs;/// This example will show a <see cref="ImageList"/> control with the item text and then without the text.public void ImageList_ShowText(ImageList imageList){// Show the item textimageList.ShowText = true;MessageBox.Show("Item text is visible");// Hide the item textimageList.ShowText = false;MessageBox.Show("Item text is not visible");// Show the item text againimageList.ShowText = true;MessageBox.Show("Item text is visible again");}
using Leadtools.Help;using Leadtools.Windows.Controls;/// This example will show a <see cref="ImageList"/> control with the item text and then without the text.public void ImageList_ShowText(ImageList imageList){// Show the item textimageList.ShowText = true;MessageBox.Show("Item text is visible");// Hide the item textimageList.ShowText = false;MessageBox.Show("Item text is not visible");// Show the item text againimageList.ShowText = true;MessageBox.Show("Item text is visible again");}
Imports Leadtools.Windows.Controls''' This example will show a <see cref="ImageList"/> control with the item text and then without the text.Public Sub ImageList_ShowText(ByVal imageList As ImageList)' Show the item textimageList.ShowText = TrueMessageBox.Show("Item text is visible")' Hide the item textimageList.ShowText = FalseMessageBox.Show("Item text is not visible")' Show the item text againimageList.ShowText = TrueMessageBox.Show("Item text is visible again")End Sub
<Windowxmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:Leadtools_Windows_Controls="clr-namespace:Leadtools.Windows.Controls;assembly=Leadtools.Windows.Controls"x:Class="ScrollStyle.Window1"x:Name="Window"Title="Window1"Width="640" Height="480" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic"><DockPanel><Leadtools_Windows_Controls:ImageList Margin="8,46,8,196" HorizontalContentAlignment="Center" VerticalContentAlignment="Top"Orientation="Vertical" ShowText="False" ItemBorderThickness="2,2,2,2" ItemMargin="0,0,0,0"ItemSize="120,128" ItemImageSize="102,102" DockPanel.Dock="Left"><Leadtools_Windows_Controls:ImageListItem Source="file:///c:\users\Public\Documents\LEADTOOLS Images\cannon.jpg" Text="cannon.jpg"/><Leadtools_Windows_Controls:ImageListItem Source="file:///c:\users\Public\Documents\LEADTOOLS Images\cannon.jpg" Text="cannon.jpg"/><Leadtools_Windows_Controls:ImageListItem Source="file:///c:\users\Public\Documents\LEADTOOLS Images\eye.gif" Text="eye.gif"/></Leadtools_Windows_Controls:ImageList></DockPanel></Window>


|   | 
                            Products |
                            Support |
                            Feedback:  ShowText Property (ImageList) - Leadtools.Windows.Controls  |
                            Introduction |
                            Help Version 19.0.2017.3.22
                         | 






Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.