示例#1
0
 public void UnbindProperties(VirtualGridTableElement source)
 {
     int num1 = (int)this.UnbindProperty(VirtualGridViewInfo.RowHeightProperty);
     int num2 = (int)this.UnbindProperty(VirtualGridViewInfo.FilterRowHeightProperty);
     int num3 = (int)this.UnbindProperty(VirtualGridViewInfo.NewRowHeightProperty);
     int num4 = (int)this.UnbindProperty(VirtualGridViewInfo.HeaderRowHeightProperty);
 }
 private void InitializeChildTableView()
 {
     if (this.tableElement.IsRowExpanded(this.rowIndex))
     {
         if (this.childTableElement == null)
         {
             this.childTableElement = new VirtualGridTableElement(this.tableElement.GridElement, this.tableElement.GetChildViewInfo(this.rowIndex));
         }
         else
         {
             this.childTableElement.ViewInfo = this.tableElement.GetChildViewInfo(this.rowIndex);
         }
         if (this.childTableElement.Parent != this.detailsElement)
         {
             this.detailsElement.Children.Add((RadElement)this.childTableElement);
         }
         this.detailsElement.Padding    = this.childTableElement.ViewInfo.Padding;
         this.detailsElement.Visibility = ElementVisibility.Visible;
     }
     else
     {
         if (this.childTableElement == null || this.childTableElement.Parent != this.detailsElement)
         {
             return;
         }
         this.detailsElement.Children.Remove((RadElement)this.childTableElement);
         this.detailsElement.Visibility = ElementVisibility.Collapsed;
     }
 }
示例#3
0
 public void BindProperties(VirtualGridTableElement source)
 {
     int num1 = (int)this.BindProperty(VirtualGridViewInfo.RowHeightProperty, (RadObject)source, VirtualGridTableElement.RowHeightProperty, PropertyBindingOptions.TwoWay);
     int num2 = (int)this.BindProperty(VirtualGridViewInfo.FilterRowHeightProperty, (RadObject)source, VirtualGridTableElement.FilterRowHeightProperty, PropertyBindingOptions.TwoWay);
     int num3 = (int)this.BindProperty(VirtualGridViewInfo.NewRowHeightProperty, (RadObject)source, VirtualGridTableElement.NewRowHeightProperty, PropertyBindingOptions.TwoWay);
     int num4 = (int)this.BindProperty(VirtualGridViewInfo.HeaderRowHeightProperty, (RadObject)source, VirtualGridTableElement.HeaderRowHeightProperty, PropertyBindingOptions.TwoWay);
 }
 public virtual void Initialize(VirtualGridTableElement tableElement)
 {
     this.tableElement = tableElement;
     this.scrollableColumns.DataProvider    = (IEnumerable)tableElement.ColumnScroller;
     this.scrollableColumns.ElementProvider = tableElement.ColumnScroller.ElementProvider;
     this.UpdateCellSpacing();
 }
 public VirtualGridPagingPanelElement(
     VirtualGridTableElement gridViewElement,
     VirtualGridViewInfo viewInfo)
 {
     this.gridViewElement = gridViewElement;
     this.viewInfo        = viewInfo;
     this.UpdateVisibility();
 }
示例#6
0
 public VirtualRowsElementProvider(VirtualGridTableElement owner)
 {
     this.owner = owner;
 }
 public void Initialize(VirtualGridTableElement tableElement)
 {
     this.tableElement = tableElement;
 }
示例#8
0
 public virtual void Initialize(VirtualGridTableElement owner)
 {
     this.tableElement = owner;
 }