30 references to RelationsList
System.Windows.Forms (30)
winforms\Managed\System\WinForms\DataGrid.cs (1)
5497
if (this.myGridTable != null && this.myGridTable.
RelationsList
.Count != 0)
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (24)
169
&& this.dgTable.
RelationsList
.Count > 0) {
304
if (this.dgTable.
RelationsList
.Count == 0) {
329
DataGrid.NavigateTo(((string)this.dgTable.
RelationsList
[r]), this, true);
411
DataGrid.NavigateTo(((string)this.dgTable.
RelationsList
[FocusedRelation]), this, true);
459
if (this.dgTable.
RelationsList
.Count == 0 || dgTable.DataGrid == null || !dgTable.DataGrid.AllowNavigation)
486
FocusedRelation = this.dgTable.
RelationsList
.Count - 1;
492
if (FocusedRelation == this.dgTable.
RelationsList
.Count - 1) {
540
if (expanded && this.dgTable.
RelationsList
.Count > 0) {
604
bool paintPlusMinus = dgTable.
RelationsList
.Count > 0 && dgTable.DataGrid.AllowNavigation;
713
for (int r = 0; r < this.dgTable.
RelationsList
.Count; ++r) {
730
g.DrawString(((string)this.dgTable.
RelationsList
[r]), textFont, textBrush, textBounds,
797
if (relation >= this.dgTable.
RelationsList
.Count)
830
if (row.dgTable.
RelationsList
!= null) {
831
for (int i=0; i<row.dgTable.
RelationsList
.Count; i++) {
845
if (RelationshipRow.dgTable.
RelationsList
.Count > 0) {
860
if (RelationshipRow.dgTable.
RelationsList
.Count > 0) {
874
if (RelationshipRow.dgTable.
RelationsList
.Count > 0) {
886
return GetChild(GetChildCount() - row.dgTable.
RelationsList
.Count + focusRel);
920
return (string)owner.dgTable.
RelationsList
[relationship];
979
return (string)owner.dgTable.
RelationsList
[relationship];
997
DataGrid.NavigateTo((string)owner.dgTable.
RelationsList
[relationship], owner, true);
1017
if (relationship + 1 < owner.dgTable.
RelationsList
.Count) {
1018
return Parent.GetChild(Parent.GetChildCount() - owner.dgTable.
RelationsList
.Count + relationship + 1);
1025
return Parent.GetChild(Parent.GetChildCount() - owner.dgTable.
RelationsList
.Count + relationship - 1);
winforms\Managed\System\WinForms\DataGridTable.cs (5)
384
focusedTextWidth = (int) Math.Ceiling(g.MeasureString(((string)
RelationsList
[focusedRelation]), DataGrid.LinkFont).Width);
917
for (int r = 0; r < this.
RelationsList
.Count; ++r) {
918
int rwidth = (int) Math.Ceiling(g.MeasureString(((string) this.
RelationsList
[r]), this.DataGrid.LinkFont).Width)
928
relationshipRect.Height = BorderWidth + relationshipHeight * this.
RelationsList
.Count;
930
if (this.
RelationsList
.Count > 0)