DiagramControl.ContainerIsCollapsedChanging Event

Occurs when the container's collapsed state is being changed.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll


public event EventHandler<DiagramContainerIsCollapsedChangingEventArgs> ContainerIsCollapsedChanging
Public Event ContainerIsCollapsedChanging As EventHandler(Of DiagramContainerIsCollapsedChangingEventArgs)

Event Data

The ContainerIsCollapsedChanging event's data class is DiagramContainerIsCollapsedChangingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets whether the event should be canceled. Inherited from CancelRoutedEventArgs.
Container The container item whose IsCollapsed property value is being changed.
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
NewValue The new value of the IsCollapsed property.
OldValue The previous value of the IsCollapsed property.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.
See Also