コード例 #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>();
 }
コード例 #6
0
 internal DataBoundListBoxListSourceItemFactory(RadDataBoundListBox owner)
 {
     this.owner = owner;
 }
コード例 #7
0
        private static void OnItemCheckedPathChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RadDataBoundListBox typedSender = sender as RadDataBoundListBox;

            typedSender.OnItemCheckedPathChanged(args);
        }
コード例 #8
0
        private static void OnCheckModeDeactivatedOnBackButtonChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RadDataBoundListBox typedSender = sender as RadDataBoundListBox;

            typedSender.OnCheckModeDeactivatedOnBackButtonChanged(args);
        }