New to Telerik UI for WinForms? Start a free 30-day trial

Opens a zoom popup when the gallery item observed by this behavior becomes hovered.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GalleryMouseOverBehavior : PropertyChangeBehavior

Inheritance: objectPropertyChangeBehaviorGalleryMouseOverBehavior

Inherited Members PropertyChangeBehavior.BehaviorRemoving(RadElement)PropertyChangeBehavior.Property

Constructors

Creates a hover behavior that closes the owning gallery's drop-down when the zoom popup is clicked.

C#
public GalleryMouseOverBehavior(RadGalleryElement gallery)
Parameters:galleryRadGalleryElement

The gallery that owns the item and its drop-down.

Properties

Gets whether the item's hover-zoom popup has been opened and not yet closed.

C#
public bool IsPopupShown { get; }

Methods

Hides the hover-zoom popup when it is visible.

C#
public void ClosePopup()

Opens a 1.5x zoom popup when the observed item enters its mouse-over state and no popup is already shown.

C#
public override void OnPropertyChange(RadElement element, RadPropertyChangedEventArgs e)
Parameters:elementRadElement

The gallery item whose property changed.

eRadPropertyChangedEventArgs

The property-change data for the observed mouse-over state.

Overrides: PropertyChangeBehavior.OnPropertyChange(RadElement, RadPropertyChangedEventArgs)