コード例 #1
0
        protected virtual RadStackViewport CreateCommandsStackViewport()
        {
            RadStackViewport radStackViewport = new RadStackViewport();

            radStackViewport.Orientation = Orientation.Vertical;
            return(radStackViewport);
        }
コード例 #2
0
 protected override void CreateChildElements()
 {
     base.CreateChildElements();
     this.topCommandsStackElement = this.CraeteTopCommandsStackElement();
     this.commandsStackViewport   = this.CreateCommandsStackViewport();
     this.scrollViewer            = this.CreateScrollViewer();
     this.commandsStackViewport.Children.Add((RadElement)this.topCommandsStackElement);
     this.scrollViewer.Viewport = (RadElement)this.commandsStackViewport;
     this.Children.Add((RadElement)this.scrollViewer);
     this.CreateTopCommands();
     this.CreateCommands();
 }