Пример #1
0
 public VirtualGridViewInfo(VirtualGridViewInfo parentViewInfo, int parentRowIndex)
 {
     this.gridElement    = parentViewInfo.gridElement;
     this.parentRowIndex = parentRowIndex;
     this.parentViewInfo = parentViewInfo;
     this.InitializeViewInfo();
 }
Пример #2
0
 public VirtualGridTableElement(RadVirtualGridElement gridElement, VirtualGridViewInfo viewInfo)
 {
     this.gridElement = gridElement;
     this.viewInfo    = viewInfo;
     this.viewInfo.PropertyChanged += new PropertyChangedEventHandler(this.OnViewInfoPropertyChanged);
     this.viewInfo.BindProperties(this);
     this.UpdateOnViewInfoChanged();
     this.ColumnLayout = (BaseVirtualGridColumnLayout) new StandardVirtualGridColumnLayout();
 }
Пример #3
0
 public virtual void OnKeyDown(KeyEventArgs keyEventArgs)
 {
     if (this.OwnerElement == null || !this.OwnerElement.IsInValidState(true))
     {
         return;
     }
     if (this.virtualGridElement == null)
     {
         this.virtualGridElement = this.OwnerElement.ElementTree.RootElement.FindDescendant <RadVirtualGridElement>();
     }
     if (this.virtualGridElement == null)
     {
         return;
     }
     keyEventArgs.Handled = this.virtualGridElement.InputBehavior.HandleKeyDown(keyEventArgs);
 }
Пример #4
0
 private void ProcessKeyDown(KeyEventArgs e)
 {
     if (this.OwnerElement == null || !this.OwnerElement.IsInValidState(true))
     {
         return;
     }
     if (this.virtualGridElement == null)
     {
         this.virtualGridElement = this.OwnerElement.ElementTree.RootElement.FindDescendant <RadVirtualGridElement>();
     }
     if (this.virtualGridElement == null)
     {
         return;
     }
     e.Handled = this.virtualGridElement.InputBehavior.HandleKeyDown(e);
 }
Пример #5
0
 public VirtualGridViewInfo(RadVirtualGridElement gridElement)
 {
     this.gridElement = gridElement;
     this.InitializeViewInfo();
 }
Пример #6
0
 public VirtualGridContextMenu(RadVirtualGridElement gridElement)
 {
     this.gridElement = gridElement;
 }