29 references to GridResizeDirection
PresentationFramework (29)
System\Windows\Controls\GridSplitter.cs (29)
132
case
GridResizeDirection
.Columns:
134
case
GridResizeDirection
.Rows:
147
typeof(
GridResizeDirection
),
149
new FrameworkPropertyMetadata(
GridResizeDirection
.Auto,
156
public
GridResizeDirection
ResizeDirection
158
get { return (
GridResizeDirection
)GetValue(ResizeDirectionProperty); }
165
GridResizeDirection
resizeDirection = (
GridResizeDirection
)o;
166
return resizeDirection ==
GridResizeDirection
.Auto ||
167
resizeDirection ==
GridResizeDirection
.Columns ||
168
resizeDirection ==
GridResizeDirection
.Rows;
306
private
GridResizeDirection
GetEffectiveResizeDirection()
308
GridResizeDirection
direction = ResizeDirection;
310
if (direction ==
GridResizeDirection
.Auto)
315
direction =
GridResizeDirection
.Columns;
319
direction =
GridResizeDirection
.Rows;
323
direction =
GridResizeDirection
.Columns;
327
direction =
GridResizeDirection
.Rows;
334
private GridResizeBehavior GetEffectiveResizeBehavior(
GridResizeDirection
direction)
340
if (direction ==
GridResizeDirection
.Columns)
524
int gridSpan = (int)GetValue(_resizeData.ResizeDirection ==
GridResizeDirection
.Columns ? Grid.ColumnSpanProperty : Grid.RowSpanProperty);
528
splitterIndex = (int)GetValue(_resizeData.ResizeDirection ==
GridResizeDirection
.Columns ? Grid.ColumnProperty : Grid.RowProperty);
551
int count = (_resizeData.ResizeDirection ==
GridResizeDirection
.Columns) ? _resizeData.Grid.ColumnDefinitions.Count : _resizeData.Grid.RowDefinitions.Count;
662
if (_resizeData.ResizeDirection ==
GridResizeDirection
.Columns)
767
private static DefinitionBase GetGridDefinition(Grid grid, int index,
GridResizeDirection
direction)
769
return direction ==
GridResizeDirection
.Columns ? (DefinitionBase)grid.ColumnDefinitions[index] : (DefinitionBase)grid.RowDefinitions[index];
833
IEnumerable definitions = _resizeData.ResizeDirection ==
GridResizeDirection
.Columns ? (IEnumerable)_resizeData.Grid.ColumnDefinitions : (IEnumerable)_resizeData.Grid.RowDefinitions;
880
if (_resizeData.ResizeDirection ==
GridResizeDirection
.Columns)
1001
public
GridResizeDirection
ResizeDirection;