public GenericFileBrowser() { InitializeComponent(); base.BaseLayoutContextFlyout = this.BaseLayoutContextFlyout; base.BaseLayoutItemContextFlyout = this.BaseLayoutItemContextFlyout; switch (AppSettings.DirectorySortOption) { case SortOption.Name: SortedColumn = nameColumn; break; case SortOption.DateModified: SortedColumn = dateColumn; break; case SortOption.FileType: SortedColumn = typeColumn; break; case SortOption.Size: SortedColumn = sizeColumn; break; } var selectionRectangle = RectangleSelection.Create(AllView, SelectionRectangle, AllView_SelectionChanged); selectionRectangle.SelectionStarted += SelectionRectangle_SelectionStarted; selectionRectangle.SelectionEnded += SelectionRectangle_SelectionEnded; AllView.PointerCaptureLost += AllView_ItemPress; AppSettings.ThemeModeChanged += AppSettings_ThemeModeChanged; }
public ColumnViewBase() : base() { this.InitializeComponent(); CurrentColumn = this; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); tapDebounceTimer = DispatcherQueue.GetForCurrentThread().CreateTimer(); }
public GridViewBrowser() : base() { InitializeComponent(); this.DataContext = this; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); selectionRectangle.SelectionEnded += SelectionRectangle_SelectionEnded; }
public GridViewBrowser() { InitializeComponent(); this.DataContext = this; base.BaseLayoutContextFlyout = BaseLayoutContextFlyout; base.BaseLayoutItemContextFlyout = BaseLayoutItemContextFlyout; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); selectionRectangle.SelectionEnded += SelectionRectangle_SelectionEnded; }
public GenericFileBrowser2() : base() { InitializeComponent(); this.DataContext = this; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); selectionRectangle.SelectionEnded += SelectionRectangle_SelectionEnded; renameDoubleClickTimer = DispatcherQueue.GetForCurrentThread().CreateTimer(); }
public ColumnViewBrowser() : base() { this.InitializeComponent(); ColumnViewBrowser1 = this; ColumnViewBase.ItemInvoked += ColumnViewBase_ItemInvoked; ColumnViewBase.UnFocusPreviousListView += ColumnViewBase_UnFocusPreviousListView; ColumnViewBase.DismissColumn += ColumnViewBase_DismissColumn; //this.DataContext = this; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); tapDebounceTimer = DispatcherQueue.GetForCurrentThread().CreateTimer(); }
public GridViewBrowser() { this.InitializeComponent(); base.BaseLayoutContextFlyout = this.BaseLayoutContextFlyout; base.BaseLayoutItemContextFlyout = this.BaseLayoutItemContextFlyout; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); selectionRectangle.SelectionEnded += SelectionRectangle_SelectionEnded; App.AppSettings.LayoutModeChangeRequested += AppSettings_LayoutModeChangeRequested; SetItemTemplate(); // Set ItemTemplate }
public GenericFileBrowser() : base() { InitializeComponent(); var selectionRectangle = RectangleSelection.Create(AllView, SelectionRectangle, AllView_SelectionChanged); selectionRectangle.SelectionStarted += SelectionRectangle_SelectionStarted; selectionRectangle.SelectionEnded += SelectionRectangle_SelectionEnded; AllView.PointerCaptureLost += AllView_ItemPress; tapDebounceTimer = DispatcherQueue.GetForCurrentThread().CreateTimer(); }
public GenericFileBrowser() { InitializeComponent(); base.BaseLayoutContextFlyout = BaseLayoutContextFlyout; base.BaseLayoutItemContextFlyout = BaseLayoutItemContextFlyout; tapDebounceTimer = new DispatcherTimer(); var selectionRectangle = RectangleSelection.Create(AllView, SelectionRectangle, AllView_SelectionChanged); selectionRectangle.SelectionStarted += SelectionRectangle_SelectionStarted; selectionRectangle.SelectionEnded += SelectionRectangle_SelectionEnded; AllView.PointerCaptureLost += AllView_ItemPress; }
public ColumnViewBase() : base() { this.InitializeComponent(); CurrentColumn = this; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); }
public ColumnViewBrowser() : base() { this.InitializeComponent(); //this.DataContext = this; var selectionRectangle = RectangleSelection.Create(FileList, SelectionRectangle, FileList_SelectionChanged); }