89 references to MiddleCenter
System.Web.DataVisualization (25)
Common\Annotation\AnnotationBase.cs (1)
191
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
Common\Annotation\TextAnnotation.cs (6)
554
if(this.Alignment == ContentAlignment.
MiddleCenter
||
564
this.Alignment == ContentAlignment.
MiddleCenter
||
591
this.Alignment == ContentAlignment.
MiddleCenter
||
602
if (this.Alignment == ContentAlignment.
MiddleCenter
||
649
this.Alignment == ContentAlignment.
MiddleCenter
||
660
if (this.Alignment == ContentAlignment.
MiddleCenter
||
Common\General\Legend.cs (3)
6136
this.Cells.Add(LegendCellType.SeriesSymbol, string.Empty, ContentAlignment.
MiddleCenter
);
6140
this.Cells.Add(LegendCellType.SeriesSymbol, string.Empty, ContentAlignment.
MiddleCenter
);
6157
this.Cells.Add(LegendCellType.SeriesSymbol, string.Empty, ContentAlignment.
MiddleCenter
);
Common\General\LegendColumns.cs (9)
149
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
196
: this(string.Empty, LegendCellColumnType.Text, KeywordName.LegendText, ContentAlignment.
MiddleCenter
)
208
public LegendCellColumn(string headerText, LegendCellColumnType columnType, string text) : this(headerText, columnType, text, ContentAlignment.
MiddleCenter
)
418
DefaultValue(ContentAlignment.
MiddleCenter
),
850
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
898
this.Intitialize(LegendCellType.Text, string.Empty, ContentAlignment.
MiddleCenter
);
907
this.Intitialize(LegendCellType.Text, text, ContentAlignment.
MiddleCenter
);
917
this.Intitialize(cellType, text, ContentAlignment.
MiddleCenter
);
1234
DefaultValue(ContentAlignment.
MiddleCenter
),
Common\General\Title.cs (6)
234
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
1005
DefaultValue(ContentAlignment.
MiddleCenter
),
1417
this.Alignment == ContentAlignment.
MiddleCenter
||
1432
else if(this.Alignment == ContentAlignment.
MiddleCenter
||
1496
else if(this.Alignment == ContentAlignment.
MiddleCenter
||
1512
this.Alignment == ContentAlignment.
MiddleCenter
||
System.Windows.Forms (39)
winforms\Managed\System\WinForms\ButtonBase.cs (4)
37
private ContentAlignment imageAlign = ContentAlignment.
MiddleCenter
;
38
private ContentAlignment textAlign = ContentAlignment.
MiddleCenter
;
372
DefaultValue(ContentAlignment.
MiddleCenter
),
653
DefaultValue(ContentAlignment.
MiddleCenter
),
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (5)
1027
action[combineCheck] = checkAlign == ContentAlignment.
MiddleCenter
|| !LayoutUtils.IsHorizontalAlignment(checkAlign);
1085
action[combineCheck] = checkAlign == ContentAlignment.
MiddleCenter
|| !LayoutUtils.IsVerticalAlignment(checkAlign);
1267
case ContentAlignment.
MiddleCenter
:
1337
Rectangle combinedBounds = LayoutUtils.Align(combinedSize, maxCombinedBounds, ContentAlignment.
MiddleCenter
);
1524
layout.imageAlign = ContentAlignment.
MiddleCenter
;
winforms\Managed\System\WinForms\ControlPaint.cs (2)
66
private static readonly ContentAlignment anyCenter = ContentAlignment.TopCenter | ContentAlignment.
MiddleCenter
| ContentAlignment.BottomCenter;
67
private static readonly ContentAlignment anyMiddle = ContentAlignment.MiddleLeft | ContentAlignment.
MiddleCenter
| ContentAlignment.MiddleRight;
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (2)
48
return System.Drawing.ContentAlignment.
MiddleCenter
;
58
return System.Drawing.ContentAlignment.
MiddleCenter
;
winforms\Managed\System\WinForms\Label.cs (3)
353
case ContentAlignment.
MiddleCenter
:
645
DefaultValue(ContentAlignment.
MiddleCenter
),
657
return ContentAlignment.
MiddleCenter
;
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (4)
32
public const ContentAlignment AnyCenter = ContentAlignment.TopCenter | ContentAlignment.
MiddleCenter
| ContentAlignment.BottomCenter;
33
public const ContentAlignment AnyMiddle = ContentAlignment.MiddleLeft | ContentAlignment.
MiddleCenter
| ContentAlignment.MiddleRight;
112
Debug.Assert(result != 0x05 || alignment == ContentAlignment.
MiddleCenter
, "Error detected in ContentAlignmentToIndex.");
415
Debug.Assert(align != ContentAlignment.
MiddleCenter
, "Result is ambiguous with an alignment of MiddleCenter.");
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
270
label1.TextAlign = ContentAlignment.
MiddleCenter
;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
547
format.Alignment = ControlPaint.TranslateAlignment(ContentAlignment.
MiddleCenter
);
548
format.LineAlignment = ControlPaint.TranslateLineAlignment(ContentAlignment.
MiddleCenter
);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (2)
28
private ContentAlignment controlAlign = ContentAlignment.
MiddleCenter
;
140
[DefaultValue(ContentAlignment.
MiddleCenter
), Browsable(false)]
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (5)
417
checkRectangle = LayoutUtils.Align(maxCheckSize, new Rectangle(nextPoint.X, nextPoint.Y, maxCheckSize.Width, maxItemSize.Height), ContentAlignment.
MiddleCenter
);
422
imageRectangle = LayoutUtils.Align(maxImageSize, new Rectangle(nextPoint.X, nextPoint.Y, maxImageSize.Width, maxItemSize.Height), ContentAlignment.
MiddleCenter
);
433
checkRectangle = LayoutUtils.Align(maxCheckSize, new Rectangle(nextPoint.X, nextPoint.Y, checkAndImageMarginWidth, maxItemSize.Height), ContentAlignment.
MiddleCenter
);
452
checkRectangle = LayoutUtils.Align(LayoutUtils.UnionSizes(maxCheckSize,maxImageSize), new Rectangle(nextPoint.X, nextPoint.Y, checkAndImageMarginWidth-1, maxItemSize.Height), ContentAlignment.
MiddleCenter
);
510
textRectangle.Y = LayoutUtils.VAlign(textRectangle.Size, new Rectangle(Point.Empty, maxItemSize), ContentAlignment.
MiddleCenter
).Y;
winforms\Managed\System\WinForms\ToolStripItem.cs (4)
58
private ContentAlignment imageAlign = ContentAlignment.
MiddleCenter
;
59
private ContentAlignment textAlign = ContentAlignment.
MiddleCenter
;
1207
DefaultValue(ContentAlignment.
MiddleCenter
),
2288
DefaultValue(ContentAlignment.
MiddleCenter
),
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
1483
arrowRect.Y = LayoutUtils.VAlign(arrowRect.Size, ownerItem.ClientBounds, ContentAlignment.
MiddleCenter
).Y;
1525
imageRect.Y = LayoutUtils.VAlign(imageRect.Size, ownerItem.ClientBounds, ContentAlignment.
MiddleCenter
).Y;
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (1)
46
label.ImageAlign = ContentAlignment.
MiddleCenter
;
winforms\Managed\System\WinForms\WinFormsUtils.cs (2)
46
public static readonly ContentAlignment AnyMiddleAlign = ContentAlignment.MiddleLeft | ContentAlignment.
MiddleCenter
| ContentAlignment.MiddleRight;
47
public static readonly ContentAlignment AnyCenterAlign = ContentAlignment.TopCenter | ContentAlignment.
MiddleCenter
| ContentAlignment.BottomCenter;
System.Windows.Forms.DataVisualization (25)
Common\Annotation\AnnotationBase.cs (1)
191
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
Common\Annotation\TextAnnotation.cs (6)
554
if(this.Alignment == ContentAlignment.
MiddleCenter
||
564
this.Alignment == ContentAlignment.
MiddleCenter
||
591
this.Alignment == ContentAlignment.
MiddleCenter
||
602
if (this.Alignment == ContentAlignment.
MiddleCenter
||
649
this.Alignment == ContentAlignment.
MiddleCenter
||
660
if (this.Alignment == ContentAlignment.
MiddleCenter
||
Common\General\Legend.cs (3)
6136
this.Cells.Add(LegendCellType.SeriesSymbol, string.Empty, ContentAlignment.
MiddleCenter
);
6140
this.Cells.Add(LegendCellType.SeriesSymbol, string.Empty, ContentAlignment.
MiddleCenter
);
6157
this.Cells.Add(LegendCellType.SeriesSymbol, string.Empty, ContentAlignment.
MiddleCenter
);
Common\General\LegendColumns.cs (9)
149
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
196
: this(string.Empty, LegendCellColumnType.Text, KeywordName.LegendText, ContentAlignment.
MiddleCenter
)
208
public LegendCellColumn(string headerText, LegendCellColumnType columnType, string text) : this(headerText, columnType, text, ContentAlignment.
MiddleCenter
)
418
DefaultValue(ContentAlignment.
MiddleCenter
),
850
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
898
this.Intitialize(LegendCellType.Text, string.Empty, ContentAlignment.
MiddleCenter
);
907
this.Intitialize(LegendCellType.Text, text, ContentAlignment.
MiddleCenter
);
917
this.Intitialize(cellType, text, ContentAlignment.
MiddleCenter
);
1234
DefaultValue(ContentAlignment.
MiddleCenter
),
Common\General\Title.cs (6)
234
private ContentAlignment _alignment = ContentAlignment.
MiddleCenter
;
1005
DefaultValue(ContentAlignment.
MiddleCenter
),
1417
this.Alignment == ContentAlignment.
MiddleCenter
||
1432
else if(this.Alignment == ContentAlignment.
MiddleCenter
||
1496
else if(this.Alignment == ContentAlignment.
MiddleCenter
||
1512
this.Alignment == ContentAlignment.
MiddleCenter
||