Exemplo 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();
        }
Exemplo 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();
     }
 }
Exemplo n.º 3
0
 public override void UnregisterHostedControl(RadHostItem hostElement, bool removeControl)
 {
     //No hosted controls are added
 }
Exemplo n.º 4
0
 public override void RegisterHostedControl(RadHostItem hostElement)
 {
     //No need to add hosted controls for measurement
 }
Exemplo n.º 5
0
 public override void UnregisterHostedControl(RadHostItem hostElement, bool removeControl)
 {
 }
Exemplo n.º 6
0
 public override void RegisterHostedControl(RadHostItem hostElement)
 {
 }