43 references to VerticalAlignment
PresentationFramework (34)
src\Framework\MS\Internal\Documents\TextBoxView.cs (4)
3026
case
VerticalAlignment
.Top:
3027
case
VerticalAlignment
.Stretch:
3032
case
VerticalAlignment
.Center:
3036
case
VerticalAlignment
.Bottom:
src\Framework\System\Windows\Controls\Control.cs (4)
319
typeof(
VerticalAlignment
),
321
new FrameworkPropertyMetadata(
VerticalAlignment
.Top),
330
public
VerticalAlignment
VerticalContentAlignment
332
get { return (
VerticalAlignment
) GetValue(VerticalContentAlignmentProperty); }
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
44
style.Setters.Add(new Setter(CheckBox.VerticalAlignmentProperty,
VerticalAlignment
.Top));
67
style.Setters.Add(new Setter(CheckBox.VerticalAlignmentProperty,
VerticalAlignment
.Top));
src\Framework\System\Windows\Controls\DatePicker.cs (1)
1073
_calendar.VerticalAlignment =
VerticalAlignment
.Top;
src\Framework\System\Windows\Controls\GridSplitter.cs (3)
318
else if (VerticalAlignment !=
VerticalAlignment
.Stretch)
361
case
VerticalAlignment
.Top:
364
case
VerticalAlignment
.Bottom:
src\Framework\System\Windows\Controls\UserControl.cs (1)
35
VerticalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(
VerticalAlignment
.Stretch));
src\Framework\System\Windows\FrameworkElement.cs (17)
3796
typeof(
VerticalAlignment
),
3799
VerticalAlignment
.Stretch,
3805
VerticalAlignment
va = (
VerticalAlignment
)value;
3806
return ( va ==
VerticalAlignment
.Top
3807
|| va ==
VerticalAlignment
.Center
3808
|| va ==
VerticalAlignment
.Bottom
3809
|| va ==
VerticalAlignment
.Stretch);
3815
public
VerticalAlignment
VerticalAlignment
3817
get { return (
VerticalAlignment
) GetValue(VerticalAlignmentProperty); }
4635
if (VerticalAlignment !=
VerticalAlignment
.Stretch)
4827
VerticalAlignment
va = VerticalAlignment;
4837
if( va ==
VerticalAlignment
.Stretch
4840
va =
VerticalAlignment
.Top;
4858
if ( va ==
VerticalAlignment
.Center
4859
|| va ==
VerticalAlignment
.Stretch )
4863
else if (va ==
VerticalAlignment
.Bottom)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
2347
bamlMember.TypeConverterType = typeof(System.Windows.
VerticalAlignment
);
2647
bamlMember.TypeConverterType = typeof(System.Windows.
VerticalAlignment
);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
55
VerticalAlignment =
VerticalAlignment
.Center,
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
859
VerticalAlignment =
VerticalAlignment
.Top,
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (6)
77
this.text.VerticalAlignment =
VerticalAlignment
.Center;
83
this.contentGrid.VerticalAlignment =
VerticalAlignment
.Center;
88
this.stackPanel.VerticalAlignment =
VerticalAlignment
.Center;
1073
private FrameworkElement CreateAndInitializeSpacer(
VerticalAlignment
alignment)
1107
this.TopSpacerWrapper.Spacer = CreateAndInitializeSpacer(
VerticalAlignment
.Bottom);
1109
this.BottomSpacerWrapper.Spacer = CreateAndInitializeSpacer(
VerticalAlignment
.Top);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
92
text.VerticalAlignment =
VerticalAlignment
.Center;