The following tables list the members exposed by GridBagLayoutManager.
Name | Description | |
---|---|---|
GridBagLayoutManager Constructor | Constructor. |
Name | Description | |
---|---|---|
ColumnWeights | Returns the column weights of the gridbag layout. You can change them however they get recalculated once the layout is invalidated. Layout also gets invalidated whenever a layout item is added or removed. | |
ColumnWidths | Returns the preferred column widths of the gridbag layout. You can change them however they get recalculated once the layout is invalidated. Layout also gets invalidated whenever a layout item is added or removed. | |
ExpandToFitHeight | Indicates whether to proportionally expand or shrink the heights of all the items to fit the layout rect. This would only get applied if all the items had 0.0 rowWeight's. | |
ExpandToFitWidth | Indicates whether to proportionally expand or shrink the widths of all the items to fit the layout rect. This would only get applied if all the items had 0.0 columnWeight's. | |
HorizontalContentAlignment | Specifies where the contents are to be positioned horizontally if there is extra width available. | |
IncludeMarginInPositionRect | Indicates whether to include layout item margins in the rect that's specified in when the layout item is positioned via PositionItem call on the container. This mirrors the fact that UIElement's Arrange call takes a rect that includes the element's margins. | |
InterItemSpacingHorizontal | Specifies the horizontal spacing between each item. | |
InterItemSpacingVertical | Specifies the vertical spacing between each item. | |
LayoutItems | Layout items collection. (Inherited from Infragistics.Controls.Layouts.Primitives.LayoutManagerBase) | |
PreferredSizeIncludesMargin | Indicates that the preferred size provided by layout items include their margins. This mirrors DesiredSize of UIElement which includes its margins. However note that MinimumSize and MaximumSize do not include the margins, just like the UIElement. | |
RowHeights | Returns the preferred row heights of the gridbag layout. You can change them however they get recalculated once the layout is invalidated. Layout also gets invalidated whenever a layout item is added or removed. | |
RowWeights | Returns the row weights of the gridbag layout. You can change them however they get recalculated once the layout is invalidated. Layout also gets invalidated whenever a layout item is added or removed. | |
ShrinkToFitHeight | Indicates whether to shrink or not shrink the items' heights to fit the available layout area. Overrides the behavior of ExpandToFitHeight property. | |
ShrinkToFitWidth | Indicates whether to shrink or not shrink the items' widths to fit the available layout area. Overrides the behavior of ExpandToFitWidth property. | |
VerticalContentAlignment | Specifies where the contents are to be positioned vertically if there is extra height available. |
Name | Description | |
---|---|---|
CalculateAutoLayout | Calculates the row/column values for the specified items to fill the layout area. | |
CalculateMaximumSize | Overridden. Calculates the minimum size required to layout the items. | |
CalculateMinimumSize | Overridden. Calculates the minimum size required to layout the items. | |
CalculatePreferredSize | Overridden. Calculates the preferred size required to layout the items. | |
GetResizeRange | Overloaded. Gets the resize range of an item. | |
InvalidateLayout | Overridden. Invalidates any cached information so the layout manager recalculates everything next time. | |
LayoutContainer | Overloaded. Overridden. Lays out items contained in this layout manager by calling PositionItem off the passed in container for each item. | |
PerformAutoSize | Resizes the specified layout items to the specified preferred sizes. | |
ResizeItem | Overloaded. Resizes the specified layout item by specified deltaWidth and deltaHeight. Returns the new calculated preferred sizes of one or more items that will result in the resize item's target size. |
Name | Description | |
---|---|---|
OnLayoutChanged | This method is called whenever a layout item is added, removed or the layout is cleared. Implementation of this method calls InvalidateLayout to invalidate any cached information. (Inherited from Infragistics.Controls.Layouts.Primitives.LayoutManagerBase) | |
ValidateConstraintObject | Overridden. Implementation should throw an exception if the passed in constraint is not a valid constraint for this layout manager. It usually checks the type. |