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





This member is available in the WPF Express Edition. See the LEADTOOLS products page for full details on more WPF features available with LEADTOOLS toolkits.

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;}
Managed Extensions for C++ 
public: __property string* get_FileName();
public: __property void set_FileName( 
   string* value
);
C++/CLI 
public:
property String^ FileName {
   String^ get();
   void set (String^ value);
}
XAML Attributes Usage 

<object FileName=string/>

Dependency 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 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