📄 tlmrow.cs
字号:
using System;
using System.Collections;
using System.Diagnostics;
// Creation date: 15.03.2003
// Checked: 01.07.2003
// Author: Otto Mayer (mot@root.ch)
// Version: 1.02
// Report.NET copyright 2003-2004 root-software ag, B黵glen Switzerland - O. Mayer, S. Spirig, R. Gartenmann, all rights reserved
// This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation, version 2.1 of the License.
// This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You
// should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA www.opensource.org/licenses/lgpl-license.html
namespace Root.Reports {
/// <summary>Contents of a row of the table layout manager</summary>
/// <remarks>
/// </remarks>
public sealed class TlmRow : TlmRowDef {
/// <summary>Table layout manager base</summary>
private readonly TlmBase tlmBase;
/// <summary>false if row must not be commited (e.g. for a header row)</summary>
internal Boolean bAutoCommit = true;
private Int32 _iIndex = Int32.MinValue;
/// <summary>Gets or sets the index of this row within <see cref="TlmBase.aTlmRow"/></summary>
internal Int32 iIndex {
get {
#if (Checked)
Debug.Assert(tlmBase.aTlmRow.al_TlmRow.IndexOf(this) == _iIndex);
#endif
return _iIndex;
}
set {
_iIndex = value;
#if (Checked)
DebugTools.CheckMethodCall(new DebugTools.Method[] {
new DebugTools.Method(typeof(TlmBase), "InsertRow"),
new DebugTools.Method(typeof(TlmBase), "RemoveCommittedRowsAndRepObjs")
});
Debug.Assert(tlmBase.aTlmRow.al_TlmRow.IndexOf(this) == _iIndex);
#endif
}
}
/// <summary>Array of all cells of this row</summary>
/// <seealso cref="TlmRow.ArrayTlmCell.this"/>
/// <seealso cref="TlmRow.ArrayTlmCell"/>
/// <remarks>
/// The cells can be referenced through the iterator <see cref="TlmRow.ArrayTlmCell.this"/>.
/// <br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -