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