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