C# Class Catrobat.IDE.WindowsPhone.Controls.ListsViewControls.CatrobatListView.CatrobatListViewMisc.CatrobatListViewWorker

Inheritance: Windows.UI.Xaml.Controls.ListViewBase
Mostra file Open project: Catrobat/CatrobatForWindows Class Usage Examples

Public Properties

Property Type Description
GroupingEnabled bool
SelectionEnabled bool
SmartSelectedItems ObservableCollection

Public Methods

Method Description
CatrobatListViewWorker ( ) : System
CheckIfNewAddedBrick ( ) : void
SetProgessRingVisibility ( Visibility newVisibility ) : void

Protected Methods

Method Description
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
OnApplyTemplate ( ) : void
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Private Methods

Method Description
AddRemoveSelectedItem ( object obj, bool contains ) : void
AddSnapshotToManipulationCanvas ( double yPos ) : void
Autoscroll ( double yVal ) : void
CalcInvalidReorderIndexes ( ) : void
CalcMaxReorderIndex ( int index, bool forGrouping = false ) : int
CalcMinReorderIndex ( int index ) : int
CatrobatListViewWorker_ManipulationCompleted ( object sender, Windows e ) : void
CatrobatListViewWorker_ManipulationDelta ( object sender, Windows e ) : void
CatrobatListViewWorker_PointerReleased ( object sender, Windows e ) : void
ChangeItemsVisibility ( int startIndex, int endIndex, bool setSelected ) : void
CheckRearrangeNecessaryFromDelta ( double yVal ) : void
DeltaDrag ( double yPos ) : void
EndDrag ( ) : void
GenerateDraggingItemClone ( ) : CatrobatListViewItem
GetActualHeightFromIndex ( int index ) : double
GetDraggingItemClone ( ) : CatrobatListViewItem
GetEndBrickIndex ( object obj ) : int
GroupItem ( CatrobatListViewItem item ) : void
ImportItemsSource ( IList list ) : void
InitDragContentObject ( ) : void
InitDragGroupList ( ) : void
InitReorderableEmptyDummyControl ( ) : void
MoveItem ( int to, int from ) : void
MoveValidationCalculation ( int index ) : void
PrepareStartDrag ( double yPos ) : void
RearrangeRolbi ( double setYTo ) : void
ScrollToOffset ( double delta ) : void
SetGroupingEnabled ( bool value ) : void
SetItemWidth ( int newWidth ) : void
SetItemsSelectedStyle ( IList itemsList ) : void
SetReorderEnabled ( bool value ) : void
SetSelectionMode ( bool value ) : void
SetTmpDragContentHeight ( ) : void
SetYPositionTo ( double y ) : void
SmartSelectedItems_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
StartDrag ( int index, double yPos ) : void
TransferItemsSource ( IList source ) : void
TransferSelectedItems ( IList source ) : void
UpdateItemMargin ( int value ) : void
UpdateItemTemplateSelector ( DataTemplate itemTemplate ) : void
UpdateSelectedItems ( IList selectedItemsUpdated ) : void
_dragCanvas_PointerPressed ( object sender, Windows e ) : void
_dragCanvas_RightTapped ( object sender, Windows e ) : void
_dragCanvas_Tapped ( object sender, Windows e ) : void
item_ItemGroupEvent ( object sender, CatrobatListViewEventArgs e ) : void
item_ItemSelectedEvent ( object sender, CatrobatListViewEventArgs e ) : void
item_Tapped ( object sender, Windows e ) : void

Method Details

CatrobatListViewWorker() public method

public CatrobatListViewWorker ( ) : System
return System

CheckIfNewAddedBrick() public method

public CheckIfNewAddedBrick ( ) : void
return void

GetContainerForItemOverride() protected method

protected GetContainerForItemOverride ( ) : DependencyObject
return Windows.UI.Xaml.DependencyObject

IsItemItsOwnContainerOverride() protected method

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
return bool

OnApplyTemplate() protected method

protected OnApplyTemplate ( ) : void
return void

PrepareContainerForItemOverride() protected method

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element Windows.UI.Xaml.DependencyObject
item object
return void

SetProgessRingVisibility() public method

public SetProgessRingVisibility ( Visibility newVisibility ) : void
newVisibility Visibility
return void

Property Details

GroupingEnabled public_oe property

public bool GroupingEnabled
return bool

SelectionEnabled public_oe property

public bool SelectionEnabled
return bool

SmartSelectedItems public_oe property

public ObservableCollection SmartSelectedItems
return ObservableCollection