/// <summary> /// Performs the core Tap implementation. Currently the owner is asked to handle the action. /// </summary> protected virtual void OnTap(UIElement container, UIElement originalSource, Point hitPoint) { RadDataBoundListBox owner = this.Owner as RadDataBoundListBox; if (owner != null) { owner.OnItemTap(this, container, originalSource, hitPoint); } }
internal virtual void OnItemManipulationStarted(ManipulationStartedRoutedEventArgs e) { RadDataBoundListBox typedOwner = this.Owner as RadDataBoundListBox; if (typedOwner != null) { typedOwner.OnItemManipulationStarted(this, e.Container, e.Position); } }
internal override void Attach(RadVirtualizingDataControl owner) { base.Attach(owner); this.typedOwner = owner as RadDataBoundListBox; this.isItemCheckable = this.typedOwner.IsItemCheckable(this); ////this.typedOwner.typedStrategy.SynchItemCheckBoxState(this); this.SynchItemCheckBoxState(); }
internal override void Detach() { base.Detach(); if (this.typedOwner != null) { this.typedOwner.holdTimer.Tick -= this.holdTimer_Tick; } this.typedOwner = null; this.isItemCheckable = false; }
private static void OnItemCheckedPathChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) { RadDataBoundListBox typedSender = sender as RadDataBoundListBox; typedSender.OnItemCheckedPathChanged(args); }
private static void OnCheckModeDeactivatedOnBackButtonChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) { RadDataBoundListBox typedSender = sender as RadDataBoundListBox; typedSender.OnCheckModeDeactivatedOnBackButtonChanged(args); }
internal CheckedItemsCollection(RadDataBoundListBox owner) { this.owner = owner; this.items = new List <DataSourceItem>(); }
internal DataBoundListBoxListSourceItemFactory(RadDataBoundListBox owner) { this.owner = owner; }