Re: GalleryItem selection state

Ribbon for WPF Forum

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Owen,

Sorry but gallery items need to be selected via the GalleryBase.SelectedItem property. You cannot select items from the GalleryItem.IsSelected property.


Actipro Software Support

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Owen,

Per the other topic, I'm not sure you can bind directly to the Checked property of a command parameter since it's not directly in the element model.

In your command handler, can you just check something like the e.OriginalSource to get a GalleryItem instance and check IsSelected via that?


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.