87 references to HorizontalAlignment
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
QuickInfo\OnTheFlyDocsView.xaml.cs (1)
99
element.HorizontalAlignment =
HorizontalAlignment
.Stretch;
Microsoft.VisualStudio.LanguageServices (3)
PreviewPane\PreviewPane.xaml.cs (1)
143
previewElement.HorizontalAlignment =
HorizontalAlignment
.Left;
StackTraceExplorer\StackTraceExplorerToolWindow.cs (1)
132
HorizontalAlignment =
HorizontalAlignment
.Stretch,
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
65
HorizontalAlignment =
HorizontalAlignment
.Stretch
PresentationFramework (71)
MS\Internal\Documents\TextBoxView.cs (7)
2888
private TextAlignment HorizontalAlignmentToTextAlignment(
HorizontalAlignment
horizontalAlignment)
2894
case
HorizontalAlignment
.Left:
2899
case
HorizontalAlignment
.Right:
2903
case
HorizontalAlignment
.Center:
2907
case
HorizontalAlignment
.Stretch:
3096
return HorizontalAlignmentToTextAlignment((
HorizontalAlignment
)o);
3105
return HorizontalAlignmentToTextAlignment((
HorizontalAlignment
)o);
MS\Internal\PtsHost\FloaterParaClient.cs (1)
811
if(floater.HorizontalAlignment !=
HorizontalAlignment
.Stretch)
MS\Internal\PtsHost\FloaterParagraph.cs (12)
130
case
HorizontalAlignment
.Right:
133
case
HorizontalAlignment
.Center:
136
case
HorizontalAlignment
.Left:
267
if(fsbbox.fsrc.du < subpageWidth && Double.IsNaN(specifiedWidth) && HorizontalAlignment !=
HorizontalAlignment
.Stretch)
443
if(fsbbox.fsrc.du < subpageWidth && Double.IsNaN(specifiedWidth) && HorizontalAlignment !=
HorizontalAlignment
.Stretch)
786
private
HorizontalAlignment
HorizontalAlignment
802
return
HorizontalAlignment
.Left;
808
return
HorizontalAlignment
.Right;
814
return
HorizontalAlignment
.Center;
819
return
HorizontalAlignment
.Center;
836
if (HorizontalAlignment ==
HorizontalAlignment
.Stretch)
892
if(Element is Floater && HorizontalAlignment !=
HorizontalAlignment
.Stretch)
System\Windows\Controls\Control.cs (4)
283
typeof(
HorizontalAlignment
),
285
new FrameworkPropertyMetadata(
HorizontalAlignment
.Left),
294
public
HorizontalAlignment
HorizontalContentAlignment
296
get { return (
HorizontalAlignment
) GetValue(HorizontalContentAlignmentProperty); }
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
44
style.Setters.Add(new Setter(CheckBox.HorizontalAlignmentProperty,
HorizontalAlignment
.Center));
73
style.Setters.Add(new Setter(CheckBox.HorizontalAlignmentProperty,
HorizontalAlignment
.Center));
System\Windows\Controls\DatePicker.cs (1)
1079
_calendar.HorizontalAlignment =
HorizontalAlignment
.Left;
System\Windows\Controls\GridSplitter.cs (4)
92
FrameworkElement.HorizontalAlignmentProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(
HorizontalAlignment
.Right));
307
if (HorizontalAlignment !=
HorizontalAlignment
.Stretch)
338
case
HorizontalAlignment
.Left:
341
case
HorizontalAlignment
.Right:
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1123
paddingHeader.HorizontalAlignment =
HorizontalAlignment
.Stretch;
System\Windows\Controls\RichTextBox.cs (2)
786
if (this.RenderScope.HorizontalAlignment !=
HorizontalAlignment
.Stretch)
788
this.RenderScope.HorizontalAlignment =
HorizontalAlignment
.Stretch;
System\Windows\Controls\Separator.cs (1)
35
container.HorizontalContentAlignment =
HorizontalAlignment
.Stretch;
System\Windows\Controls\UserControl.cs (1)
26
HorizontalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(
HorizontalAlignment
.Stretch));
System\Windows\Documents\Floater.cs (3)
84
HorizontalAlignment
.Stretch,
90
public
HorizontalAlignment
HorizontalAlignment
92
get { return (
HorizontalAlignment
)GetValue(HorizontalAlignmentProperty); }
System\Windows\Documents\TextRangeEdit.cs (12)
881
HorizontalAlignment
horizontalAlignment = GetHorizontalAlignmentFromTextAlignment((TextAlignment)newValue);
1156
internal static
HorizontalAlignment
GetHorizontalAlignmentFromTextAlignment(TextAlignment textAlignment)
1158
HorizontalAlignment
horizontalAlignment;
1163
horizontalAlignment =
HorizontalAlignment
.Left;
1166
horizontalAlignment =
HorizontalAlignment
.Center;
1169
horizontalAlignment =
HorizontalAlignment
.Right;
1172
horizontalAlignment =
HorizontalAlignment
.Stretch;
1180
internal static TextAlignment GetTextAlignmentFromHorizontalAlignment(
HorizontalAlignment
horizontalAlignment)
1185
case
HorizontalAlignment
.Left:
1188
case
HorizontalAlignment
.Center:
1191
case
HorizontalAlignment
.Right:
1195
case
HorizontalAlignment
.Stretch:
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
102
internal static void Add(ITextContainer textContainer, UIElement uiElement, DependencyProperty property,
HorizontalAlignment
newValue)
System\Windows\FrameworkElement.cs (17)
3754
typeof(
HorizontalAlignment
),
3757
HorizontalAlignment
.Stretch,
3763
HorizontalAlignment
ha = (
HorizontalAlignment
)value;
3764
return ( ha ==
HorizontalAlignment
.Left
3765
|| ha ==
HorizontalAlignment
.Center
3766
|| ha ==
HorizontalAlignment
.Right
3767
|| ha ==
HorizontalAlignment
.Stretch );
3773
public
HorizontalAlignment
HorizontalAlignment
3775
get { return (
HorizontalAlignment
) GetValue(HorizontalAlignmentProperty); }
4624
if (HorizontalAlignment !=
HorizontalAlignment
.Stretch)
4820
HorizontalAlignment
ha = HorizontalAlignment;
4825
if( ha ==
HorizontalAlignment
.Stretch
4828
ha =
HorizontalAlignment
.Left;
4838
if ( ha ==
HorizontalAlignment
.Center
4839
|| ha ==
HorizontalAlignment
.Stretch )
4843
else if (ha ==
HorizontalAlignment
.Right)
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
2269
bamlMember.TypeConverterType = typeof(System.Windows.
HorizontalAlignment
);
2518
bamlMember.TypeConverterType = typeof(System.Windows.
HorizontalAlignment
);
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (2)
335
HorizontalAlignment =
HorizontalAlignment
.Center;
337
HorizontalContentAlignment =
HorizontalAlignment
.Center;
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1827
newItem.HorizontalAlignment =
HorizontalAlignment
.Right;
Roslyn.VisualStudio.DiagnosticsWindow (4)
OptionPages\InternalOptionsControl.cs (4)
41
var searchBox = new TextBox() { MinWidth = 200, HorizontalAlignment =
HorizontalAlignment
.Stretch };
74
HorizontalAlignment =
HorizontalAlignment
.Stretch
92
HorizontalAlignment =
HorizontalAlignment
.Stretch
99
var mainPanel = new DockPanel() { HorizontalAlignment =
HorizontalAlignment
.Stretch };
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (4)
393
HorizontalAlignment
childAlignment = (
HorizontalAlignment
)contentChild.GetValue(HorizontalAlignmentProperty);
394
if (childAlignment ==
HorizontalAlignment
.Left ||
395
childAlignment ==
HorizontalAlignment
.Right)
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
310
childFrameworkElement.HorizontalAlignment = SW.
HorizontalAlignment
.Stretch;