Beispiel #1
0
 public ListViewHeaderRowAccessibleObject(
     DetailListViewColumnContainer row,
     RadListViewElement owner)
 {
     this.row   = row;
     this.owner = owner;
 }
 protected override void CreateChildElements()
 {
     base.CreateChildElements();
     this.cellContainer = new DetailListViewColumnContainer();
     this.cellContainer.StretchHorizontally = true;
     this.cellContainer.StretchVertically   = true;
     this.cellContainer.Orientation         = Orientation.Horizontal;
     this.cellContainer.ElementProvider     = (IVirtualizedElementProvider <ListViewDetailColumn>) new DetailListViewDataCellElementProvider(this);
     this.Children.Add((RadElement)this.cellContainer);
 }
        protected override void CreateChildElements()
        {
            base.CreateChildElements();

            this.cellContainer = new DetailListViewColumnContainer();
            this.cellContainer.StretchHorizontally = true;
            this.cellContainer.StretchVertically   = true;
            this.cellContainer.Orientation         = System.Windows.Forms.Orientation.Horizontal;
            this.cellContainer.ElementProvider     = new DetailListViewDataCellElementProvider(this);
            this.Children.Add(cellContainer);
        }
Beispiel #4
0
 protected override void CreateChildElements()
 {
     base.CreateChildElements();
     this.columnContainer = new DetailListViewColumnContainer(this);
     this.columnContainer.StretchHorizontally = true;
     this.columnContainer.StretchVertically   = true;
     this.columnContainer.Orientation         = Orientation.Horizontal;
     this.columnContainer.ElementProvider     = (IVirtualizedElementProvider <ListViewDetailColumn>) new DetailListViewHeaderCellElementProvider();
     this.Children.Add((RadElement)this.columnContainer);
     this.columnsScrollBar                  = new RadScrollBarElement();
     this.columnsScrollBar.ScrollType       = ScrollType.Horizontal;
     this.columnsScrollBar.MinSize          = new Size(0, RadScrollBarElement.HorizontalScrollBarHeight);
     this.columnsScrollBar.ScrollTimerDelay = 1;
     this.Children.Add((RadElement)this.columnsScrollBar);
     this.columnScroller                 = new DetailListViewColumnScroller();
     this.columnScroller.ScrollMode      = ItemScrollerScrollModes.Smooth;
     this.columnScroller.ElementProvider = this.columnContainer.ElementProvider;
     this.columnScroller.Scrollbar       = this.columnsScrollBar;
 }