Intersoft WebCombo Documentation
ImagesDirectory Property
See Also  Send Feedback
ISNet.WebUI.WebCombo Namespace > LayoutSet Class : ImagesDirectory Property






Specifies the directory used to store WebCombo images files. Specifies the directory used to store WebCombo images files.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.XmlSerializableAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<DescriptionAttribute("Specifies the WebCombo image files directory.")>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.PersistLayoutAttribute(False)>
Public Property ImagesDirectory As String
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As String
 
instance.ImagesDirectory = value
 
value = instance.ImagesDirectory
C# 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Specifies the WebCombo image files directory.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.PersistLayoutAttribute(false)]
public string ImagesDirectory {get; set;}
Delphi 
public read-write property ImagesDirectory: String; 
JScript 
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
DescriptionAttribute("Specifies the WebCombo image files directory.")
DefaultValueAttribute()
NotifyParentPropertyAttribute()
ISNet.PersistLayoutAttribute()
public function get,set ImagesDirectory : String
Managed Extensions for C++ 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Specifies the WebCombo image files directory.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.PersistLayoutAttribute(false)]
public: __property string* get_ImagesDirectory();
public: __property void set_ImagesDirectory( 
   string* value
);
C++/CLI 
[ISNet.Serialization.XmlSerializableAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[DescriptionAttribute("Specifies the WebCombo image files directory.")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.PersistLayoutAttribute(false)]
public:
property String^ ImagesDirectory {
   String^ get();
   void set (    String^ value);
}

Remarks

Same thing like ScriptDirectory, In WebCombo.NET V5.0 the required images for the control at runtime are bundled in single assembly of WebGrid's SmartWebResources.

When the SmartWebResources Framework is configured to "Auto" mode and the ImagesDirectory has been changed (not default value), the SmartWebResources will not attempt to enable itself when it detects customized ImagesDirectory (same behavior with the behavior of ScriptDirectory). This ensures that your existing web application runs perfectly after you migrate to the new framework.

If ImagesDirectory is customized, but ScriptDirectory is using default value (not customized), the SmartWebResources will fallback to ScriptOnly mode. That means, the scripts will be handled by SmartWebResources. For more information, please read the SmartWebResources™ modes.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.