The first item index. Between 0 and ItemCount - 1.
The second item index. Between 0 and ItemCount - 1.
True to also swap item text, else False (default).





In This Topic
GdPicture14.WPF Namespace / ThumbnailEx Class / SwapItemsImage Method / SwapItemsImage(Int32,Int32,Boolean) Method

SwapItemsImage(Int32,Int32,Boolean) Method

In This Topic
Swap 2 items images in the thumbnail list, with option of specifying whether to swap the text of the items too or not.
Syntax
'Declaration

 

Public Overloads Sub SwapItemsImage( _

   ByVal Item1Idx As Integer, _

   ByVal Item2Idx As Integer, _

   ByVal SwapText As Boolean _

) 
public void SwapItemsImage( 

   int Item1Idx,

   int Item2Idx,

   bool SwapText

)
public procedure SwapItemsImage( 

    Item1Idx: Integer;

    Item2Idx: Integer;

    SwapText: Boolean

); 
public function SwapItemsImage( 

   Item1Idx : int,

   Item2Idx : int,

   SwapText : boolean

);
public: void SwapItemsImage( 

   int Item1Idx,

   int Item2Idx,

   bool SwapText

) 
public:

void SwapItemsImage( 

   int Item1Idx,

   int Item2Idx,

   bool SwapText

) 

Parameters

Item1Idx
The first item index. Between 0 and ItemCount - 1.
Item2Idx
The second item index. Between 0 and ItemCount - 1.
SwapText
True to also swap item text, else False (default).
See Also