ListView::ItemSeparatorTemplate Property
.NET Framework (current version)
Gets or sets the custom content for the separator between the items in a ListView control.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public: [BrowsableAttribute(false)] [PersistenceModeAttribute(PersistenceMode::InnerProperty)] [TemplateContainerAttribute((ListViewItem^::typeid))] property ITemplate^ ItemSeparatorTemplate { virtual ITemplate^ get(); virtual void set(ITemplate^ value); }
Property Value
Type: System.Web.UI::ITemplate^An object that contains the custom content for the separator between the items of the ListView control. The default is null, which indicates that this property is not set.
Use the ItemSeparatorTemplate property to define the contents of the separator between single items of the ListView control. The ItemSeparatorTemplate is displayed after every item except the last one.
To specify the custom template declaratively, add an ItemSeparatorTemplate element inside the ListView control. You can then add the contents of the template to the ItemSeparatorTemplate element.
.NET Framework
Available since 3.5
Available since 3.5
Show: