Example #1
0
        public override void Assign(RepositoryItem item)
        {
            base.Assign(item);
            RepositoryItemImageTextEdit source = item as RepositoryItemImageTextEdit;

            Events.AddHandler(_iconClick, source.Events[_iconClick]);
            Events.AddHandler(_onIconSelection, source.Events[_onIconSelection]);
            this.imageList      = source.ImageList;
            this.imageIndex     = source.ImageIndex;
            this.imageAlignment = source.imageAlignment;
        }
Example #2
0
 static ImageTextEdit()
 {
     RepositoryItemImageTextEdit.RegisterCustomIconTextEdit();
 }