NGalleryItem


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Daniel,

You can set gradient as a background to the NGalleryItem but all items in one NGalleryPanel will be with same gradient settings.
However, you can change them on different states of the items.
You can do that by setting the appropriate values for the NGalleryPanel Palette that hosts the items.
Please, take a look at the following code snipped:

nGalleryPanel1.Palette.HighlightLight = Color1;
nGalleryPanel1.Palette.HighlightDark = Color2;
nGalleryPanel1.Palette.PressedDark = Color3;
nGalleryPanel1.Palette.PressedLight = Color4;
nGalleryPanel1.Palette.CheckedDark = Color5;
nGalleryPanel1.Palette.CheckedLight = Color6;


Best Regards,
Nevron Support Team


Daniel Almeida
Daniel Almeida
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 1
Hi again !!

Ok, But I'd like put on a gradient effect as background, is it possible to do it with the NGalleryItem?? if yes, how can i do it ? or is there another control to do it?? Because I need the background be diffirent for each item. Please see the image attached !!



Attachments
image1.png (211 views, 39.00 KB)
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Daniel,

You cannot set an image as background of NGalleryItem.
You can only set an Image and ImageSize to the item's Label property.
Please, check Thumbnail Preview example from UI examples application that comes with the installation.


Best Regards,
Nevron Support Team


Daniel Almeida
Daniel Almeida
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 1
Hello Friends !!

How do I do to insert a background image on NGalleryItem ??

I try this: item.Label.Style.Background = Image. But it wasn't work !!

Could you help me??
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search