The following tables list the members exposed by IGridBagLayoutDragManager.
Name | Description | |
---|---|---|
Control | The Control in which the drag starts | |
ItemBeingDragged | Returns the ILayoutItem currently being dragged. |
Name | Description | |
---|---|---|
GetAllowMovingResolved | Determine whether the layoutItem can be moved. | |
GetAllowSpanSizingResolved | Determine whether the layoutItem can be span sized. | |
GetContainerElementContext | Returns the Context to use when trying to determine the Container Element of a layout item. | |
GetContainerElementType | Returns the type of UIElement that contains the layout. | |
GetDragItemSpans | Returns the resolved spanX and spanY of the ILayoutItem being dragged. | |
GetGroupFromPoint | Returns the ILayoutGroup which contains the specified point. | |
GetLayoutContainerRect | Returns the valid rect of the container element. | |
GetLayoutItemDimensions | Returns dimensions of layout items. It contains entries for only the visible items. | |
GetLayoutItemElementsFromPoint | Gets an an array of UIElements that represent a LayoutItem within the ContainingElement. This is for the purposes for determining the drop location. | |
GetLayoutItemFromElement | Returns an ILayoutItem that corresponds to a particular UIElement | |
GetPreferredSize | Returns the resolved preferred size of the item. | |
GetResolvedGCs | Returns resolved GridBagConstraint objects for visible columns as a hashtable where the keys are the visible columns and the values are the GridBagConstraint objects. | |
GetVisibleLayoutItems | Returns the layout items that are visible in the row-layout in an array. | |
IsDropAreaValid | Returns true if the drop area is valid. Returns false if a location should be considered invalid drop area. Note that returning true will cause the drag strategy to use the default logic to determine whether a drop location is valid. | |
SetConstraintsOfDragItem | Sets the Consraint information on the item being dropped. | |
SetResolvedGCs | Sets the OriginX, OriginY, SpanX and SpanY of each layout item to respective property values in the GridBagConstraint object. | |
SetSpanGC | Sets the Span and/or labelSpan properties on an item after a Span Resize. | |
ShouldAllowParentGroupChange | Gets the value which indicates whether the parent group of the specified item can be changed. |