HierarchyInfoSyncSelectionEventArgs Class

Definition

Provides data for an event that occurs when the hierarchy service synchronizes the active page to reflect selection changes in the hierarchy.

public ref class HierarchyInfoSyncSelectionEventArgs : EventArgs
public class HierarchyInfoSyncSelectionEventArgs : EventArgs
type HierarchyInfoSyncSelectionEventArgs = class
    inherit EventArgs
Public Class HierarchyInfoSyncSelectionEventArgs
Inherits EventArgs
Inheritance
HierarchyInfoSyncSelectionEventArgs

Examples

The following example implements the SyncSelection method.

public override void SyncSelection(HierarchyInfoSyncSelectionEventArgs item) {

    base.SyncSelection(item);

    if (item.PageType == typeof(DemoPage)) {
        item.HierarchyInfo = _info;
    }

}

Remarks

The SyncSelection method is called whenever the hierarchy service needs to synchronize the active page with the value of the SelectedInfo property.

Constructors

HierarchyInfoSyncSelectionEventArgs(Connection, HierarchyInfo, Type)

Initializes a new instance of the HierarchyInfoSyncSelectionEventArgs class.

Properties

Connection

Gets the connection.

HierarchyInfo

Gets or sets the hierarchy of objects in a module.

PageType

Gets the type of the page.

Applies to