示例#1
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);
            }
        }
示例#2
0
        internal virtual void OnItemManipulationStarted(ManipulationStartedRoutedEventArgs e)
        {
            RadDataBoundListBox typedOwner = this.Owner as RadDataBoundListBox;

            if (typedOwner != null)
            {
                typedOwner.OnItemManipulationStarted(this, e.Container, e.Position);
            }
        }
示例#3
0
        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();
        }
示例#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;
        }
        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);
        }
示例#7
0
 internal CheckedItemsCollection(RadDataBoundListBox owner)
 {
     this.owner = owner;
     this.items = new List <DataSourceItem>();
 }
示例#8
0
 internal DataBoundListBoxListSourceItemFactory(RadDataBoundListBox owner)
 {
     this.owner = owner;
 }