50 references to Dock
PresentationFramework (50)
src\Framework\System\Windows\Controls\DockPanel.cs (22)
63
/// A <see cref="System.Windows.Controls.
Dock
" /> enum (see <see cref="SetDock" /> and <see cref="GetDock" />)
111
public static
Dock
GetDock(UIElement element)
115
return (
Dock
) element.GetValue(DockProperty);
124
public static void SetDock(UIElement element,
Dock
dock)
186
typeof(
Dock
),
189
Dock
.Left,
207
/// Children are measured based on their sizing properties and <see cref="System.Windows.Controls.
Dock
" />.
251
case
Dock
.Left:
252
case
Dock
.Right:
257
case
Dock
.Top:
258
case
Dock
.Bottom:
274
/// <see cref="System.Windows.Controls.
Dock
" /> enum and sizing properties.
304
case
Dock
.Left:
309
case
Dock
.Right:
315
case
Dock
.Top:
320
case
Dock
.Bottom:
346
Dock
dock = (
Dock
)o;
348
return ( dock ==
Dock
.Left
349
|| dock ==
Dock
.Top
350
|| dock ==
Dock
.Right
351
|| dock ==
Dock
.Bottom);
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (19)
91
Dock
tabAlignment = TabStripPlacement;
99
if (tabAlignment ==
Dock
.Top || tabAlignment ==
Dock
.Bottom)
146
else if (tabAlignment ==
Dock
.Left || tabAlignment ==
Dock
.Right)
178
Dock
tabAlignment = TabStripPlacement;
179
if (tabAlignment ==
Dock
.Top || tabAlignment ==
Dock
.Bottom)
183
else if (tabAlignment ==
Dock
.Left || tabAlignment ==
Dock
.Right)
236
Dock
tabAlignment = TabStripPlacement;
251
if (tabAlignment ==
Dock
.Top)
254
if (tabAlignment ==
Dock
.Bottom && activeRow != 0)
292
if ((separatorIndex == activeRow && tabAlignment ==
Dock
.Top) ||
293
(separatorIndex == activeRow - 1 && tabAlignment ==
Dock
.Bottom))
351
if (TabStripPlacement ==
Dock
.Top)
525
private
Dock
TabStripPlacement
529
Dock
placement =
Dock
.Top;
src\Framework\System\Windows\Controls\TabControl.cs (4)
79
typeof(
Dock
),
82
Dock
.Top,
103
public
Dock
TabStripPlacement
107
return (
Dock
)GetValue(TabStripPlacementProperty);
src\Framework\System\Windows\Controls\TabItem.cs (4)
178
typeof(
Dock
),
181
Dock
.Top,
200
public
Dock
TabStripPlacement
204
return (
Dock
)GetValue(TabStripPlacementProperty);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2364
bamlMember.TypeConverterType = typeof(System.Windows.Controls.
Dock
);