Пример #1
0
 internal override void Attach(RadVirtualizingDataControl owner)
 {
     base.Attach(owner);
     this.typedOwner      = owner as RadDataBoundListBox;
     this.isItemCheckable = this.typedOwner.IsItemCheckable(this);
     this.SynchItemCheckBoxState();
 }
Пример #2
0
        /// <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);
            }
        }
Пример #3
0
        internal virtual void OnItemManipulationStarted(ManipulationStartedRoutedEventArgs e)
        {
            RadDataBoundListBox typedOwner = this.Owner as RadDataBoundListBox;

            if (typedOwner != null)
            {
                typedOwner.OnItemManipulationStarted(this, e.Container, e.Position);
            }
        }
Пример #4
0
        internal override void Detach()
        {
            base.Detach();

            if (this.typedOwner != null)
            {
                this.typedOwner.holdTimer.Tick -= this.HoldTimer_Tick;
            }

            this.typedOwner      = null;
            this.isItemCheckable = false;
        }
Пример #5
0
 internal CheckedItemsCollection(RadDataBoundListBox owner)
 {
     this.owner = owner;
     this.items = new List <DataSourceItem>();
 }
 internal DataBoundListBoxListSourceItemFactory(RadDataBoundListBox owner)
 {
     this.owner = owner;
 }
        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);
        }