Version

IGridBagLayoutDragManager Interface Members

The following tables list the members exposed by IGridBagLayoutDragManager.

Public Properties
 NameDescription
 PropertyControlThe Control in which the drag starts  
 PropertyItemBeingDraggedReturns the ILayoutItem currently being dragged.  
Public Methods
 NameDescription
 MethodGetAllowMovingResolvedDetermine whether the layoutItem can be moved.  
 MethodGetAllowSpanSizingResolvedDetermine whether the layoutItem can be span sized.  
 MethodGetContainerElementContextReturns the Context to use when trying to determine the Container Element of a layout item.  
 MethodGetContainerElementTypeReturns the type of UIElement that contains the layout.  
 MethodGetDragItemSpansReturns the resolved spanX and spanY of the ILayoutItem being dragged.  
 MethodGetGroupFromPointReturns the ILayoutGroup which contains the specified point.  
 MethodGetLayoutContainerRectReturns the valid rect of the container element.  
 MethodGetLayoutItemDimensionsReturns dimensions of layout items. It contains entries for only the visible items.  
 MethodGetLayoutItemElementsFromPointGets an an array of UIElements that represent a LayoutItem within the ContainingElement. This is for the purposes for determining the drop location.  
 MethodGetLayoutItemFromElementReturns an ILayoutItem that corresponds to a particular UIElement  
 MethodGetPreferredSizeReturns the resolved preferred size of the item.  
 MethodGetResolvedGCsReturns resolved GridBagConstraint objects for visible columns as a hashtable where the keys are the visible columns and the values are the GridBagConstraint objects.  
 MethodGetVisibleLayoutItemsReturns the layout items that are visible in the row-layout in an array.  
 MethodIsDropAreaValidReturns 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.  
 MethodSetConstraintsOfDragItemSets the Consraint information on the item being dropped.  
 MethodSetResolvedGCsSets the OriginX, OriginY, SpanX and SpanY of each layout item to respective property values in the GridBagConstraint object.  
 MethodSetSpanGCSets the Span and/or labelSpan properties on an item after a Span Resize.  
 MethodShouldAllowParentGroupChangeGets the value which indicates whether the parent group of the specified item can be changed.  
See Also