Class GallerySelectedEventArgs
Provides information about the Selected event callback.
Inherited Members
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class GallerySelectedEventArgs : BaseEventArgs
Remarks
This event occurs when a gallery item has been selected, allowing for further handling of the selection.
Constructors
GallerySelectedEventArgs()
Declaration
public GallerySelectedEventArgs()
Properties
CurrentItem
Gets or sets the currently selected gallery item.
Declaration
public GalleryItem CurrentItem { get; }
Property Value
Type | Description |
---|---|
GalleryItem | An instance of GalleryItem representing the currently selected gallery item. |
Remarks
This property provides direct access to the data of the newly selected item, useful for updating the UI or other dependent logic based on the current selection.
IsInteracted
Gets or sets a value indicating whether the event is triggered via user interaction or programmatically.
Declaration
public bool IsInteracted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This property helps differentiate between user-driven and programmatically initiated events, allowing for context-specific handling.
PreviousItem
Gets or sets the previously selected gallery item.
Declaration
public GalleryItem PreviousItem { get; }
Property Value
Type | Description |
---|---|
GalleryItem | An instance of GalleryItem representing the previously selected gallery item. |
Remarks
Use this property to identify which item was selected before the current selection change, useful for scenarios where state tracking is needed between selections.