//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
/*
*/
namespace System.Web.UI.WebControls {
using System;
using System.Web.UI;
///
/// Specifies a contract for implementing objects in list controls.
///
public interface IRepeatInfoUser {
///
/// Indicates whether the contains a
/// header item.
///
bool HasHeader {
get;
}
///
/// Indicates whether the Repeater contains
/// a footer item.
///
bool HasFooter {
get;
}
///
/// Indicates whether the Repeater contains
/// separator items.
///
bool HasSeparators {
get;
}
///
/// Specifies the item count of the Repeater.
///
int RepeatedItemCount {
get;
}
///
/// Retrieves the item style with the specified item type
/// and location within the .
///
Style GetItemStyle(ListItemType itemType, int repeatIndex);
///
/// Renders the item with the specified information.
///
void RenderItem(ListItemType itemType, int repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer);
}
}