Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
FileName Property
See Also 
Leadtools.Windows.Controls Namespace > ImageListItem Class : FileName Property





Gets or sets the file name of the item.

Syntax

Visual Basic (Declaration) 
Public Property FileName As String
Visual Basic (Usage)Copy Code
Dim instance As ImageListItem
Dim value As String
 
instance.FileName = value
 
value = instance.FileName
C# 
public string FileName {get; set;}
C++/CLI 
public:
property String^ FileName {
   String^ get();
   void set (String^ value);
}
XAML Attributes Usage 

<object FileName=string/>

Dependencies Property Information 

Identifier field

FileNameProperty

Metadata properties set to true

None

XAML Values 

System.String The text to display for the item.

XAML Attributes Usage 

<object FileName=string/>

Dependencies Property Information 

Identifier field

FileNameProperty

Metadata properties set to true

None

XAML Values 

System.String The text to display for the item.

Return Value

The file name associated with this ImageListItem object. Default value is null (Nothing in Visual Basic).

Example

For XAML example, refer to ImageSize.

For C#/VB examples, refer to ImageSize.

Remarks

This property is used as Content property to load an Image into ImageListItem.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also