29 references to GridResizeDirection
PresentationFramework (29)
src\Framework\System\Windows\Controls\GridSplitter.cs (29)
133
case
GridResizeDirection
.Columns:
135
case
GridResizeDirection
.Rows:
148
typeof(
GridResizeDirection
),
150
new FrameworkPropertyMetadata(
GridResizeDirection
.Auto,
157
public
GridResizeDirection
ResizeDirection
159
get { return (
GridResizeDirection
)GetValue(ResizeDirectionProperty); }
166
GridResizeDirection
resizeDirection = (
GridResizeDirection
)o;
167
return resizeDirection ==
GridResizeDirection
.Auto ||
168
resizeDirection ==
GridResizeDirection
.Columns ||
169
resizeDirection ==
GridResizeDirection
.Rows;
307
private
GridResizeDirection
GetEffectiveResizeDirection()
309
GridResizeDirection
direction = ResizeDirection;
311
if (direction ==
GridResizeDirection
.Auto)
316
direction =
GridResizeDirection
.Columns;
320
direction =
GridResizeDirection
.Rows;
324
direction =
GridResizeDirection
.Columns;
328
direction =
GridResizeDirection
.Rows;
336
private GridResizeBehavior GetEffectiveResizeBehavior(
GridResizeDirection
direction)
342
if (direction ==
GridResizeDirection
.Columns)
526
int gridSpan = (int)GetValue(_resizeData.ResizeDirection ==
GridResizeDirection
.Columns ? Grid.ColumnSpanProperty : Grid.RowSpanProperty);
530
splitterIndex = (int)GetValue(_resizeData.ResizeDirection ==
GridResizeDirection
.Columns ? Grid.ColumnProperty : Grid.RowProperty);
553
int count = (_resizeData.ResizeDirection ==
GridResizeDirection
.Columns) ? _resizeData.Grid.ColumnDefinitions.Count : _resizeData.Grid.RowDefinitions.Count;
664
if (_resizeData.ResizeDirection ==
GridResizeDirection
.Columns)
769
private static DefinitionBase GetGridDefinition(Grid grid, int index,
GridResizeDirection
direction)
771
return direction ==
GridResizeDirection
.Columns ? (DefinitionBase)grid.ColumnDefinitions[index] : (DefinitionBase)grid.RowDefinitions[index];
835
IEnumerable definitions = _resizeData.ResizeDirection ==
GridResizeDirection
.Columns ? (IEnumerable)_resizeData.Grid.ColumnDefinitions : (IEnumerable)_resizeData.Grid.RowDefinitions;
882
if (_resizeData.ResizeDirection ==
GridResizeDirection
.Columns)
1003
public
GridResizeDirection
ResizeDirection;