New to Telerik UI for WinFormsStart a free 30-day trial

Represents event data for the following events: ItemVisiblityStateChanging

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ItemVisiblityStateChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsItemVisiblityStateChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Creats a new instance of the ItemVisiblityStateChangingEventArgs class.

C#
public ItemVisiblityStateChangingEventArgs(bool isExpanding, ChunkVisibilityState nextVisibilityState)
Parameters:isExpandingbool

Indicates whether the item is being expanded or collapsed.

nextVisibilityStateChunkVisibilityState

The new visibility state which will be used with the item.

Properties

Get whether the item is being expanded or collapsed.

C#
public bool IsExpanding { get; }

Gets the new visibility state to be used with the item.

C#
public ChunkVisibilityState NextVisibilityState { get; }