| Visual Basic (Declaration) | |
|---|---|
Public Property ShowText As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public bool ShowText {get; set;} | |
| XAML Attributes Usage | |
|---|---|
<object ShowText=bool/> | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
| XAML Attributes Usage | |
|---|---|
<object ShowText=bool/> | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
Return Value
true if the item text is shown in the control; otherwise, false. Default is trueFor XAML example, refer to ScrollStyle.
| Visual Basic | Copy Code |
|---|---|
''' This example will show a <see cref="ImageList"/> control with the item text and then without the text. | |
| C# | Copy Code |
|---|---|
/// This example will show a <see cref="ImageList"/> control with the item text and then without the text. | |
When the value of the ShowText property is set to true, the item
ImageListItem.Text value is shown in the item.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family