Exemple #1
0
        public ThumbnailView()
        {
            this.IsEnabled = true;
            this.IsActive  = false;

            this.IsOverlayEnabled  = false;
            this._isThumbnailSetUp = false;
            this._isOverlayVisible = false;

            this._isPositionChanged = true;
            this._isSizeChanged     = true;

            this._suppressResizeEventsTimestamp = DateTime.UtcNow;

            InitializeComponent();

            this._overlay = new ThumbnailOverlay(this, this.ThumbnailActivated_Handler);
        }
        public ThumbnailView()
        {
            this.IsEnabled = true;
            this.IsActive  = false;

            this.IsOverlayEnabled  = false;
            this._isThumbnailSetUp = false;
            this._isOverlayVisible = false;
            this._isTopMost        = false;

            this._isPositionChanged       = true;
            this._isSizeChanged           = true;
            this._isCustomMouseModeActive = false;

            this._isHighlightEnabled = false;

            this._suppressResizeEventsTimestamp = DateTime.UtcNow;

            InitializeComponent();

            this._overlay = new ThumbnailOverlay(this, this.MouseDown_Handler);
        }