Change color of thumbnail image when click an image

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
davidng
Posts: 6
Joined: Tue Jul 12, 2011 6:37 pm

Change color of thumbnail image when click an image

Post by davidng »

Hi everyone,

I have a need to change border colour of thumbnail image as follow:

1. When left-mouse click, change color of selected thumbnail to BLUE.

2. When ctrl + left-mouse click, change color of selected thumbnail to RED.

3. When NAVIGATE to a thumbnail (using LEFT/RIGHT/UP/DOWN key), change that thumbnail to BLUE

I tried using both SelectedThumbnailAppearance & FocusedThumbnailAppearance. However, it looks like the FocusedThumbNailAppearance is not working as the way I want.

Any help/suggestion is greatly appreciated.
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Change color of thumbnail image when click an image

Post by Alex »

Hello David,

FocusedThumbnailAppearance specifies how the focused thumbnail is displayed in the thumbnail viewer. You need to set value of the FocusedThumbnailAppearance.BorderColor property to Blue color.

SelectedThumbnailAppearance specifies how the selected thumbnail is displayed in the thumbnail viewer. You need to set value of the SelectedThumbnailAppearance.BorderColor property to Red color.

I'm not sure I have understood your problem, please send me screenshots and explain the problem.

Best regards, Alexander
Post Reply