120 references to DataControlRowState
System.Web (115)
UI\WebControls\AutoGeneratedField.cs (5)
138
public override void ExtractValuesFromCell(IOrderedDictionary dictionary, DataControlFieldCell cell,
DataControlRowState
rowState, bool includeReadOnly) {
172
protected override void InitializeDataCell(DataControlFieldCell cell,
DataControlRowState
rowState) {
177
if (((rowState &
DataControlRowState
.Edit) != 0 && ReadOnly == false) || (rowState &
DataControlRowState
.Insert) != 0) {
181
if (DataField.Length != 0 && (rowState &
DataControlRowState
.Edit) != 0) {
UI\WebControls\BoundField.cs (7)
330
public override void ExtractValuesFromCell(IOrderedDictionary dictionary, DataControlFieldCell cell,
DataControlRowState
rowState, bool includeReadOnly) {
336
if (((rowState &
DataControlRowState
.Insert) != 0) && !InsertVisible) {
539
public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType,
DataControlRowState
rowState, int rowIndex) {
569
protected virtual void InitializeDataCell(DataControlFieldCell cell,
DataControlRowState
rowState) {
573
if (((rowState &
DataControlRowState
.Edit) != 0 && ReadOnly == false) || (rowState &
DataControlRowState
.Insert) != 0) {
579
if (DataField.Length != 0 && (rowState &
DataControlRowState
.Edit) != 0) {
UI\WebControls\ButtonField.cs (1)
203
public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType,
DataControlRowState
rowState, int rowIndex) {
UI\WebControls\CheckBoxField.cs (5)
232
public override void ExtractValuesFromCell(IOrderedDictionary dictionary, DataControlFieldCell cell,
DataControlRowState
rowState, bool includeReadOnly) {
271
protected override void InitializeDataCell(DataControlFieldCell cell,
DataControlRowState
rowState) {
275
if (((rowState &
DataControlRowState
.Edit) != 0 && ReadOnly == false) || (rowState &
DataControlRowState
.Insert) != 0) {
281
if (DataField.Length != 0 && (rowState &
DataControlRowState
.Edit) != 0) {
UI\WebControls\CommandField.cs (5)
585
public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType,
DataControlRowState
rowState, int rowIndex) {
598
if ((rowState & (
DataControlRowState
.Edit |
DataControlRowState
.Insert)) != 0) {
599
if ((rowState &
DataControlRowState
.Edit) != 0 && showEditButton) {
608
if ((rowState &
DataControlRowState
.Insert) != 0 && showInsertButton) {
UI\WebControls\DataControlField.cs (2)
446
public virtual void ExtractValuesFromCell(IOrderedDictionary dictionary, DataControlFieldCell cell,
DataControlRowState
rowState, bool includeReadOnly) {
463
public virtual void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType,
DataControlRowState
rowState, int rowIndex) {
UI\WebControls\DetailsView.cs (18)
1640
_rowsArray.Add(CreateRow(0, DataControlRowType.EmptyDataRow,
DataControlRowState
.Normal, null, rows, null));
1684
_topPagerRow = CreateRow(-1, DataControlRowType.Pager,
DataControlRowState
.Normal, null, rows, pagedDataSource);
1687
_headerRow = CreateRow(-1, DataControlRowType.Header,
DataControlRowState
.Normal, null, rows, null);
1705
_footerRow = CreateRow(-1, DataControlRowType.Footer,
DataControlRowState
.Normal, null, rows, null);
1712
_bottomPagerRow = CreateRow(-1, DataControlRowType.Pager,
DataControlRowState
.Normal, null, rows, pagedDataSource);
1756
DataControlRowState
masterRowState =
DataControlRowState
.Normal;
1761
masterRowState |=
DataControlRowState
.Edit;
1763
masterRowState |=
DataControlRowState
.Insert;
1774
DataControlRowState
rowState = masterRowState;
1777
rowState |=
DataControlRowState
.Alternate;
2108
private DetailsViewRow CreateRow(int rowIndex, DataControlRowType rowType,
DataControlRowState
rowState, DataControlField field, TableRowCollection rows, PagedDataSource pagedDataSource) {
2125
protected virtual DetailsViewRow CreateRow(int rowIndex, DataControlRowType rowType,
DataControlRowState
rowState) {
2751
DataControlRowState
rowState = row.RowState;
3259
DataControlRowState
rowState = row.RowState;
3281
if ((rowState &
DataControlRowState
.Alternate) != 0) {
3288
if ((rowState &
DataControlRowState
.Edit) != 0) {
3291
if ((rowState &
DataControlRowState
.Insert) != 0) {
UI\WebControls\DetailsViewPagerRow.cs (1)
20
public DetailsViewPagerRow(int rowIndex, DataControlRowType rowType,
DataControlRowState
rowState) : base(rowIndex, rowType, rowState) {
UI\WebControls\DetailsViewRow.cs (3)
19
private
DataControlRowState
_rowState;
26
public DetailsViewRow(int rowIndex, DataControlRowType rowType,
DataControlRowState
rowState) {
47
public virtual
DataControlRowState
RowState {
UI\WebControls\FormView.cs (18)
1407
_row = CreateRow(0, DataControlRowType.EmptyDataRow,
DataControlRowState
.Normal, rows, null);
1448
_topPagerRow = CreateRow(itemIndex, DataControlRowType.Pager,
DataControlRowState
.Normal, rows, pagedDataSource);
1451
_headerRow = CreateRow(itemIndex, DataControlRowType.Header,
DataControlRowState
.Normal, rows, null);
1469
_footerRow = CreateRow(itemIndex, DataControlRowType.Footer,
DataControlRowState
.Normal, rows, null);
1476
_bottomPagerRow = CreateRow(itemIndex, DataControlRowType.Pager,
DataControlRowState
.Normal, rows, pagedDataSource);
1530
DataControlRowState
rowState =
DataControlRowState
.Normal;
1534
rowState =
DataControlRowState
.Normal;
1536
rowState |=
DataControlRowState
.Edit;
1538
rowState |=
DataControlRowState
.Insert;
1801
private FormViewRow CreateRow(int itemIndex, DataControlRowType rowType,
DataControlRowState
rowState, TableRowCollection rows, PagedDataSource pagedDataSource) {
1820
protected virtual FormViewRow CreateRow(int itemIndex, DataControlRowType rowType,
DataControlRowState
rowState) {
2378
DataControlRowState
rowState = row.RowState;
2383
if (((rowState &
DataControlRowState
.Edit) != 0) && _editItemTemplate != null) {
2386
if ((rowState &
DataControlRowState
.Insert) != 0) {
2796
DataControlRowState
rowState = row.RowState;
2811
if ((rowState &
DataControlRowState
.Edit) != 0) {
2814
if ((rowState &
DataControlRowState
.Insert) != 0) {
UI\WebControls\FormViewPagerRow.cs (1)
20
public FormViewPagerRow(int rowIndex, DataControlRowType rowType,
DataControlRowState
rowState) : base(rowIndex, rowType, rowState) {
UI\WebControls\FormViewRow.cs (3)
19
private
DataControlRowState
_rowState;
25
public FormViewRow(int itemIndex, DataControlRowType rowType,
DataControlRowState
rowState) {
47
public virtual
DataControlRowState
RowState {
UI\WebControls\GridView.cs (26)
1241
row.RowState &= ~
DataControlRowState
.Selected; // turn off selected bit
1245
row.RowState |=
DataControlRowState
.Selected; // turn on selected bit
2042
CreateRow(-1, -1, DataControlRowType.EmptyDataRow,
DataControlRowState
.Normal, dataBinding, null, new DataControlField[0], rows, null);
2077
DataControlRowState
rowState;
2114
_headerRow = CreateRow(-1, -1, DataControlRowType.Header,
DataControlRowState
.Normal, dataBinding, null, displayFields, rows, null);
2118
CreateRow(-1, -1, DataControlRowType.EmptyDataRow,
DataControlRowState
.Normal, dataBinding, null, displayFields, rows, null);
2135
_topPagerRow = CreateRow(-1, -1, DataControlRowType.Pager,
DataControlRowState
.Normal, dataBinding, null, displayFields, rows, pagedDataSource);
2138
_headerRow = CreateRow(-1, -1, DataControlRowType.Header,
DataControlRowState
.Normal, dataBinding, null, displayFields, rows, null);
2187
rowState =
DataControlRowState
.Normal;
2189
rowState |=
DataControlRowState
.Edit;
2191
rowState |=
DataControlRowState
.Selected;
2246
rowState =
DataControlRowState
.Normal;
2248
rowState |=
DataControlRowState
.Edit;
2250
rowState |=
DataControlRowState
.Selected;
2252
rowState |=
DataControlRowState
.Alternate;
2264
CreateRow(-1, -1, DataControlRowType.EmptyDataRow,
DataControlRowState
.Normal, dataBinding, null, displayFields, rows, null);
2267
_footerRow = CreateRow(-1, -1, DataControlRowType.Footer,
DataControlRowState
.Normal, dataBinding, null, displayFields, rows, null);
2273
_bottomPagerRow = CreateRow(-1, -1, DataControlRowType.Pager,
DataControlRowState
.Normal, dataBinding, null, displayFields, rows, pagedDataSource);
2646
private GridViewRow CreateRow(int rowIndex, int dataSourceIndex, DataControlRowType rowType,
DataControlRowState
rowState, bool dataBind, object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) {
2676
protected virtual GridViewRow CreateRow(int rowIndex, int dataSourceIndex, DataControlRowType rowType,
DataControlRowState
rowState) {
3314
DataControlRowState
rowState = row.RowState;
4009
if ((row.RowState &
DataControlRowState
.Edit) != 0) {
4027
else if ((row.RowState &
DataControlRowState
.Selected) != 0) {
4043
else if ((row.RowState &
DataControlRowState
.Alternate) != 0) {
4056
bool applyCellSortingStyles = (row.RowState &
DataControlRowState
.Selected) == 0 ||
4057
((row.RowState &
DataControlRowState
.Selected) != 0 && _selectedRowStyle == null);
UI\WebControls\GridViewRow.cs (3)
20
private
DataControlRowState
_rowState;
28
public GridViewRow(int rowIndex, int dataItemIndex, DataControlRowType rowType,
DataControlRowState
rowState) {
74
public virtual
DataControlRowState
RowState {
UI\WebControls\HyperLinkField.cs (2)
290
public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType,
DataControlRowState
rowState, int rowIndex) {
300
if (((rowState &
DataControlRowState
.Insert) == 0) && Visible) {
UI\WebControls\ImageField.cs (7)
273
public override void ExtractValuesFromCell(IOrderedDictionary dictionary, DataControlFieldCell cell,
DataControlRowState
rowState, bool includeReadOnly) {
279
if (((rowState &
DataControlRowState
.Insert) != 0) && !InsertVisible) {
437
public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType,
DataControlRowState
rowState, int rowIndex) {
447
protected virtual void InitializeDataCell(DataControlFieldCell cell,
DataControlRowState
rowState) {
450
if (((rowState &
DataControlRowState
.Edit) != 0 && ReadOnly == false) || (rowState &
DataControlRowState
.Insert) != 0) {
454
if (DataImageUrlField.Length != 0 && (rowState &
DataControlRowState
.Edit) != 0) {
UI\WebControls\TemplateField.cs (8)
227
public override void ExtractValuesFromCell(IOrderedDictionary dictionary, DataControlFieldCell cell,
DataControlRowState
rowState, bool includeReadOnly) {
232
if (((rowState &
DataControlRowState
.Alternate) != 0) && (AlternatingItemTemplate != null)) {
235
if (((rowState &
DataControlRowState
.Edit) != 0) && EditItemTemplate != null) {
238
else if ((rowState &
DataControlRowState
.Insert) != 0 && InsertVisible) {
268
public override void InitializeCell(DataControlFieldCell cell, DataControlCellType cellType,
DataControlRowState
rowState, int rowIndex) {
283
if ((rowState &
DataControlRowState
.Edit) != 0) {
288
else if ((rowState &
DataControlRowState
.Insert) != 0) {
298
else if ((rowState &
DataControlRowState
.Alternate) != 0) {
System.Web.DynamicData (5)
DynamicData\DynamicField.cs (5)
196
DataControlRowState
rowState, int rowIndex) {
251
private DataBoundControlMode DetermineControlMode(
DataControlRowState
rowState) {
256
bool edit = (rowState &
DataControlRowState
.Edit) != 0;
257
bool insert = (rowState &
DataControlRowState
.Insert) != 0;
272
DataControlRowState
rowState, bool includeReadOnly) {