public VirtualGridRowElementEventArgs( VirtualGridRowElement rowElement, VirtualGridViewInfo viewInfo) : base(viewInfo) { this.rowElement = rowElement; }
void expandTimer_Tick(object sender, EventArgs e) { expandTimer.Stop(); viewInfoToExpand.StopRowWaiting(rowToExpand); viewInfoToExpand.ExpandRow(rowToExpand); viewInfoToExpand = null; }
public object GetCellValue(object value, int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) { VirtualGridCellValueNeededEventArgs args = new VirtualGridCellValueNeededEventArgs(rowIndex, columnIndex, viewInfo); this.OnCellValueNeeded(args); return(args.Value); }
public VirtualGridCellElementEventArgs( VirtualGridCellElement cellElement, VirtualGridViewInfo viewInfo) : base(viewInfo) { this.cellElement = cellElement; }
public VirtualGridCellValueNeededEventArgs( int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) : base(rowIndex, columnIndex, viewInfo) { }
public VirtualGridViewInfoPropertyChangedEventArgs( VirtualGridViewInfo viewInfo, string propertyName) : base(viewInfo) { this.propertyName = propertyName; }
public VirtualGridRowExpandingEventArgs( int rowIndex, VirtualGridViewInfo childViewInfo, VirtualGridViewInfo viewInfo) : base(rowIndex, childViewInfo, viewInfo) { }
public VirtualGridRowExpandedEventArgs( int rowIndex, VirtualGridViewInfo childViewInfo, VirtualGridViewInfo viewInfo) : base(rowIndex, viewInfo) { this.childViewInfo = childViewInfo; }
public VirtualGridContextMenuOpeningEventArgs( int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo, RadDropDownMenu contextMenu) : base(rowIndex, columnIndex, viewInfo) { this.contextMenu = contextMenu; }
public VirtualGridCellValidatingEventArgs( int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo, object newValue) : base(rowIndex, columnIndex, viewInfo) { this.newValue = newValue; }
public VirtualGridCellEditorInitializedEventArgs( IInputEditor activeEditor, int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) : base(rowIndex, columnIndex, viewInfo) { this.activeEditor = activeEditor; }
public VirtualGridSelectionChangingEventArgs( VirtualGridSelectionAction selectionAction, int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) : base(rowIndex, columnIndex, viewInfo) { this.selectionAction = selectionAction; }
public VirtualGridCellValuePushedEventArgs( object value, int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) : base(rowIndex, columnIndex, viewInfo) { this.value = value; }
public VirtualGridEditorRequiredEventArgs( IInputEditor editor, int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) : base(rowIndex, columnIndex, viewInfo) { this.editor = editor; }
public VirtualGridColumnWidthChangingEventArgs( int columnIndex, int oldWidth, int newWidth, VirtualGridViewInfo viewInfo) : base(columnIndex, viewInfo) { this.newWidth = newWidth; this.oldWidth = oldWidth; }
public VirtualGridRowHeightChangingEventArgs( int rowIndex, int oldHeight, int newHeight, VirtualGridViewInfo viewInfo) : base(rowIndex, viewInfo) { this.newHeight = newHeight; this.oldHeight = oldHeight; }
public SelectionRegion( int top, int left, int bottom, int right, VirtualGridViewInfo viewInfo) { this = new SelectionRegion(); this.Top = top; this.Left = left; this.Bottom = bottom; this.Right = right; this.ViewInfo = viewInfo; }
private void radVirtualGrid1_RowExpanding(object sender, Telerik.WinControls.UI.VirtualGridRowExpandingEventArgs e) { if (viewInfoToExpand == null) { e.Cancel = true; e.ViewInfo.StartRowWaiting(e.RowIndex); viewInfoToExpand = e.ViewInfo; rowToExpand = e.RowIndex; expandTimer.Start(); } else { if (rowToExpand != e.RowIndex) { e.Cancel = true; } else { if (e.ChildViewInfo.HierarchyLevel == 2) { e.ChildViewInfo.ColumnCount = DetailsWorkerInProjects.FieldNames.Length; e.ChildViewInfo.RowCount = treeTables[e.ViewInfo.ParentRowIndex].DetailsWorkerInProjects.Count; } // else if (e.ChildViewInfo.HierarchyLevel == 1) { e.ChildViewInfo.ColumnCount = 4; e.ChildViewInfo.RowCount = 3; } else if (e.ChildViewInfo.HierarchyLevel == 3) { e.ChildViewInfo.ColumnCount = 2; e.ChildViewInfo.RowCount = 3; } else { e.ChildViewInfo.ColumnCount = 0; e.ChildViewInfo.RowCount = 0; } } } }
public VirtualGridRowEventArgs(int rowIndex, VirtualGridViewInfo viewInfo) : base(viewInfo) { this.rowIndex = rowIndex; }
public VirtualGridCellInfo(int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) { this.rowIndex = rowIndex; this.columnIndex = columnIndex; this.viewInfo = viewInfo; }
public VirtualGridColumnEventArgs(int columnIndex, VirtualGridViewInfo viewInfo) : base(viewInfo) { this.columnIndex = columnIndex; }
public VirtualGridQueryHasChildRowsEventArgs(int rowIndex, VirtualGridViewInfo viewInfo) : base(rowIndex, viewInfo) { }
public VirtualGridCellEventArgs(int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo) : base(viewInfo) { this.rowIndex = rowIndex; this.columnIndex = columnIndex; }
public VirtualGridRowValidatingEventArgs(int rowIndex, VirtualGridViewInfo viewInfo) : base(rowIndex, viewInfo) { }