Exemplo n.º 1
0
        public SPListView(Spider.Skinning.Style stylesheet, SpiderHost host)
        {
            this.Host = host;
            InitializeComponent();
            this.Items = new List<SPListItem>();

            this.stylesheet = stylesheet;
            this.SelectedBlock = (Block)stylesheet.Blocks["::selection"].Clone();
            this.Block = (Block)stylesheet.Blocks["ListView"].Clone();
            this.AllowDrop = true;
            this.DragEnter += SPListView_DragEnter;
            this.DragOver += SPListView_DragOver;
            this.DragDrop += SPListView_DragDrop;
            this.MouseMove +=SPListView_MouseMove;
        }
Exemplo n.º 2
0
 public Control(AppHeader host, String cssClass, Rectangle Position)
 {
     this.Stylesheet = host.Stylesheet;
     this.Position = Position;
     this.CssClass = cssClass;
 }