Ejemplo n.º 1
0
        protected virtual void ChangeSelection(RadItem nextItem)
        {
            if (nextItem == null)
            {
                return;
            }
            RadHostItem radHostItem = nextItem as RadHostItem;

            if (this.ContainsFocus && !this.Focused)
            {
                this.Focus();
            }
            if (radHostItem == null)
            {
                return;
            }
            radHostItem.HostedControl.Select();
            radHostItem.HostedControl.Focus();
        }
Ejemplo n.º 2
0
 protected virtual void ChangeSelection(RadItem nextItem)
 {
     if (nextItem != null)
     {
         RadHostItem host1 = nextItem as RadHostItem;
         if (base.ContainsFocus && !this.Focused)
         {
             this.Focus();
             if (host1 == null)
             {
                 //this.KeyboardActive = true;
             }
         }
         if (host1 != null)
         {
             host1.HostedControl.Select();
             host1.HostedControl.Focus();
         }
         //nextItem.Select();
     }
 }
Ejemplo n.º 3
0
 public override void UnregisterHostedControl(RadHostItem hostElement, bool removeControl)
 {
     //No hosted controls are added
 }
Ejemplo n.º 4
0
 public override void RegisterHostedControl(RadHostItem hostElement)
 {
     //No need to add hosted controls for measurement
 }
Ejemplo n.º 5
0
 public override void UnregisterHostedControl(RadHostItem hostElement, bool removeControl)
 {
 }
Ejemplo n.º 6
0
 public override void RegisterHostedControl(RadHostItem hostElement)
 {
 }