📄 idataviewstrategy.cs
字号:
using System;
using System.Collections;
using System.ComponentModel;
namespace SharpReportCore{
public interface IDataViewStrategy:IEnumerator,IDisposable{
/// <summary>
/// Sort the DataSource
/// </summary>
void Sort ();
/// <summary>
// /// Establish Databinding
// /// Allway's call this method before any other operations
// /// </summary>
void Bind();
/// <summary>
/// Fill's a <see cref="IItemRenderer"></see> with Data from the CurrentRow
/// </summary>
void Fill (IItemRenderer item);
/// <summary>
/// List of Available (Data)Fields
/// </summary>
ColumnCollection AvailableFields {
get;
}
int Count {
get;
}
/// <summary>
/// Get the Position in List
/// </summary>
int CurrentRow {
get;set;
}
/// <summary>
/// Returns true when there are more Data to Read, false if we are on the end
/// or the list is empty
/// </summary>
bool HasMoreData {
get;
}
/// <summary>
/// SharpReportCore is sorted
/// </summary>
bool IsSorted {
get;
}
/// <summary>
/// SharpReportCore is filtered
/// </summary>
bool IsFiltered{
get;
}
/// <summary>
/// SharpReportCore is grouped
/// </summary>
bool IsGrouped {
get;
}
/// <summary>
/// Returns if the current Row has Child's
/// </summary>
bool HasChilds {
get;
}
SharpIndexCollection ChildRows {
get;
}
event EventHandler <ListChangedEventArgs> ListChanged;
/// <summary>
/// Fired each tim the grouping will change, this means theGroupLevel changes up or down
/// </summary>
event EventHandler <GroupChangedEventArgs> GroupChanged;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -