alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GallerySelectedEventArgs

    Provides information about the Selected event callback.

    Inheritance
    object
    GallerySelectedEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GallerySelectedEventArgs
    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
    bool

    true if triggered by user interaction; otherwise, false. The default value is false.

    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved